How to create a GeoJSON in QGIS
Revision as of 16:51, 21 February 2023 by Frank@tygron.nl (talk | contribs) (→1. Open a Geo Dataset)
1. Open a Geo Dataset
First open a Geo Data file in QGIS. It's possible to load a file either by dragging it directly into the QGIS window, or by selecting it in the "Browser" panel in the QGIS window. The file will appear in the "Layers" panel, and its contents will be displayed as shapes or polygons in the main view.
2. Saving
The last step is to save the file as a GeoJSON file. This can be done by clicking on the specific layer with the right mouse button and selecting the "Save as" option. Choose the GeoJSON format, a location and file name and the UTF-8 character set. Saving will create a new ".geojson" file with all the desired data, ready to import into the Tygron Platform.
How to save as GeoJSON:
- Right-click the layer
- Select Save As...
- Set the Format to "GeoJSON"
- Use "Browse" to select a name and location for the resulting file
- Set the correct CRS (Coordinate Reference System) for the data
- Set the encoding to "UTF-8"
- Select "OK" to save the file