Skip to content

Commit

Permalink
Add abandoned: tags to phstore list
Browse files Browse the repository at this point in the history
The non-abandoned version of these tags are areas, so the abandoned
ones should be too.

Necessary for hotosm/HDM-CartoCSS#126.

Also defines area:highway as an area in default.style
  • Loading branch information
pnorman committed Sep 27, 2013
1 parent 86d1e0e commit 51b81f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions default.style
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,16 @@ node,way wood text linear
node,way z_order int4 linear # This is calculated during import
way way_area real # This is calculated during import

# Area tags
# We don't make columns for these tags, but objects with them are areas.
# Mainly for use with hstore
way abandoned:aeroway text phstore
way abandoned:amenity text phstore
way abandoned:building text phstore
way abandoned:landuse text phstore
way abandoned:power text phstore
way area:highway text phstore

# Deleted tags
# These are tags that are generally regarded as useless for most rendering.
# Most of them are from imports or intended as internal information for mappers
Expand Down
7 changes: 6 additions & 1 deletion empty.style
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@

# See default.style for documentation on all the flags

# OsmType Tag Type Flags
# OsmType Tag Type Flags
# Insert your own columns here, or change phstore to polygon below
way abandoned:aeroway text phstore
way abandoned:amenity text phstore
way abandoned:building text phstore
way abandoned:landuse text phstore
way abandoned:power text phstore
way area:highway text phstore
node,way aeroway text phstore
node,way amenity text phstore
Expand Down

0 comments on commit 51b81f4

Please sign in to comment.