0

We would like to have a published web service with capabilities to allow geoprocessing operations (consume feature data) - select tool (e.g. select by attributes) - on the service when we view/open it in ArcMap as lyr file, but only allowing query the data and not the download/export of it. Different web service capabilities (Mapping, Feature Access) were tried without success. How can we do it?

1

The only way I think you can do this in ArcMap with web layers would be to create custom Add-Ins or script tools. MapServices support a query operation (which includes attribute and spatial queries), but this has to be done through HTTP protocol (through the REST API, or as SOAP which is how services in ArcMap are handled).

It is also worth noting that you cannot directly "select" the web service layers. Instead, any results from a query operation will be returned as a FeatureSet, which is a JSON representation of the features so you would have to handle adding this in as a map layer. This is a more common workflow in a web GIS application where the JavaScript API is used to query and render the results.

Python is an excellent way to perform query tasks against REST endpoints. However, that being said it seems like more work than it is worth if you just want to be able to query and select records. This is not really what map services were designed for, they were meant to be consumed in the web.

0

@crmackey you are certainly right with your solution how to deal with webservices requests using standards, thanks!

Later we found what we need using an ArcGIS GUI way: Having the webservice published with Feature access capability we add in ArcCatalog a GIS server connection to Use GIS services and then added Feature data to the TOC in ArcMap.

0

The ArcGIS Online Webapp Builder is something for you. You can read all about it over here: http://doc.arcgis.com/en/web-appbuilder/

Here is some more information about analysis in ArcGIS Online: http://www.esri.com/esri-news/arcwatch/0813/perform-gis-analysis-in-the-cloud-with-arcgis-online

0

It is possible consuming the feature service in ArcMap limited to query the data (e.g. select by attributes) but not allowing the download/export/save of it?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.