ult1m0

Exporting an exact bounding box of a map or image

Discussion created by ult1m0 on Aug 22, 2011
Latest reply on Aug 22, 2011 by tcontreras-esristaff
I would like to export a precise bounding box of a map.  The REST API provides a bbox parameter, but it seems to always adjust my extent slightly.  For instance in the URL example below I am providing a bbox of:

XMin = -9770000
XMax = -9590000
YMin = 5100000
YMax = 5400000

The image has the correct YMin and YMax, but I get an XMin of -9830000 and XMax of -9530000.

http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer/export?bbox=-9770000%2C5100000%2C-9590000%2C5400000&bboxSR=&layers=&layerdefs=&size=&imageSR=&format=png&transparent=false&dpi=&time=&layerTimeOptions=&f=html

Is there any way to get the exact bounding box that I want?

Outcomes