Friday, 9 August 2019

Attribute editing in QGIS on geoJson file


We have vector files in the format of geoJson files. We need to keep it in geoJson format as it is picked up by mobile devices via Restful services.



The problem is we want to change the attributes of the features in QGIS but it seems like this is not possible. We don't have to add or remove columns. We simply need to edit the existing data.


Is there a work around for this?


Are there any plugins that I can download that will allow me to do this in QGIS?



Answer



QGIS uses OGR/GDAL library to read and write different formats. So this issue is about OGR/GDAL. You can check here link. It can read and write in geojson but can not update. So you must convert geojson to another format like shapefile, by the way you can edit data. After editing you convert your data to geojson format. This means three step "convert-edit-convert" Not only geojson files but also GML, KML, MDB files arent edited directly...


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...