arcgis open data kml download error

748
2
02-01-2019 10:46 AM
BobBistrais
Regular Contributor

We are having some issues with KML downloads on our Hub/Open Data site. We noticed a few layer where users can download shapefiles and csv, but if they try KML they get "an error has occurred".  

The same data can be downloaded as KML on the ESRI hub site

The layers in question include those hosted on our servers and those on ArcGIS Online.

I did not see any errors in the server logs on the layers we host

Tags (3)
0 Kudos
2 Replies
JamesTchorzynski1
Occasional Contributor

We had the same issue and our AGO Admin traced it back to the "Local Projections" option for the specific open data site.  Seems there is a bug wherein having this option "enabled" causes hosted features to fail while exporting KML.  The error shows that the coordinates get converted to local, but still populate LAT/LON fields in the KML.  For us in Michigan using Michigan GeoRef, that means the integer values are "out of range".  We have "disabled" this option to get our user base back up and running and pushed a ticket to ESRI to hopefully get it fixed.

0 Kudos
HBottelberghe_eci
Emerging Contributor

We are experiencing the same issue with the ability to download shapefiles and geodatabases in Hub Site & in AGOL is functioning normally, but the kml download is failing. The layer is a hosted feature layer in a local projection, but the hub site has the 'Local Projections' setting disabled. As I understood, that should have resolved the problem, but the problem persists. Did you @JamesTchorzynski1 or @BobBistrais find a solution to your errors?

 

Best,

Heather Bottelberghe

0 Kudos