mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Revert "increase splitting for large geometries"
This reverts commit 559fe513fa.
Increasing the splitting results in geometries where with rounding
issues at the split points, so that contain operations do not
work as expected anymore.
Fixes #2137.
This commit is contained in:
@@ -426,7 +426,7 @@ DECLARE
|
|||||||
geo RECORD;
|
geo RECORD;
|
||||||
BEGIN
|
BEGIN
|
||||||
-- 10000000000 is ~~ 1x1 degree
|
-- 10000000000 is ~~ 1x1 degree
|
||||||
FOR geo IN select quad_split_geometry(geometry, 0.01, 20) as geom LOOP
|
FOR geo IN select quad_split_geometry(geometry, 0.25, 20) as geom LOOP
|
||||||
RETURN NEXT geo.geom;
|
RETURN NEXT geo.geom;
|
||||||
END LOOP;
|
END LOOP;
|
||||||
RETURN;
|
RETURN;
|
||||||
|
|||||||
Reference in New Issue
Block a user