How to import a GeoJSON of waterways

From Tygron Support wiki
Revision as of 11:34, 30 November 2023 by Bobby@tygron.nl (talk | contribs)
Jump to navigation Jump to search

For some applications and functionalities of the Tygron Platform, such as the Water Overlay, an accurate representation of the waterways is essential, including where they lay, how wide they are, how deep they are, and how inclined their sides are.

It's possible to load in your own waterway dataset as a GeoJSON, provided:

  • Your data consists of vector data, either:
    • polygons, indicating where the waterways lie are exactly, including the inclined sides.
    • lines, indicating the centre lines of the waterways, which can be uniformly buffered for all features.
  • Your data has, per feature, a single Attribute indicating the desired depth of the waterway, in meters relative to datum
  • Your data has, per feature, a single Attribute indicating the incline of both sides of the waterway.

If your data is prepared, you can follow the generic steps on how to import a GeoJSON to change the elevation model, selecting the appropriate type of water to import your features as.

How to load in terrain height altering features:
  1. Prepare a GeoJSON file with polygon features with HEIGHT, ANGLE_OF_REPOSE, and TERRAIN_TYPE Attributes.
  2. Open the Geo Data Wizard via the Terrain dropdown.
  3. Opt to import a GeoJSON.
  4. In the feature location verification step, if you are importing line data (as opposed to polygon data), ensure you set an appropriate buffer.
  5. In the "Assign Terrain type" step, select the default Terrain Type to import the features as.
  6. If applicable, select "Terrain Type Mapping", and set up a mapping of Attribute values to Terrain Types.
  7. In the "Adjust heights" step, if applicable, opt to override the height and angle of the Terrain, and select the appropriate Attributes.
  8. Finalize and close the Geo Data Wizard.
  9. The elevation model is now modified with the height changes defined by the GeoJSON file.