Skip to content

Commit feb9d90

Browse files
committed
Add column flags to sample .style files
The behavior for columns without any flags is badly defined, and changing the lines above them can have odd results.
1 parent af06cb0 commit feb9d90

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

default.style

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ node,way admin_level text linear
8686
node,way aerialway text linear
8787
node,way aeroway text polygon
8888
node,way amenity text polygon
89-
node,way area text # hard coded support for area=1/yes => polygon is in osm2pgsql
89+
node,way area text polygon # hard coded support for area=1/yes => polygon is in osm2pgsql
9090
node,way barrier text linear
91-
node,way bicycle text
91+
node,way bicycle text linear
9292
node,way brand text linear
9393
node,way bridge text linear
9494
node,way boundary text linear
@@ -123,14 +123,14 @@ node,way office text polygon
123123
node,way oneway text linear
124124
node,way operator text linear
125125
node,way place text polygon
126-
node poi text
126+
node poi text linear
127127
node,way population text linear
128128
node,way power text polygon
129129
node,way power_source text linear
130130
node,way public_transport text polygon
131131
node,way railway text linear
132132
node,way ref text linear
133-
node,way religion text
133+
node,way religion text linear
134134
node,way route text linear
135135
node,way service text linear
136136
node,way shop text polygon
@@ -147,7 +147,7 @@ node,way wetland text polygon
147147
node,way width text linear
148148
node,way wood text linear
149149
node,way z_order int4 linear # This is calculated during import
150-
way way_area real # This is calculated during import
150+
way way_area real linear # This is calculated during import
151151

152152
# Area tags
153153
# We don't make columns for these tags, but objects with them are areas.

empty.style

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ node,way water text phstore
3434
node,way waterway text phstore
3535
node,way wetland text phstore
3636
node,way z_order int4 linear # This is calculated during import
37-
way way_area real # This is calculated during import
37+
way way_area real linear # This is calculated during import
3838

3939
# Deleted tags
4040
# These are tags that are generally regarded as useless for most rendering.

0 commit comments

Comments
 (0)