goat
goat copied to clipboard
GOAT-Client/Core: Catchment areas with polygon_difference=False are not displayed appropriately
Catchment areas with polygon_difference=False should sort the result geometries by traveltime/step before rendering to avoid larger geometries from concealing smaller geometries.
@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?
https://github.com/goat-community/goat-core/pull/26/commits/f80a62da5b35a3901a7c8aeb00bd1f9ff75d2950
https://github.com/nihar1024/goat-routing/commit/fc5f38b4d7bbdb124d67916333fbc290e99fc7b7