Skip to content
Advertisement

Converting KML to GeoJson

I’m having huge issues doing this so once again i come for help.

I have this massive file which contains all the DMA’s for Nielson what i need to do with php somehow is parse through each and get the data from and the coordinates but they have to be outputted in this format

JavaScript

anyone have any idea how to do this correctly and efficiently i’ve been stuck on this for about 2 days with no success

Advertisement

Answer

There is a tool which can convert (standard) KML to geoJSON (see link below). Its written in nodejs, though.

https://github.com/tmcw/togeojson#readme

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement