Sarah Hoffmann
2a6e8ad68e
add bbox whereclause to make postgis 3.0 happy
...
Normally ST_Covers() should include a bbox index use,
so adding a bbox where clause is not really necessary.
However, the query planner messes up and uses a parallel
index search with a second index instead of exclusively
running on the geometry index, when the bbox part is
missing.
2020-02-16 14:10:22 +01:00
Sarah Hoffmann
6f6d116451
adapt index for changes name lookup
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
5d1fa597ea
clean up get_word_id function
...
Replaced by addr_ids_from_name() which also normalises the
string.
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
f863040b38
factor out parent search from addr:street/addr:place
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
1033f8bce7
factor out searching for parent road for pois
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
6dccc693d0
factor out computation of default names
...
Also moves the computation down the line so that we never
have to do it twice.
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
c3dc66ce9c
factor out place linking sql
2020-01-23 22:28:43 +01:00
Sarah Hoffmann
ddaf1b79d4
remove special handling of rail
...
Skip railway=rail in the style, so that installations can remove
it if they wish.
2020-01-08 23:53:23 +01:00
Sarah Hoffmann
dae2761137
move placex triggers into own file
2020-01-08 11:18:42 +01:00