Select to view content in your preferred language

Intersect or Identify Widget

1079
4
10-15-2012 06:14 AM
HERSHSINGH
Deactivated User
Hello,

I am wondering if anyone knows of a widget (or another way to do this) that can perform an intersect.  More specifically, I want the user to be able to click on a political boundary (polygon) and have a pop up that returns the assets (points) that fall within each boundary.  Anyone have any ideas?

Thanks!
Tags (2)
0 Kudos
4 Replies
DougBrowning
MVP Esteemed Contributor
When I was watching the User Conference they talked a little about new advanced query commands in 10.1 that could do this.  You sent a query and in it told it to sum values based on a polygon.  That is all I know about it.
0 Kudos
RhettZufelt
MVP Notable Contributor
Not sure if it helps you, but the eSearch and Selection widgets have an option for selecting/searching by location (find all points that fall within polygon, etc).

R_
0 Kudos
HERSHSINGH
Deactivated User
That does help.  The eSearch widget is great but it is a little too complex to use for my intended audience.  The intended audience for this is not familiar with mapping and I want to make it as easy as possible.  How could I perform this task using the Search widget?  I looked into it for a bit this morning but I can not figure out how I would go about doing so.  I need to do exactly what you said "selecting/searching by location (find all points that fall within polygon"...

Thanks again for the help.
0 Kudos
RhettZufelt
MVP Notable Contributor
Looks like the eSearch widget will let you select a sub-set of pre-selected entities by feature layer, and the selection widget will let you select all features in one layer that intersect another.
However, if it falls within ANY features in the intersect layer, it will be selected.  Does not appear to only find features that intersect the "selected" polygon.

Since you didn't say if you were using compiled or uncompiled and were asking " (or another way to do this) " I thought maybe you were interested in some coding to do this.  Thought you might be able to glean some of the select by extent/graphic information from one of these widgets.  Maybe have a definitionexpression or where clause attached to your widget that only loads the "selected" polygon and passes that to the selection widget code.  Not sure how to do it or if this would work for you, just tossing out some "ideas".

R_
0 Kudos