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

Free Support Forum - aspose.com

Convert JSON File to KML


I am trying to convert Data.zip (523 Bytes)
files to KML and getting ‘500 Invalid geometry: Point latitude is out of [-90, 90] range.’ error message. I have tried 2 different sample files each have error. I am using below code snippet to convert fil

Driver sourceDriver = Drivers.GeoJson;
Driver destinationDriver = Drivers.Kml;

VectorLayer.Convert(inputFilePath, sourceDriver, outputFilePath, destinationDriver);

Please unzip files to test.

Looking forward to hear from you.


Hello, @naeem.akram!

Thank you for reporting the issue. We have reproduced the bug and created a ticket GISNET-504. We will notify you here as we will have progress with it.

Hello, @naeem.akram!

Aspose.GIS 20.1 has been published. This release includes a fix for GISNET-504. Please let me know if you experience any other problems.