Select to view content in your preferred language

Attribute Query(Samples) - Performing similar operation to a "Table" with Zoom to fun

571
2
02-09-2012 04:34 AM
srikanthpilli
Emerging Contributor
Hello,

Can we perform attribute query to a "Table" published as a service - similar to the one in samples,  provided that the table has all UTM co-ordiantes populated for each row.?

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery.


Appreaciate for taking you time and providing your suggestions.


Thanks!
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Sure you can use the table URL as your QueryTask.URL, this should return you Attributes but no Geometry would be returned. If Geometry is an Attribute or Field in your table, then you can still zoom to this location. For example
MyMap.ZoomTo(g.Attributes["MyLocation"] as Polygon);
0 Kudos
srikanthpilli
Emerging Contributor
Sure you can use the table URL as your QueryTask.URL, this should return you Attributes but no Geometry would be returned. If Geometry is an Attribute or Field in your table, then you can still zoom to this location. For example
MyMap.ZoomTo(g.Attributes["MyLocation"] as Polygon);



Thank you, Jennifer for taking time to give your inputs on it.
0 Kudos