-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish draft pages because they add value, restructure menu a bit an…
…d fix broken links
- Loading branch information
Showing
10 changed files
with
37 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,31 @@ | ||
GeoJSON in Netherlands3D | ||
======================================= | ||
|
||
## GeoJSON import | ||
GeoJSON Support | ||
=============== | ||
|
||
Netherlands3D offers limited support for importing GeoJSON data. The functionality is still being expanded. | ||
|
||
## Features | ||
- Currently only GeoJSON files are supported. The default file extensions are .json or .geojson. In case custom file types should be supported, these can be added in the FileOpen script (to allow selection of other file types) and in the FileTypeAdapter (to process the opened file). | ||
- The GeoJSON parsing is spread over multiple frames, (default is max 0.01s of parsing per frame) as to not freeze the application when importing large files. This duration can be changed by changing the variable `maxParseDuration` in GeoJSONLayer.cs | ||
|
||
- Currently only GeoJSON files are supported. The default file extensions are .json or .geojson. In case custom file | ||
types should be supported, these can be added in the FileOpen script (to allow selection of other file types) and in | ||
the FileTypeAdapter (to process the opened file). | ||
- The GeoJSON parsing is spread over multiple frames, (default is max 0.01s of parsing per frame) as to not freeze the | ||
application when importing large files. This duration can be changed by changing the variable `maxParseDuration` in | ||
GeoJSONLayer.cs | ||
- GeoJSON features of type Polygon, MultiPolygon, LineString, MultiLineString, Point, and MultiPoint are supported. | ||
- GeoJSON coordinates are passed to the [`eu.netherlands3d.coordinates`](https://openupm.com/packages/eu.netherlands3d.coordinates/) package using the parsed CRS in order to convert them to Unity coordinates (see also the section on limitations for CRS limitations). A CRS object of type `Linked CRS` is currently not supported | ||
- GeoJSON coordinates are passed to | ||
the [`eu.netherlands3d.coordinates`](https://openupm.com/packages/eu.netherlands3d.coordinates/) package using the | ||
parsed CRS in order to convert them to Unity coordinates (see also the section on limitations for CRS limitations). A | ||
CRS object of type `Linked CRS` is currently not supported | ||
- A material can be assigned to the GeoJSONLayer that determines the appearance of the visualization. | ||
- An event is invoked when parsing fails, to allow for display of error messages on screen. | ||
|
||
## Limitations | ||
|
||
The GeoJSON support currently has the following limitations: | ||
|
||
- A LinkedCRS object is parsed correctly in the GeoJSONLayer, however it is currently not interpreted to provide a valid input for the visualization through the [`eu.netherlands3d.coordinates`](https://openupm.com/packages/eu.netherlands3d.coordinates/) package. | ||
- A LinkedCRS object is parsed correctly in the GeoJSONLayer, however it is currently not interpreted to provide a valid | ||
input for the visualization through | ||
the [`eu.netherlands3d.coordinates`](https://openupm.com/packages/eu.netherlands3d.coordinates/) package. | ||
- All features of the Type Polygon and MultiPolygon are combined to form 1 layer in the application | ||
- All features of the Type LineString and MultiLinstring are combined to form 1 layer in the application | ||
- All features of the Type LineString and MultiLineString are combined to form 1 layer in the application | ||
- All features of the Type Point and MultiPoint are combined to form 1 layer in the application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
docs/docs/developers/features/layers.md → docs/docs/developers/layers.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Layers in Netherlands3D | ||
======================================= | ||
Layers | ||
====== | ||
|
||
## Layers | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters