Feature request #13797

Support native editing of GeoJSON files

Added by Nathaniel V. Kelso over 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Vectors
Pull Request or Patch supplied:No Resolution:up/downstream
Easy fix?:No Copied to github as #:21822

Description

I can load a GeoJSON file in QGIS and view it, great!
I can export any data layer in QGIS as a GeoJSON file, great!
But I can't edit a GeoJSON file in QGIS, which makes me sad :(

While simple files can be edited in a web tool like geojson.io, it would be amazing to edit more complex files (especially data properties other than geometry) in QGIS like a desktop GIS pro. Today I end up loading the GeoJOSN file, exporting to SHP, edit the properties / shape, save the SHP, export the SHP to GeoJSON. Which is a lot of steps and isn't a great workflow to undertake or explain to people. I also worry borking geom precision during all those conversions (with no testing, so maybe it's not valid concern).

I would use this feature to on-off and bulk edit records in Who's On First [1], Mapzen's free and open data gazetteer.

Two workaround suggestions were given on Twitter [2]:

Maybe one of these can be developed into something more robust & native?

[1] https://github.com/whosonfirst/whosonfirst-data
[2] https://twitter.com/kelsosCorner/status/662317579394912257

History

#1 Updated by Giovanni Manghi over 8 years ago

  • Tracker changed from Bug report to Feature request
  • Category set to Vectors

#2 Updated by Nyall Dawson over 8 years ago

  • Resolution set to up/downstream

Requires support for editing GeoJSON formats in OGR.

#3 Updated by Thomas Gratier over 8 years ago

For information, it seems feasible according to Even Rouault (GDAL lead dev) https://twitter.com/EvenRouault/status/662594852970893312
I think he would be happy to make the job at OGR level but don't really know how manage funding in this particular case https://twitter.com/EvenRouault/status/663003352511352832

#4 Updated by Nyall Dawson over 8 years ago

Well... this isn't something that QGIS can fund. You'd need to discuss with Even about the costs for implementing this in OGR and then do some fundraising/crowdsourcing to make it happen.

#5 Updated by Nathaniel V. Kelso over 8 years ago

I've emailed Even to investigate LOE and funding options.

#6 Updated by Nyall Dawson about 8 years ago

  • Status changed from Open to Closed

Upstream issue, resolved in GDAL 2.1. When GDAL 2.1 is released and QGIS is built with it GeoJSON editing will be supported.

Also available in: Atom PDF