fix invalid geometries in ST_AsMVTGeom#692
fix invalid geometries in ST_AsMVTGeom#692Jesperpaulsen wants to merge 1 commit intoduckdb:v1.4-andiumfrom
Conversation
Changes GEOS_PREC_NO_TOPO to GEOS_PREC_VALID_OUTPUT in get_gridded() to ensure topological validity during grid snapping operations.
|
Hey! Thanks for opening this PR. Don't worry about the CI failure, I'll take care of it. I didn't use |
Ah, yeah, that makes sense! Haven't worked to much with GEOS, but that's probably true. When it comes to the visualisation of mixed geometry types it shouldn't be any problem with Maplibre and Mapbox at least. It support multiple types in one source and its also possible to filter the layers based on what geometry types you want to show in the layer 😄 |
|
Thanks for the PR! I've included it as part of this merge #700 |
Changes GEOS_PREC_NO_TOPO to GEOS_PREC_VALID_OUTPUT in get_gridded() to ensure topological validity during grid snapping operations.
The current ST_AsMVTGeom sometimes produces invalid geometries because the topology is not preserved.