For the purpose of saving the data locally from a feature server online I have written code below:
import arcpy fcout = r'C:\Forum\Hydrants\test01.shp' url = 'http://gisweb.wsscwater.com/ArcGIS/rest/services/FireHydrant/FireBook/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=1%3D1&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=*&f=pjson' fs = arcpy.FeatureSet() fs.load(url) arcpy.CopyFeatures_management(fs, fcout) However only returns 1000 - there are 40000 data points, how would I create a shape file for the each of the other data points?
أكثر...
import arcpy fcout = r'C:\Forum\Hydrants\test01.shp' url = 'http://gisweb.wsscwater.com/ArcGIS/rest/services/FireHydrant/FireBook/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=1%3D1&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=*&f=pjson' fs = arcpy.FeatureSet() fs.load(url) arcpy.CopyFeatures_management(fs, fcout) However only returns 1000 - there are 40000 data points, how would I create a shape file for the each of the other data points?
أكثر...