Remove unused generalization from waterway (#1043)

During the import-osm step, there are three generalized tables for the waterway that are not used for subsequent processing.
Thanks @lazaa32 for the notice.
pull/1044/head^2
Tomas Pohanka 2020-11-24 10:30:00 +01:00 zatwierdzone przez GitHub
rodzic da689f9e42
commit 24b9328a5f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 0 dodań i 26 usunięć

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 194 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 169 KiB

Wyświetl plik

@ -1,20 +1,3 @@
generalized_tables:
# etldoc: imposm3 -> osm_waterway_linestring_gen3
waterway_linestring_gen3:
source: waterway_linestring_gen2
sql_filter: waterway IN ('river')
tolerance: ZRES9
# etldoc: imposm3 -> osm_waterway_linestring_gen2
waterway_linestring_gen2:
source: waterway_linestring_gen1
sql_filter: waterway IN ('river')
tolerance: ZRES10
# etldoc: imposm3 -> osm_waterway_linestring_gen1
waterway_linestring_gen1:
source: waterway_linestring
sql_filter: waterway IN ('river') AND ST_IsValid(geometry)
tolerance: ZRES11
tunnel_field: &tunnel
key: tunnel
name: is_tunnel

Wyświetl plik

@ -6,15 +6,6 @@ $$
BEGIN
UPDATE osm_waterway_linestring
SET tags = update_tags(tags, geometry);
UPDATE osm_waterway_linestring_gen1
SET tags = update_tags(tags, geometry);
UPDATE osm_waterway_linestring_gen2
SET tags = update_tags(tags, geometry);
UPDATE osm_waterway_linestring_gen3
SET tags = update_tags(tags, geometry);
END
$$;