-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OGC Features API at /catalogs/{catalogId}/collections/{collection…
…Id}/features (#265) * Change routes under /catalogs/{catalogId} to be implemented as a separate application such that it has its own docs and can function as a standalone OGC Features API * Initial object endpoints * endpoints landing page, conformance, collections and collections/{collectionId} working * Integrate rdf2geojson * Dynamic /items query to integrate CQL * Update feature query to "that make the Observations on the Feature optional (so it can render Sites, FoIs, and other non-Occurrence geo:Features we might have" * Queryables WIP * Add queryables endpoints * Add bbox query param * Incorporate call to iri2curie function w/ geojson to utilise curies as identifiers rather than iris. * Fix ns1 ns2 issues; add namespaces to returned responses always * Re-integrate OGC features w/ vanilla prez Update profile to make props separately optional Add link headers to JSON responses * Tidy up mediatype specification; ensure RDF mediatypes can be returned from OGC Features endpoints * Change remote endpoint / sparql query template to SELECT query so pyoxigraph his supported. Remove BDR specific query. Optimise imports. Fix 4*tests * Add endpoint to show prez prefixes * Add /prefixes endpoint. Start updating query params references to use enums. * Update python to 3.12 in github actions * Remove BDR specific files/config * Update documentation with new API structure/configuration. * Black all code. * Remove commented code. * slim deps * Implement full CQL time functions * Update poetry.lock and black * Add uvicorn server dep to github action * Fix invalid bbox format for Geomet OGC Features compliance changes * Remove OGC Features specific Dockerfile, move changes to "base" Dockerfile * Add zeroOrMorePath, oneOrMorePath, zeroOrOnePath SHACL. Convert property selection to UNION queries. * fix: update ogc_tests so they can run properly. * Uvicorn is imported in a try/except block as an optional dependency. OGC Features can be disabled/enabled. Enabled by default. * Parameterise OGC tests and xfail the CRS & api Definition tests. Black all code. * fix: relative path issue couldn't get pytest to run from the command line * Fix broken tests by clarifying which test data goes with SpacePrez/OGC Features, add geometries to SpacePrez data so it renders. Add links to display of a single feature. --------- Co-authored-by: Lawon Lewis <[email protected]>
- Loading branch information
1 parent
06307aa
commit 4dc3b78
Showing
219 changed files
with
6,454 additions
and
1,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,4 +59,3 @@ | |
task = fn(req, context) | ||
resp = loop.run_until_complete(task) | ||
print(resp) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.