Select to view content in your preferred language

"seperateImage" misspelling in generateKml request

397
0
09-06-2013 02:03 PM
BryanBaker
Regular Contributor
The REST API documentation under "Generate KML" has this sample request to generate a KML/KMZ file for a map service:

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/Map...

This works fine for this server, which is at 10.01. However, the same approach does not work on our 10.1 server: it ignores the separateImage and instead sets the KML to use the composite option.

It turns out there is a misspelling in the expected separateImage parameter - it works if I use "seperateImage" instead! Oddly enough, the ...MapServer/generateKml page uses this misspelling to generate KML that does separate layers. Hopefully the software team will correct this; meanwhile heads up if you're generating such links.

BTW, I do not work for ESRI - I did but left the company in 2009.
Tags (2)
0 Kudos
0 Replies