How to create a GeoJSON in QGIS: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
(Created page with "====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 "...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
====1. Open a Geo Dataset====
This page describes how to create a [[GeoJSON]] in '''QGIS'''. If you are not familiar with QGIS or you do not yet have QGIS installed on your system, visit [https://www.qgis.org/en/site/ https://www.qgis.org/en/site/] to download this software.
===Open a Geo Dataset in QGIS===
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.
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.
<gallery mode="nolines">
<gallery mode="nolines">
Line 7: Line 8:
</gallery><br clear=all>
</gallery><br clear=all>


====2. Saving====
===Save data as a GeoJSON===
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 {{software}}.
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 {{software}}.
<gallery mode="nolines">
<gallery mode="nolines">
File:QGISSaveAsMenu.jpg|The "Save As" option in the menu
File:QGISSaveAsMenu.jpg|The "Save As" option in the menu
Line 14: Line 15:
</gallery><br clear=all>
</gallery><br clear=all>


{{editor steps|title=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}}
{{editor steps|title=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}}
 
{{article end
|seealso=
* [[GeoJSON]]
}}
 
[[Category:How-to's]]

Latest revision as of 13:48, 30 January 2024

This page describes how to create a GeoJSON in QGIS. If you are not familiar with QGIS or you do not yet have QGIS installed on your system, visit https://www.qgis.org/en/site/ to download this software.

Open a Geo Dataset in QGIS

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.


Save data as a GeoJSON

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:
  1. Right-click the layer
  2. Select Save As...
  3. Set the Format to "GeoJSON"
  4. Use "Browse" to select a name and location for the resulting file
  5. Set the correct CRS (Coordinate Reference System) for the data
  6. Set the encoding to "UTF-8"
  7. Select "OK" to save the file

See also