Whats Wrong With This request?

2550
2
04-15-2010 12:09 PM
JasonHarris2
New Contributor III
http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export?dpi=96&...{%22xmin%22%3A-109.055861145%2C%22ymin%22%3A35.48685774355%2C%22xmax%22%3A-102.037207595%2C%22ymax%22%3A42.50551129350005%2C%22spatialReference%22%3A{%22wkid%22%3A4326}}&bboxSR=4326&imageSR=4326&size=200%2C200&f=html

You'll see that it does in fact produce the map correctly, but the bbox input isnt being populated correctly. If I do a f=image this request fails, but with f=html it at least creates the image but then appears to fail when populating the bbox input.

Any ideas?
0 Kudos
2 Replies
KeyurShah
New Contributor
Looks like a services directory bug wherein it does not correctly escape the form field values.

But instead of submitting the form with f=image, if you were to try the same URL from the browser's location bar while just changing the f parameter, it works as expected:

Short URL: http://esriurl.com/image

Original URL
0 Kudos
by Anonymous User
Not applicable
Original User: ravi

Yes, this is a bug in Services Directory where the envelope(in json format) gets cutoff when displayed in the bounding box. This is fixed in 10 Final.

Ravi
0 Kudos