Skip to content

Commit 7e384cf

Browse files
committed
update osm style file #311
1 parent f48a763 commit 7e384cf

1 file changed

Lines changed: 76 additions & 74 deletions

File tree

dataprocessing/tools/osm2pgsql/oedb.style

Lines changed: 76 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# nocolumn - Override the above and don't create a column for the tag, but do
2828
# include objects with this tag
2929
#
30-
# phstore - Same as polygon,nocolumn for backward compatibility
30+
# phstore - Same as polygon for backward compatibility
3131
#
3232
# delete - Drop this tag completely and don't create a column for it. This also
3333
# prevents the tag from being added to hstore columns
@@ -81,85 +81,87 @@
8181
# end up in the tags hstore column regardless of the style file.
8282

8383
# OsmType Tag DataType Flags
84-
node,way access text linear,nocolumn
85-
node,way addr:housename text linear,nocolumn
86-
node,way addr:housenumber text linear,nocolumn
87-
node,way addr:interpolation text linear,nocolumn
88-
node,way admin_level text linear,nocolumn
89-
node,way aerialway text linear,nocolumn
90-
node,way aeroway text polygon,nocolumn
91-
node,way amenity text polygon,nocolumn
92-
node,way area text polygon,nocolumn # hard coded support for area=1/yes => polygon is in osm2pgsql
93-
node,way barrier text linear,nocolumn
94-
node,way bicycle text linear,nocolumn
95-
node,way brand text linear,nocolumn
96-
node,way bridge text linear,nocolumn
97-
node,way boundary text linear,nocolumn
98-
node,way building text polygon,nocolumn
99-
node capital text linear,nocolumn
100-
node,way construction text linear,nocolumn
101-
node,way covered text linear,nocolumn
102-
node,way culvert text linear,nocolumn
103-
node,way cutting text linear,nocolumn
104-
node,way denomination text linear,nocolumn
105-
node,way disused text linear,nocolumn
106-
node ele text linear,nocolumn
107-
node,way embankment text linear,nocolumn
108-
node,way foot text linear,nocolumn
109-
node,way generator:source text linear,nocolumn
110-
node,way harbour text polygon,nocolumn
111-
node,way highway text linear,nocolumn
112-
node,way historic text polygon,nocolumn
113-
node,way horse text linear,nocolumn
114-
node,way intermittent text linear,nocolumn
115-
node,way junction text linear,nocolumn
116-
node,way landuse text polygon,nocolumn
117-
node,way layer text linear,nocolumn
118-
node,way leisure text polygon,nocolumn
119-
node,way lock text linear,nocolumn
120-
node,way man_made text polygon,nocolumn
121-
node,way military text polygon,nocolumn
122-
node,way motorcar text linear,nocolumn
123-
node,way name text linear,nocolumn
124-
node,way natural text polygon,nocolumn # natural=coastline tags are discarded by a hard coded rule in osm2pgsql
125-
node,way office text polygon,nocolumn
126-
node,way oneway text linear,nocolumn
127-
node,way operator text linear,nocolumn
128-
node,way place text polygon,nocolumn
129-
node,way population text linear,nocolumn
130-
node,way power text polygon,nocolumn
131-
node,way power_source text linear,nocolumn
132-
node,way public_transport text polygon,nocolumn
133-
node,way railway text linear,nocolumn
134-
node,way ref text linear,nocolumn
135-
node,way religion text linear,nocolumn
136-
node,way route text linear,nocolumn
137-
node,way service text linear,nocolumn
138-
node,way shop text polygon,nocolumn
139-
node,way sport text polygon,nocolumn
140-
node,way surface text linear,nocolumn
141-
node,way toll text linear,nocolumn
142-
node,way tourism text polygon,nocolumn
143-
node,way tower:type text linear,nocolumn
144-
way tracktype text linear,nocolumn
145-
node,way tunnel text linear,nocolumn
146-
node,way water text polygon,nocolumn
147-
node,way waterway text polygon,nocolumn
148-
node,way wetland text polygon,nocolumn
149-
node,way width text linear,nocolumn
150-
node,way wood text linear,nocolumn
84+
node,way access text linear
85+
node,way addr:housename text linear
86+
node,way addr:housenumber text linear
87+
node,way addr:interpolation text linear
88+
node,way admin_level text linear
89+
node,way aerialway text linear
90+
node,way aeroway text polygon
91+
node,way amenity text polygon
92+
node,way area text polygon # hard coded support for area=1/yes => polygon is in osm2pgsql
93+
node,way barrier text linear
94+
node,way bicycle text linear
95+
node,way brand text linear
96+
node,way bridge text linear
97+
node,way boundary text linear
98+
node,way building text polygon
99+
node capital text linear
100+
node,way construction text linear
101+
node,way covered text linear
102+
node,way culvert text linear
103+
node,way cutting text linear
104+
node,way denomination text linear
105+
node,way disused text linear
106+
node ele text linear
107+
node,way embankment text linear
108+
node,way foot text linear
109+
node,way generator:source text linear
110+
node,way harbour text polygon
111+
node,way highway text linear
112+
node,way historic text polygon
113+
node,way horse text linear
114+
node,way intermittent text linear
115+
node,way junction text linear
116+
node,way landuse text polygon
117+
node,way layer text linear
118+
node,way leisure text polygon
119+
node,way line text linear # added manually
120+
node,way lock text linear
121+
node,way man_made text polygon
122+
node,way military text polygon
123+
node,way motorcar text linear
124+
node,way name text linear
125+
node,way natural text polygon # natural=coastline tags are discarded by a hard coded rule in osm2pgsql
126+
node,way office text polygon
127+
node,way oneway text linear
128+
node,way operator text linear
129+
node,way place text polygon
130+
node,way population text linear
131+
node,way power text polygon
132+
node,way power_source text linear
133+
node,way public_transport text polygon
134+
node,way railway text linear
135+
node,way ref text linear
136+
node,way religion text linear
137+
node,way route text linear
138+
node,way service text linear
139+
node,way sidewalk text linear
140+
node,way shop text polygon
141+
node,way sport text polygon
142+
node,way surface text linear
143+
node,way toll text linear
144+
node,way tourism text polygon
145+
node,way tower:type text linear
146+
way tracktype text linear
147+
node,way tunnel text linear
148+
node,way water text polygon
149+
node,way waterway text polygon
150+
node,way wetland text polygon
151+
node,way width text linear
152+
node,way wood text linear
151153
node,way z_order int4 linear # This is calculated during import
152154
way way_area real linear # This is calculated during import
153155

154156
# Area tags
155157
# We don't make columns for these tags, but objects with them are areas.
156158
# Mainly for use with hstore
157-
way abandoned:aeroway text polygon,nocolumn
158-
way abandoned:amenity text polygon,nocolumn
159-
way abandoned:building text polygon,nocolumn
160-
way abandoned:landuse text polygon,nocolumn
161-
way abandoned:power text polygon,nocolumn
162-
way area:highway text polygon,nocolumn
159+
way abandoned:aeroway text polygon
160+
way abandoned:amenity text polygon
161+
way abandoned:building text polygon
162+
way abandoned:landuse text polygon
163+
way abandoned:power text polygon
164+
way area:highway text polygon
163165

164166
# Deleted tags
165167
# These are tags that are generally regarded as useless for most rendering.

0 commit comments

Comments
 (0)