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

Add "AS geometry" to make parsing the results cleaner #25

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

rsavoye
Copy link
Collaborator

@rsavoye rsavoye commented Jul 24, 2024

When parsing the asyncpg.Records, rather than st_astext as a column, it now return geometry to be clearer. It also turned out that an extra tags->>'osm_id' and tags->>'version', was being added to the SELECT. These aren't tags, they're columns, and handled differently. This makes parsing the results of a query simpler.

@spwoodcock spwoodcock merged commit 8b4ea6e into main Jul 25, 2024
3 of 5 checks passed
@spwoodcock spwoodcock deleted the geom branch July 25, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants