m.cain

KML to SHP Error using latest Google Earth

Discussion created by m.cain on Sep 8, 2010
Latest reply on Aug 1, 2011 by mehwish
Hello,

I am getting an error when using Jason Parent's Script (http://arcscripts.esri.com/details.asp?dbid=15603) to convert Google Earth KML files into ArcGIS Shapefiles using the latest version of Google Earth.

Running script kml_to_shp...
Extracting POLYGON feature data from KML file...
  File "<string>", line 117, in <module>

<type 'exceptions.ValueError'>: empty string for float()
Completed script kml_to_shp...
Failed to execute (kml_to_shp).


I ran the script on two different systems (one WinXP, the other Win 7) running the same ArcGIS 9.3 software, but where one used the latest Google Earth (vs. 5.2.1.1588) and the other a slightly older version (vs. 5.1.3535.321). KML files created on the older version of Google Earth run smoothly, but KML files created on the latest version of Google Earth run into the above error on either system.

Would anyone know how to solve it?

Outcomes