We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Unable to convert KML 2.1

Using Convert(f1, Drivers.Kml, f2, Drivers.GeoJson) crashes when f1 is in KML v2.1. (see https://apps.sfwmd.gov/sfwmd/common/images/weather/storm_all.kml.)

The problem is with multiple Placemark entries that exist only to provide style or heirarchy information, and thus have missing or invalid elements.

Is there a way to configure the Convert method to handle these files?

Also, since KML v2.1 presents information as a tree of elements, and not flat as in GeoJson, is there a way to access the tree heirachy in the GeoJson? i.e. for

Storm1 Models XTRP Points ... ... ... ...

is there a way to retrieve something like “Storm1.Models.XTRP.Points” in each GeoJson feature?

Hi, @MattSm

We have created a ticket ** GISNET-1336** to investigate the issue. We will notify you here as we will have progress with it.

Please let me know if you experience any other problems.