Linking external models and data


#1

When linking external evaluations and impacts, there are three choices:

  1. Link externally hosted rasters
  2. Link to a software that POSTs GeoJSON to the platform
  3. Link to a service that POSTs GeoJSON to the platform.

There are three ways that external data can be enabled and choosing the right one depends on the data and the model running it.

Linking Raster Data

  1. Raster: If you have a Raster GeoTIFF, it can be linked as a evaluation map or a impact map. When you link a Raster evaluation, the impact processing is left to you, no checks are made on the raster symbology etc.

  2. Select the system for which you want to link the Raster evalaution.
    rasteval1

  3. Click on the Link External Evaluations
    rasteval2

  4. Select “Enable External Model Data”
    rasteval3

  5. Choose Raster from the options
    rasteval5a

  6. Enter the WMS Server Details. We can host your Raster evaluation maps for you as well.
    rasteval6

Linking Vector Data

If you are using options 2 or 3 above, you have flexibility and some more options. The common usecase is i.e. submitting vector data, the data should be submitted as GeoJSON in WGS 1984 projection. Please review the GeoJSON feature attributes especially for impact and evaluation maps. External models can then submit geometries using the API by following the steps outlined below:

  1. POST: Using the API, you can POST an evaluation or an impact map either as a GeoJSON or a GeoBuf file. Please review the data requirements to specify attributes to your features, otherwise the payload will be rejected. Once the geometries are generated in your software, use the API to post it to a specific user. A sample program that does this: that is submit external data as impacts, evaluation or a diagram is available on GitHub for your review Geodesign Modellinker.
    In this usecase, here is how the flow of data would work, assume you want to send a impact or evaluation map generated by your software to a user.

    1. For example Get all diagrams that the user has selected. (using the Geodesign Hub API).
    2. Process diagrams and produce a updated evaluation or impact map. (code on your side)
    3. Produce a GeoJSON with features that have the correct areatype property. (code on your side)
    4. POST the GeoJSON back to the project and the user using the API.
  2. Geodesign Services Server (most advanced): Alternatively to automate the workflow described above, a Geodesign Service server can be developed and linked. This will ensure that impacts and evaluations are generated and submitted asynchronously in realtime. While not complicated, it requires software development knowledge and is only recommended if you have something specific and advanced to study. Any one can build a geodesign services server or make their model available as a geodesign service. You can see a sample code for a server on GitHub as well.

  3. External computing resources can be linked to display evaluation and impact maps for a system. Select the system for which you want to setup external model.

  4. First enable the data; by default, the link is disconnected.

  5. Check the box that enables the link, you can choose either a POST request or a Geodesign Services or a Raster to build this link.

Once the system is linked to external data, maps will be provided in the user interface to show the external dataset.


Linking Raster Evaluation and Impact Maps