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

support fully qualified column names in properties and filter query parameters #213

Open
iferencik opened this issue May 26, 2024 · 0 comments

Comments

@iferencik
Copy link

pg_tileserv supports combining 2 tables in one request but the properties or filter query parameters accept only relative/simple names not the fully qualified names of columns.

https://pgtileserv.undpgeohub.org/admin.admin0/{z}/{x}/{y}.pbf?filter=perimeter_km=3000 AND continent='AFR'

supporting fully qualified column names and allowing referencing the geometry column would open the door to something like this

https://pgtileserv.undpgeohub.org/admin.admin0,infrastructure.roads/{z}/{x}/{y}.pbf?filter=INTERSECTS(admin.admin0.geom, insfrastructure.roads.geom ) AND infrastructure.roads.surface_type='asphalt'

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant