Nominatim/lib-sql
Sarah Hoffmann 60c1301fca fix a number of corner cases with interpolation splitting
Snapping a line to a point before splitting was meant to ensure
that the split point is really on the line. However, ST_Snap() does
not always behave well for this case. It may shorten the interpolation
line in some cases with the result that two points housenumbers
suddenly fall on the same point. It might also shorten the line down
to a single point which then makes ST_Split() crash.

Switch to a combination of ST_LineLocatePoint and ST_LineSubString
instead, which guarantees to keep the original geometry. Explicitly
handle the corner cases, where the split point falls on the beginning
or end of the line.
2023-04-06 16:54:00 +02:00
..
functions fix a number of corner cases with interpolation splitting 2023-04-06 16:54:00 +02:00
tokenizer port legacy tokenizer to new postcode handling 2022-06-23 23:42:31 +02:00
functions.sql add consistent SPDX copyright headers 2022-01-03 16:23:58 +01:00
indices.sql speed up reverse lookup of place nodes 2023-02-17 14:10:01 +01:00
partition-tables.src.sql add consistent SPDX copyright headers 2022-01-03 16:23:58 +01:00
postcode_tables.sql add consistent SPDX copyright headers 2022-01-03 16:23:58 +01:00
table-triggers.sql add consistent SPDX copyright headers 2022-01-03 16:23:58 +01:00
tables.sql speed up reverse lookup of place nodes 2023-02-17 14:10:01 +01:00
tiger_import_finish.sql add step column to tiger data table 2022-01-27 11:54:12 +01:00
tiger_import_start.sql use new tiger step column for queries 2022-01-27 14:08:08 +01:00