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.
This commit is contained in:
parent
da689f9e42
commit
24b9328a5f
Binary file not shown.
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 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
|
tunnel_field: &tunnel
|
||||||
key: tunnel
|
key: tunnel
|
||||||
name: is_tunnel
|
name: is_tunnel
|
||||||
|
|||||||
@ -6,15 +6,6 @@ $$
|
|||||||
BEGIN
|
BEGIN
|
||||||
UPDATE osm_waterway_linestring
|
UPDATE osm_waterway_linestring
|
||||||
SET tags = update_tags(tags, geometry);
|
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
|
END
|
||||||
$$;
|
$$;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user