Export image with higlighted geometry on image - rest or web.adf

569
1
06-27-2011 02:34 AM
DarkoRadiceski
New Contributor II
Hi all,

I was wondering if anyone can advise on a best approach here.

I have a object id known. Using that object ID i can identify the parcel and get the geometry back. Using the geometry i can get the centroid of the geometry and then calculate the BBOX and do an image export. Most of this i can place in a handler and do through rest calls.

So far i have:
1. Use identify rest call to get geometry
2  Get the geometry and from that find centroid
3  From the point construct BBOX
4  Do an image export call knowing BBOX

The idea of this is to be able to call this from an external application that is only interested in the image of the parcel.

However i am not sure how would i highlight the parcel by knowing the geometry on the image.

Any advice?

Do i need to revert to using WebADF calls? or do i have a better option? I dont think javascript will do since i need to return back an image to the calling application or image bytes.

Sincerely
Dan
0 Kudos
1 Reply
RaviNarayanan
Esri Contributor
Dan,

Here is an example that shows drawing the selection on the client side.
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_selectfeatures.html

ExportMap via REST does not support rendering of selected features.

Ravi
0 Kudos