When I add a GeoJSON layer to my QGIS project, it always gets the name OGRGeoJSON. This is in contrast with shapefile layers, which seem to be named after the file name by default.

Is there a way to either configure QGIS or change my GeoJSON files so that they get a meaningful default name when I first add them to a project?

  • 1
    I think that may be configuration is somewhere in the actual geojson hash...thats just a guess I'm not sure. At least I hope it is...good question...too good...any luck on your end in the last 10 months? – boulder_ruby Oct 16 '13 at 19:26

The issue was fixed in time for QGIS 2.6 http://hub.qgis.org/issues/10711#change-57013


Use QGIS browser to add the GeoJSON file and it should work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.