anaish

ArcGIS Server Export Map REST service not working as expected

Discussion created by anaish on Sep 27, 2010
Latest reply on Aug 29, 2013 by shredder91
Hello, I am currently testing the ArcGIS Server Export Map functionality on the ESRI ArcGIS 10 sample servers and it appears as though the service does not operate as I expected.

Basically I am attempting to export one feature (STATE_FIPS='20') on one layer (layer Id 5), along with all the features on another layer (layer id 2) to png format. I am able to show both of the layers, however the layer definition I attempt to apply to layer Id 5 seems to go unnoticed by the server �?? all features are returned for *both* layers instead of just the single state with id 20.

Clicking on the following link will show the parameters that I am using to make the request:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/export?bbox=-185.337909350544,-19.11255617006,-59.5254875059344,108.400033537315&bboxSR=4269&layers=show:5,2&layerdefs=STATE_FIPS%3D'20'&size=&imageSR=4269&format=png&transparent=false&dpi=&f=html

Any help appreciated

Thanks

Outcomes