GeoJSON: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 23: | Line 23: | ||
* [[Zoning]] (Zones placed based on the shapes defined in the file) | * [[Zoning]] (Zones placed based on the shapes defined in the file) | ||
* Construction values (Constructions are modified based on the attributes in the file) | * Construction values (Constructions are modified based on the attributes in the file) | ||
==How to prepare a GIS file== | |||
A GIS file can be converted into a GeoJSON file, so that it can be loaded by the Tygron Engine. Any 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 Engine. | |||
* The file must be saved in GeoJSON format | |||
* The file must use coordinate system EPSG:3857, Preudo Mercator | |||
* The file must use character encoding UTF-8 | |||
* All desired shapes must be polygons. Not lines or points | |||
* All desired attributes must be numerical, so that they can be loaded as valid [[attribute]] values | |||
{{editor steps|title=Convert a GIS file|Open the GIS file in a GIS application, such as QGIS|Save the data}} |
Revision as of 11:34, 11 August 2016
What is GeoJSON
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.
How GeoJSON relates to the Tygron Engine
Projects in the Tygron Engine consist of a number of spatial data layers, such as constructions, zones, and land. When a project is newly created using the wizard, much of this data is already aggregated from 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
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
- The default data sources are not accurate or up-to-date enough
- The project's intended starting situation is not the same as the real, current situation
- There is some form of data which is not covered by the Tygron Engine by default
In these situations, data in the Tygron Engine can be overwritten or supplemented by the user.
Data in the Engine
When loading a GeoJSON file, it can take the form of a number of data types. Currently, it is possible to use GeoJSON files to automatically create or update a number of types of data in the world. Data can be loaded in as:
- Constructions (Constructions placed based on the shapes defined in the file)
- Areas (Areas placed based on the shapes defined in the file)
- Zoning (Zones placed based on the shapes defined in the file)
- Construction values (Constructions are modified based on the attributes in the file)
How to prepare a GIS file
A GIS file can be converted into a GeoJSON file, so that it can be loaded by the Tygron Engine. Any 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 Engine.
- The file must be saved in GeoJSON format
- The file must use coordinate system EPSG:3857, Preudo Mercator
- The file must use character encoding UTF-8
- All desired shapes must be polygons. Not lines or points
- All desired attributes must be numerical, so that they can be loaded as valid attribute values
- Open the GIS file in a GIS application, such as QGIS
- Save the data