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

setup spatial feature/ endpoint #1

Open
bbest opened this issue May 23, 2022 · 1 comment
Open

setup spatial feature/ endpoint #1

bbest opened this issue May 23, 2022 · 1 comment

Comments

@bbest
Copy link
Contributor

bbest commented May 23, 2022

To pass the spatial information to the API for summarizing the data withou the detail of the spatial WKT, set up a new spatial features service similar to mregions but with our own unique layers and identifier system.

@bbest bbest changed the title setup marinefeatures service setup marinefeatures endpoint May 23, 2022
@bbest bbest changed the title setup marinefeatures endpoint setup marinefeatures/ endpoint May 23, 2022
@bbest
Copy link
Contributor Author

bbest commented May 23, 2022

Perhaps with RESTful URL format:

  • API internal: feature/{layer}/{fld}/{value}
    • feature/{layer}: show summary of fields and values (a la skimr table output)
    • feature/{layer}/{fld}: list all possible values and perhaps other features like size, centroid
    • feature/{layer}/{fld}: return spatial description as WKT, WKB or GeoJSON; or use as parameter for internal use of
  • tile / feature server with CQL: /{layer}?filter={fld}='{value}', eg tile.calcofi.io/public.aoi_fed_sanctuaries.html?filter=nms='CINMS'
    image

@bbest bbest changed the title setup marinefeatures/ endpoint setup mfeatures/ endpoint May 23, 2022
@bbest bbest changed the title setup mfeatures/ endpoint setup features/ endpoint May 23, 2022
@bbest bbest changed the title setup features/ endpoint setup feature/ endpoint May 23, 2022
@bbest bbest changed the title setup feature/ endpoint setup spatial feature/ endpoint Sep 20, 2023
@bbest bbest added this to Management Sep 20, 2023
@bbest bbest moved this to Todo in Management Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔲 Todo
Development

No branches or pull requests

1 participant