svenh.

How to create an Shapefile on ArcGIS Server side?

Discussion created by svenh. on Nov 26, 2012
Latest reply on Nov 26, 2012 by curtvprice
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
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

Outcomes