How to modify the Project WFS url to expose all function values

From Tygron Support wiki
Jump to navigation Jump to search

When using the WFS endpoint from the Tygron Platform, the used URL can be modified to add additional data or filters to the data. By default, the WFS endpoint for Buildings includes only values assigned directly to the building, excluding those inherited from its function. The URL can be given an additional parameter to include all function values, including those only inherited from the Building's function.

How to allow changes in WFS data to overwrite data:
  1. Find the geographical data you wish to export and select its export option.
  2. In the export window, select the "Inherit all parent attributes" option.
  3. Select the "Copy URL" option of the Web Feature Service.
  4. The desired URL is now copied on your clipboard, and can be pasted in your desired GIS application.

This will change a URL of the following form, which retrieves all Buildings:

https://engine.tygron.com/api/session/wfs/buildings?&token=API_TOKEN

into a URL of the following form, which causes all function values to be included in the output:

https://engine.tygron.com/api/session/wfs/buildings?&inherit=true&token=API_TOKEN

Notes

  • By default, some function values are excluded to reduce the volume of transmitted data. This prevents potential performance issues or stability problems in third-party applications caused by high memory consumption.
  • If there are multiple edits which conflict with one another, the edits are considered processed in order that the features were initially created. Earlier features are processed first, meaning newer features can overwrite their edits.

See also