GeoJSON: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Maxim@tygron.com (talk | contribs)
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
GeoJSON is a file format for geographical data. It is a simple text-based format which can be read by humans, but also by computers. Any Geo Dataset in another format can be converted to the GeoJSON file format.
GeoJSON is a file format for geographical data (e.g. [[Polygon]]s or [[Point]]s). It is a simple text-based format which can be read by humans, but also by computers. Any Geo Dataset in another format can be converted to the GeoJSON file format.


==How to create a GeoJSON file==
==How to create a GeoJSON file==
To convert a Geo Dataset to a GeoJSON a GIS (Geographical Information System) can be used. ArcGIS Desktop is one example. An open-source alternative is QGIS.  
To convert a Geo Dataset to a GeoJSON, a GIS (Geographical Information System) can be used. ArcGIS Desktop is one example. An open-source alternative is QGIS.  


*Go to the documentation for [[How_to_create_a_GeoJSON_file_in_ArcMap|ArcGIS]]
*Go to the documentation for [[How_to_create_a_GeoJSON_file_in_ArcMap|ArcGIS]]
Line 12: Line 12:


==Import requirements==
==Import requirements==
The GeoJSON file must conform to a number of prerequisites before it can be loaded properly. Files which do not conform to these prerequisites may not be loaded properly by the {{software}}. The requirements are:  
The GeoJSON file must meet the following requirements to be loaded properly by the {{software}}:
* The file must be saved in GeoJSON format
* The file must be saved in GeoJSON format.
* The file must have a CRS (Coordinate Reference System) defined
* The file must have a CRS (Coordinate Reference System) defined.
* The file must use character encoding UTF-8.
* The file must use character encoding UTF-8.
* All desired attributes must be numerical, so that they can be loaded as valid [[attribute]] values. Attributes with text values are ignored when attempting to load them as attributes.
* All desired attributes must be numerical, so that they can be loaded as valid [[attribute]] values. Attributes with text values are ignored when attempting to load them as attributes.


{{article end
{{article end
|notes=
*Shapefiles can be converted to GeoJSONs using [[QGIS]]
|howtos=
|howtos=
* [[Data preparation#Text_attributes|How to create a mapping from text to numerical attributes]]
* [[Data preparation#Text_attributes|How to create a mapping from text to numerical attributes]]
*[[How to create an interest area GeoJSON]]
}}
}}


{{GeoDataOverview}}
{{GeoDataOverview}}
[[Category:Files]]
[[Category:Files]]

Latest revision as of 13:55, 15 July 2026

GeoJSON is a file format for geographical data (e.g. Polygons or Points). It is a simple text-based format which can be read by humans, but also by computers. Any Geo Dataset in another format can be converted to the GeoJSON file format.

How to create a GeoJSON file

To convert a Geo Dataset to a GeoJSON, a GIS (Geographical Information System) can be used. ArcGIS Desktop is one example. An open-source alternative is QGIS.

  • Go to the documentation for ArcGIS
  • Go to the documentation for QGIS

Also take a look at the data preparation page for considerations and tips regarding importing geo data.

Use the Geo Data Wizard for importing the created file. Select in step 1 the first option: Import a GeoJSON file and follow the steps in the wizard.

Import requirements

The GeoJSON file must meet the following requirements to be loaded properly by the Tygron Platform:

  • The file must be saved in GeoJSON format.
  • The file must have a CRS (Coordinate Reference System) defined.
  • The file must use character encoding UTF-8.
  • All desired attributes must be numerical, so that they can be loaded as valid attribute values. Attributes with text values are ignored when attempting to load them as attributes.