I have downloaded a shapefile of Stockholm (files on GitHub). I'm trying to convert the shapefiles to GeoJSON with the ogr2ogr command line tool. It does not work with the following error:
Export to vector file failed. Error: creation of data source failed (OGR error:Failed to create GeoJSON datasource: test.geojson.)
The method that I'm using is as follows:
- Open the Adm.shp file as a layer in QGIS
- Right click on the layer and select "Save as..."
- Save as GeoJSON
I've tried using different projections and such without success. Does anyone have an idea what could be wrong?