GeoJSON: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(115 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{stub}}
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.


{{learned|what GeoJSON is|how GeoJSON relates to the Tygron Engine|what data can be read into the Tygron Engine|how to prepare your GeoJSON file|how to upload GeoJSON data into the Engine}}
==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.


==What is GeoJSON==
*Go to the documentation for [[How_to_create_a_GeoJSON_file_in_ArcMap|ArcGIS]]
GeoJson is a file format, which is meant to store data about geographical features (GIS data). It is a simple text-based format which can be inspected by humans, but is also readable by most GIS software.
*Go to the documentation for [[How_to_create_a_GeoJSON_in_QGIS|QGIS]]


==How GeoJSON relates to the Tygron Engine==
Also take a look at the [[Data_preparation|data preparation]] page for considerations and tips regarding importing geo data.  
[[Project]]s in the Tygron Engine consist of a number of spatial data layers, such as [[construction]]s, [[zone]]s, and [[land]]. When a project is newly created using the [[wizard]], much of this data is already aggregated from [[data sources|available data]]. However, it may be desirable to load additional data into the project. The Tygron Engine can read GeoJSON files for this purpose.


==When to use GeoJSON files==
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.
The Tygron Engine creates projects using the wizard with a number of default data sources. However, some users or organisations may have data which is preferable or complementary to the data already present in the project. This may be for a number of reasons:
 
* The project takes place in a location for which there are no data sources connected by default
==Import requirements==
* The default data sources are not accurate or up-to-date enough
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 project's intended starting situation is not the same as the real, current situation
* The file must be saved in GeoJSON format
* There is some form of data which is not covered by the Tygron Engine by default
* 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.
 
{{article end
|notes=
*Shapefiles can be converted to GeoJSONs using [[QGIS]]
|howtos=
* [[Data preparation#Text_attributes|How to create a mapping from text to numerical attributes]]
*[[How to create an interest area GeoJSON]]
}}
 
{{GeoDataOverview}}
[[Category:Files]]

Latest revision as of 14:44, 29 May 2026

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.

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 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 Tygron Platform. The requirements are:

  • 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.