First of all, I am very new to the GIS world, so bear with me if the question is stupid.
I am using ArcGIS and here's what I try to accomplish:
I have a feature class (let's call it Areas) storing polygons with some extra data (name, id etc). If I create a layer and publish this as a MapService, I can use it in my .NET application (or in the browser via REST) to display a layer containing all the Areas. In my app, I can even do filtering (with LayerDefinitions) to only display a certain area at a time.
What I would like to do is (within the ArcGIS server, so that it is reflected on all clients) have one layer for each of the Areas in the feature table.
So the REST directory in a browser would display:
Layers:
- Areas
- Area 1
- Area 2
- Area 3
And I would be able to see the same structure in a TOC and control visibility on/off on each of the Areas.
The "projection" of turning every feature into a separate layer must be dynamic, so that if I add another Area, it would automatically become a new layer (IE no configuration or republishing the MapService).
Is this possible within ArcMap? Can I code it in Python and have it run inside the MapService somehow? Do I have to write a SOE ? Or isn't it possible at all (only on the client side)?
Thanks in advance, for any guidance on this issue.
/Tormod
Aucun commentaire:
Enregistrer un commentaire