Exclude some of a layer's features from Identify and Search operations
I have a parcels layer that covers a large region and includes data both within and outside of municipal boundaries. I need to display all the features on the map but somehow limit identify and search operations to parcels that fall outside of the municipal boundaries.
We solved this issue in our old Silverlight viewer using a custom module that was developed before my time. There are several attributes in the data I can use to filter out the information I need. I'd also like to show users some kind of message indicating they need to contact the respective municipality if they accidentially click on a parcel within that municipality. Any thoughts on how I can acheive this without managing 2 seperate datasets? I haven't upgraded to the newest version yet (still on GE 4.4.2 and GVH 2.5.2) but plan to in the next week or so, in case that's of consequence.
0
-
I think using your existing setup would require something custom.
Two alternatives:
Republish the service with separate layers for each parcelset using definition queries. You can still keep a single dataset, but it would appear as two features in the service and be treated as such in the viewer. You could even add a third that includes everything, if you need that for anything.
Another option would be adding the service to the viewer twice and apply Filter Worklfows to them, one for your parcels and one to the other.
Maybe try them both and see what performs better.0 -
Excellent suggestion Dan, thanks! 0
Please sign in to leave a comment.
Comments
2 comments