Tag Info

New answers tagged

3

Try this: curl -v -u admin:geoserver -XDELETE http://localhost:8080/geoserver/rest/my_ws/coveragestores/my_cover?recurse=true You have a space between -X and DELETE Example can be seen at the REST API Docs curl -v -u admin:geoserver -XDELETE ...


0

Read the API-description: http://resources.arcgis.com/en/help/rest/apiref/ Have a look at the geometry service interface. If you don't have access to your own geometry service, you could use esri's at http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer If you have access to your own ArcGIS server but don't have a geometry ...


0

This information is limited, so I'm going to assume you're talking about point data. If you control the API and want to keep it RESTFUL then you should add an additional mime type "application/vnd.geo+json" which returns geojson. I'm guessing by the name of the resource GridMapSquareResource that is can except a bounding box and only return points within ...


0

Ok, I figured out how to do this. As Stefan suggested, I had to add a couple of parameters to the URL: geometry (value = e.g. 639739.5,7598259.3) geometryType (value = esriGeometryPoint) spatialRel (value = esriSpatialRelWithin) Here is an example call: ...


0

Take a look at the documentation http://resources.arcgis.com/en/help/rest/apiref/ You're probably looking for the mapservice or feature service query operation. Set the geometry and spatialRel parameters. The geometry would be your points or lines.



Top 50 recent answers are included