Skip to content

Commit

Permalink
Add usage notes to openstreetmap-carto.style
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorman committed Jan 19, 2017
1 parent 7c0bd30 commit 0f4d11f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions openstreetmap-carto.style
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This is the osm2pgsql .style file for openstreetmap-carto.
# phstore is used instead of polygon,nocolumn to preserve compatibility
# with older osm2pgsql versions
# It is inteded to be used with openstreetmap-carto.lua and osm2pgsql Lua
# transforms. Full usage details are in INSTALL.md
# Among things, this means that the linear vs polygon distinction in this file
# doesn't matter, because that is set in the Lua and this file is only used for
# column names and types.

# OsmType Tag DataType Flags
node,way access text linear
Expand Down Expand Up @@ -30,7 +33,7 @@ node,way lock text linear
node,way man_made text polygon
node,way military text polygon
node,way name text linear
node,way natural text polygon # natural=coastline tags are discarded by a hard coded rule in osm2pgsql
node,way natural text polygon
node,way oneway text linear
node,way place text polygon
node,way power text polygon
Expand Down

0 comments on commit 0f4d11f

Please sign in to comment.