CSIRO-enviro-informatics / loci-integration-api

This application provides a convenient interface for executing common functions across the whole LOCI system.
0 stars 3 forks source link

enable full crosswalks in /location/within #34

Open jyucsiro opened 4 years ago

jyucsiro commented 4 years ago

/location/within returns features that the input feature is in including those in other datasets/geographies due to linksets loaded.

example: https://api2.loci.cat/api/v1/location/within?uri=http%3A%2F%2Flinked.data.gov.au%2Fdataset%2Fgnaf-2016-05%2Faddress%2FGANSW717210101&count=1000&offset=0

in the example above, the query has

It would be good to include a 'crosswalks' parameter to ask for features higher up the hierarchy of the respective geographies, like so:

stretch goal would be to allow a user to specify which FeatureType to return. i.e.

jyucsiro commented 4 years ago

@benjaminleighton @ashleysommer i think this is delivered via /location/overlaps ? if so, we can close this?