gcorradini

MapServer Export param 'Layers' Send Back All Data

Discussion created by gcorradini on Oct 17, 2011
Latest reply on Oct 19, 2011 by svinnakota-esristaff
Hello,
I'm using the service and trying to get at only certain layers through the *export* operation:


http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/TaxParcel/AssessorsBasemap/MapServer


I only really want to see the TaxParcels (layerid 0) and not the BaseMap (layerid 2). But when I specify that in the Layers parameter I still get back everything:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/TaxParcel/AssessorsBasemap/MapServer/export?bbox=-83.3136869761022%2C42.5570588526199%2C-83.3023705323607%2C42.5683752963614&bboxSR=&layers=0&layerdefs=&size=&imageSR=&format=png&transparent=false&dpi=&time=&layerTimeOptions=&f=html

Is this normal behavior? Cause I've noticed this behavior in everything I tried on the example servers.

This post was previously posted here:
http://forums.arcgis.com/threads/41019-Get-Layers-From-IDS-Export-Operation

Outcomes