microsoft / ogc-api-fast-features

Fast API server implementation of the OGC API: Features specification
MIT License
41 stars 10 forks source link

Support PostgreSQL/PostGIS views #12

Open JBurkinshaw opened 3 years ago

JBurkinshaw commented 3 years ago

PostgreSQL/PostGIS tables are currently supported but views are not.

Add support for views.

The main obstacle to support is likely to be difficulties identifying a suitable unique field in each view, as a view is not required to have a Primary Key. It may be possible to provide this information via oaff.collections (formerly feapi.collections) or an alternate metadata entity within the oaff schema.