kopia lustrzana https://github.com/openmaptiles/openmaptiles
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
rodzic
da689f9e42
commit
24b9328a5f
Plik binarny nie jest wyświetlany.
Przed Szerokość: | Wysokość: | Rozmiar: 194 KiB Po Szerokość: | Wysokość: | Rozmiar: 169 KiB |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
$$;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue