APIs

Application Programming Interfaces (APIs) provided by VEDA

Most of the VEDA APIs are hosted out of a single project (veda-backend) that combines multiple standalone services.

Environments

While some of our services are already very mature, VEDA is currently in the build-up phase. Therefore, we do not yet have a production environment for users. Maintenance on the staging environment will be announced internally and selected known stakeholders will be informed of any larger changes.

Base URL Changes

The VEDA Team is in the process of updating documentation notebooks to use the new stable production APIs. Currently most notebooks use deprecated staging APIs and should be updated:

STAC_API_URL = "https://staging-stac.delta-backend.com" –> https://openveda.cloud/api/stac

RASTER_API_URL = "https://staging-raster.delta-backend.com" –> https://openveda.cloud/api/raster

Breaking tiling endpoint changes

VEDA tilers are being upgraded to titiler-pgstac v1 which better aligns with the stac-api spec and has many improvements but also introduces some breaking endpoint changes. The VEDA team will be updating notebooks for the new endpoints but, in the meantime, the titiler-pgstac migration documentation provides support for using the new endpoints.

Production (stable):

Staging (maintenance will be announced):

Using tile layers in external services

UI for single tile layers

As you can see from our API docs referenced above, our raster API provides WMTS and XYZ tiles for public consumption.

For any layer you are seeing in the VEDA dataset Explorer, you can retrieve the tile URL:

VEDA Dashboard Exploration API grab

And paste that into any client that loads these tiles, like QGIS, ArcGIS, Leaflet, even online tools such as geojson.io or felt.com.

STAC for layer timeseries

If you want to integrate tile layer time series into your application, you will need to fetch the information about which time steps exist and what the layer URLs are from our Spatio Tempoeral Asset Catalog (STAC) API (see above).

That is because, unfortunately, neither XYZ nor WMTS have time series capabilities (unlike good old WMS, which our services do not provide, though).

You can see how to retrieve time steps and tile layer URLs from these tutorial Python notebooks (mostly REST API calls):

  1. Using /stac/tilejson.json with STAC collection and item IDs
  2. Creating layers from filters and mosaics (advanced)

It comes down to querying for STAC items (timesteps) and then asking the Raster API for tilejson.json specifications for the items you are interested in.

Once you retrieved the WMTS or XYZ layer URLs this way, you can use them seamlessly with all mapping clients.