Actions
Feature #1603
closedAPI: Specialized GeoJSON format for subunits
Start date:
2021-11-12
Estimated time:
Description
In order for Thanados to use the API, the API need to provide a special GeoJSON format. The specifications of this format can be found here: thanados api
Updated by Bernhard Koschiček-Krombholz almost 3 years ago
- Blocks Feature #1595: API: Subunits for Ariadne and THANADOS added
Updated by Bernhard Koschiček-Krombholz almost 3 years ago
- Status changed from Acknowledged to Closed
- Target version changed from 208 to 7.0.0
The subunits can be called from /api/0.3/subunits/<id>.
At the moment, only one ID can be processed at one call. This is due to the fact, that larger sites (with over 200 Features, 200 Stratigraphic units) can take up to two minutes to process. So the likelihood of a timeout error is very high, if multiple sites are requested.
So in theory, Thanados can get its data from the API, but it will be slower than the direct SQL calls from the Thanados frontend.
Updated by Alexander Watzinger almost 3 years ago
- Subject changed from API: API connection for Thanados to API: Specialized GeoJSON format, filter multiple ids
Updated by Bernhard Koschiček-Krombholz almost 3 years ago
- Subject changed from API: Specialized GeoJSON format, filter multiple ids to API: Specialized GeoJSON format for subunits
- Description updated (diff)
Actions