Hey all,

I'm attempting to process some KML files from an outside source and
sometimes a <Placemark> will contain two <MultiGeometry> blocks.

GDAL will not process these placemarks: layer.GetNextFeature() will return
null, and GetLastErrorMsg() returns an empty string.

I've attached a sample file "broken.kml", along with two copies in which
one of the geometry blocks was deleted. GDAL processes these "part*.kml"
files correctly.


Google Earth uses the last geometry and ignores the others. Are there any
settings I could use to get GDAL to exhibit the same behavior?

Philip Kahly
Software Engineer
[email protected]



Attachment: broken.kml
Description: broken.kml

Attachment: part1.kml
Description: part1.kml

Attachment: part2.kml
Description: part2.kml

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to