Project

General

Profile

Actions

Feature #1987

closed

API: Add centroid points of geometries

Added by Jona Schlegel about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2023-03-09
Estimated time:

Description

It would be great to also have the centroid points of the artifacts that have a polygon or line location also available via the API.

Implementation
Use new parameter centroid=<True, False> for lp, geojson, geojson-v2 and RDF/XML formats, also for subunit endpoint.
The centroid is added and does not replace the actual geometry.
(autogenerated) is added to the name property.

Actions

Also available in: Atom PDF