Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

How to create an Shapefile on ArcGIS Server side?

$
0
0
Hi all,

I am developing a script which gets an JSON array with point coordinates. This array is encoded to a python dictionary. From this I filter all points (latitude and longitude) and an ID. This coordinates are converted into arcpy-points by using arcpy.Point(). Now in a next step I want to create a shapefile of these points by using
Code:

arcpy.CopyFeatures_management(ptList, r"pointTemp.shp")
.

My question is how to store this shapefile into a folder which is located on ArcGIS Server side. Do I have to give the skript a special path or location?

One folder that is on ArcGIS Server side in my case is "C:\temp", I have full read and wright rights, but the script doesn´t create the shapefile in this folder. If I run the script local on my pc, all works fine and the shape is created and stored locally on "C:\temp".

Any suggestions or tips?

Thanks!
Sven

Viewing all articles
Browse latest Browse all 2485

Trending Articles