Select to view content in your preferred language

Query Definition

3268
2
01-12-2011 01:14 PM
JeffCronce
Deactivated User
Hello All,

Here is my task: I need to generate a map service that depicts soil sample locations throughout the state. I need to show these locations to individual county officials. However, I don't want one county official viewing other counties. It would be nice to generate one serivce with the ability to mask counties. Is this possible with ArcGIS Server 9.3.1? I really don't want to create 30+ services for the entire state.

Thanks,
0 Kudos
2 Replies
StefanP__Jung
Deactivated User
How do you consume the Service? JavaScript/Flex or Silverlight Client?

Are you exporting a image for overlaying a basemap from this service? For example using it as Dynamic Service? In this case i dont think there is a solution to apply a definition query to export image for 1 Country via REST API. Because the REST API is stateless but changing a definition query would be statefull.

If you only get the data from the REST API (Geometry + Attributes) you could render the data for on client side. In this case you can apply a query for only receiving the data for one country.

Maybe you could also write your own Sever Object Extension which is exported to the REST API?! Not sure about this.

Stefan
0 Kudos
RaviNarayanan
Esri Contributor
0 Kudos