-
Notifications
You must be signed in to change notification settings - Fork 4
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
Expose GADM level names and identifiers as part of the REST API #8
Comments
That is all the data, including places without subdivisions as far as level 3 (e.g. Antarctica has no divisions). For the GIDs, a prefix search is correct. For names, I think a tokenized search is better, so "London" matches "Greater London" and "Congo" matches "Democratic Republic of the Congo" as well as "Republic of Congo". We can add any indexes or special index columns that are required to PostgreSQL, I don't think we need ES or SOLR for this. Or, the webservice could just read in the values when it starts up. |
I agree, this will be a backed by PostgresQL only |
We should also design the API bearing in mind other requested endpoints, like GeoJSON polygons, MVTs of layer polygons etc. |
This branch contains an initial proposal for the functionalities described in this issue |
The GBIF Portal, and probably external services, need to query the catalog of GADM names and identifiers.
Initially, the following needs have been identified:
The structure of the services listed above are only suggestions, this shouldn't be used as a design specification.
@MattBlissett can help with the SQL queries needed to support those services.
The text was updated successfully, but these errors were encountered: