Project

General

Profile

Feature #1603

API: Specialized GeoJSON format for subunits

Added by Bernhard Koschiček-Krombholz 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
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


Related issues

Blocks Feature #1595: API: Subunits for Ariadne and THANADOSClosed2021-11-03Actions

History

#1

Updated by Bernhard Koschiček-Krombholz 11 months ago

  • Blocks Feature #1595: API: Subunits for Ariadne and THANADOS added
#2

Updated by Bernhard Koschiček-Krombholz 10 months 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.

#3

Updated by Alexander Watzinger 10 months ago

  • Subject changed from API: API connection for Thanados to API: Specialized GeoJSON format, filter multiple ids
#4

Updated by Bernhard Koschiček-Krombholz 10 months ago

  • Subject changed from API: Specialized GeoJSON format, filter multiple ids to API: Specialized GeoJSON format for subunits
  • Description updated (diff)

Also available in: Atom PDF