Sarah Hoffmann
316205e455
force update of surrounding houses when street name changes
...
When the street changes its name then this may cause changes
in the parenting of rank-30 objects with an addr:street
tag.
Fixes #2242 .
2021-09-27 10:22:41 +02:00
Sarah Hoffmann
e7b4fc70e7
make sure old data gets deleted on place type change
...
When changing from some other place type to place=postcode
make sure that the old place type entry in the place table
is deleted.
2021-06-18 10:58:41 +02:00
Sarah Hoffmann
457982e1d2
update postcode in place if it already exists
2021-06-18 00:28:52 +02:00
AntoJvlt
ddf866c4c7
Always delete old placex entry for type=postcode when inserting a new one into the place table
2021-06-12 15:35:51 +02:00
AntoJvlt
9e07a197e9
Handle postcode type change in place insert trigger
2021-06-09 09:31:32 +02:00
AntoJvlt
a4733eed90
Use place instead of placex to compute postcodes
2021-06-09 09:31:32 +02:00
Sarah Hoffmann
d2bd6aa78d
introduce jinja2 for preprocessing SQL
...
Replaces various hand-crafted replacements of varying format with
a single Jinja2 templating mechanism. Allows full access to
configuration if necessary.
2021-03-03 17:51:08 +01:00
Sarah Hoffmann
b9517c99ae
rename sql directory to lib-sql
...
Also introduces a separate constant for the sql directory, so that
it can be put separately from the rest of the data if required.
2021-02-09 15:26:56 +01:00