Bulk download · Issue #230 · opengeospatial/ogcapi-features (original) (raw)

So, it filtering and fetching multiple collections at the same time a requirement for a "bulk" fetch capability?

Filtering: no, fetching multiple collections at the same time: yes (as "a bulk download would be another distribution of the same dataset"), fetching one complete collection at the same time: could be nice.

We could add an enclosure link in an example to show how to do it.

Would this then look like the example below?

{
  "links": [
    { "href": "http://data.example.org/collections.json",
      "rel": "self", "type": "application/json", "title": "this document" },
    { "href": "http://data.example.org/collections.html",
      "rel": "alternate", "type": "text/html", "title": "this document as HTML" },
    { "href": "http://schemas.example.org/1.0/buildings.xsd",
      "rel": "describedBy", "type": "application/xml", "title": "GML application schema for Acme Corporation building data" },
    { "href": "http://download.example.org/buildings.gpkg",
      "rel": "enclosure", "type": "application/geopackage+sqlite3", "title": "Bulk download (GeoPackage)" }
  ],
  "collections": [ ... ]
}