I would like to use leaflet in order to display the world maritime boundaries (12 nm and 24 nm). Is there a reliable geojson source that I could use? If no geojson data is available, I am ready to use any other data format as long as I can convert it to geojson.
2 Answers
A web search turned up this download site for world maritime boundaries as an ESRI shapefile. Here are directions for converting the shapefile to geojson using QGIS and here for ArcMap.
You can use data from the OpenStreetMap project.
OpenStreetMapData is a good source. The data has been derived from OpenStreetMap ways tagged with natural=coastline. The data is offered as a shapefile. There are a lot of ways to convert shapefiles to GeoJSON.