Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edr feature collection #7

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add an explaination on EDR GeoJSON.
  • Loading branch information
Jeffrey-Vervoort-KNMI committed Feb 29, 2024
commit 3ecee58e3ba6913e4628bf0dd4cc85a6f5a3aa69
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ This repository contains the edr-pydantic Python package. It provides [Pydantic]
for the [OGC Environmental Data Retrieval (EDR) API](https://ogcapi.ogc.org/edr/).
This can, for example, be used to help develop an EDR API using FastAPI.

## Optional GeoJSON requirements for the EDR
The EDR spec proposes to add [optional requirements](https://docs.ogc.org/is/19-086r4/19-086r4.html#toc9) to GeoJSON to help the user discover EDR resources. [GeoJSON Pydantic](https://github.com/developmentseed/geojson-pydantic) correctly ignores these extra attributes, as it is solely an implementation of GeoJSON, not EDR GeoJSON. Therefore, there is an EDR Feature collection model in this repository which is a limited implementation of the [EDRFeatureCollection implementation](https://schemas.opengis.net/ogcapi/edr/1.1/openapi/schemas/edr-geojson/edrFeatureCollectionGeoJSON.yaml). The model extends [GeoJSON Pydantic](https://github.com/developmentseed/geojson-pydantic) by adding the optional properties. In the future all the [EDR GeoJSON schemas](https://schemas.opengis.net/ogcapi/edr/1.1/openapi/schemas/edr-geojson/) should be in this repository.
Jeffrey-Vervoort-KNMI marked this conversation as resolved.
Show resolved Hide resolved


## Install
```shell
pip install edr-pydantic
Expand Down
Loading