Project

General

Profile

Actions

Feature #1603

closed

API: Specialized GeoJSON format for subunits

Added by Bernhard Koschiček-Krombholz almost 3 years ago. Updated almost 3 years 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 1 (0 open1 closed)

Blocks OpenAtlas - Feature #1595: API: Subunits for Ariadne and THANADOSClosedBernhard Koschiček-Krombholz2021-11-03Actions
Actions #1

Updated by Bernhard Koschiček-Krombholz almost 3 years ago

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

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.

Actions #3

Updated by Alexander Watzinger almost 3 years ago

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

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

Also available in: Atom PDF