goat icon indicating copy to clipboard operation
goat copied to clipboard

GOAT-Client/Core: Catchment areas with polygon_difference=False are not displayed appropriately

Open nihar1024 opened this issue 10 months ago • 3 comments

Image

Catchment areas with polygon_difference=False should sort the result geometries by traveltime/step before rendering to avoid larger geometries from concealing smaller geometries.

nihar1024 avatar Apr 25 '24 09:04 nihar1024

@EPajares Postgres does not guarantee that rows will be returned in the same order as they were inserted, so I can order the geometries while inserting but this does not mean they will be selected in the same order. However, the row IDs will correspond to the geometry order, so can we order by id for all layers while selecting?

nihar1024 avatar Apr 29 '24 08:04 nihar1024

https://github.com/goat-community/goat-core/pull/26/commits/f80a62da5b35a3901a7c8aeb00bd1f9ff75d2950

nihar1024 avatar Apr 29 '24 09:04 nihar1024

https://github.com/nihar1024/goat-routing/commit/fc5f38b4d7bbdb124d67916333fbc290e99fc7b7

nihar1024 avatar Apr 29 '24 09:04 nihar1024