Hello everyone.
I am trying to import a KMZ file into CityEngine but when I add it nothing happens. I went to check the Logs file and I get this error: java.io.IOException: KML Importer: no valid placemarks detected, file is probably too old (< KML v2.1) or corrupt
The same file I can open without problems in ArcGIS Pro (3.0.3). The KMZ file comes from Google Earth but I also tested converting a polygon to KMZ in ArcGIS Pro and even that file I can't open in CE.
Any suggestions on how to overcome it?
Thank you
Solved! Go to Solution.
No, unfortunately CityEngine does not read polygon features from KMZ/KML at this time, as documented in the help: https://doc.arcgis.com/en/cityengine/latest/help/help-import-kmz-kml.htm
We only read read 3d models as described here: https://developers.google.com/kml/documentation/models
I recommend to convert the KMZ to a FileGDB in ArcGIS Pro and then import this one into CityEngine.
Best,
Simon
Hi,
if possible, could you share one sample file with us so we can debug it? We will treat the data confidentially of course.
Best,
Simon
Thanks, we'll take a look!
Hi again,
the placemarks in your sample file are unfortunately not supported (polygons etc) by CityEngine. CityEngine only reads placemarks which reference Collada assets at this time.
Maybe you can convert the KMZ to a FileGDB in Pro and import this one in CityEngine?
Best,
Simon
Hi Simon,
So..To import in kml/kmz to CE is it only supported if it is in dot? Does it not accept polygon geometry?
Best,
Telma
No, unfortunately CityEngine does not read polygon features from KMZ/KML at this time, as documented in the help: https://doc.arcgis.com/en/cityengine/latest/help/help-import-kmz-kml.htm
We only read read 3d models as described here: https://developers.google.com/kml/documentation/models
I recommend to convert the KMZ to a FileGDB in ArcGIS Pro and then import this one into CityEngine.
Best,
Simon