Shape file to KML or GeoJson


I have vector data in shape files and I want to bring it on cesium terrain. So, How can I convert shapefile into KML or GeoJson without using any online software.

Use FME software to convert Shapefile to KML or Shapefile to Geojson. You can use FME for gis related transformations

You can also use the GDAL tool ogr2ogr.

In addition to the options mentioned, there is also QGIS is you want a free GUI tool. Another option is using a javascript library like shapefile-js or mapshaper to automate the process as part of your application.


thanks Dag, I try to add js library