internetofwater / geoconnex.us

URI registry for https://geoconnex.us based URIs
Other
23 stars 14 forks source link

skipGeometry parameter broken for /items/ api calls [general] #156

Closed devincowan closed 2 years ago

devincowan commented 2 years ago

API queries with the skipGeometry parameter still contain all of the geometries in the response. For example, look at the HU2 items: https://reference.geoconnex.us/collections/hu02/items?f=json&lang=en-US&skipGeometry=true The json still includes all of the geometries.

ksonda commented 2 years ago

@webb-ben this service is building from internetofwater/pygeoapi:latest

Any ideas? Something you changed for jsonld templating?

ksonda commented 2 years ago

it looks like skipGeometry is not implemented for the geopackage provider in geopython/pygeoapi.

compare: https://geoconnex-demo-pages.internetofwater.dev/collections/demo-esri/items?f=json&skipGeometry=true https://geoconnex-demo-pages.internetofwater.dev/collections/demo-gpkg/items?f=json&skipGeometry=true

should port this issue to https://github.com/geopython/pygeoapi

ksonda commented 2 years ago

reported https://github.com/geopython/pygeoapi/issues/886

devincowan commented 2 years ago

thank you @ksonda

ksonda commented 2 years ago

fixed by https://github.com/geopython/pygeoapi/pull/887