I have a requirement to convert .KML file to GeoJSON or JSON. Can you please recommend open source command line tools on GNU/Linux(2.6.32-358.14.1.el6.x86_64)? I have installed gdal, when I run..
ogr2ogr -f "GeoJSON" geojson.json Areas.kml
I get this error :-
Unable to open datasource `Areas.kml' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT -> REC -> Memory -> BNA -> CSV -> GML -> GPX -> KML -> GeoJSON -> GMT -> AVCBin
qgis
tag but make no mention of it in your Question body or title. If it is not part of the specific workflow you are asking about here then I recommend that you edit your Question to remove it.