Skip to content

Instantly share code, notes, and snippets.

@pnorman
Created March 7, 2014 19:34
Show Gist options
  • Save pnorman/9418259 to your computer and use it in GitHub Desktop.
Save pnorman/9418259 to your computer and use it in GitHub Desktop.
.style file for osm2pgsql POIs only
# This osm2pgsql style file contains amenities, shops and other POIs
# See default.style for documentation on all the flags
# OsmType Tag Type Flags
node,way name text linear
node,way amenity text polygon
node,way leisure text polygon
node,way shop text polygon
node,way tourism text polygon
node,way z_order int4 linear # This is calculated during import
way way_area real # This is calculated during import
# 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
# Some of them are automatically deleted by editors.
# If you want some of them, perhaps for a debugging layer, just delete the lines.
# These tags are used by mappers to keep track of data.
# They aren't very useful for rendering.
node,way note text delete
node,way note:* text delete
node,way source text delete
node,way source_ref text delete
node,way source:* text delete
node,way attribution text delete
node,way comment text delete
node,way fixme text delete
# Tags generally dropped by editors, not otherwise covered
node,way created_by text delete
node,way odbl text delete
node,way odbl:note text delete
node,way SK53_bulk:load text delete
# Lots of import tags
# TIGER (US)
node,way tiger:* text delete
# NHD (US)
# NHD has been converted every way imaginable
node,way NHD:* text delete
node,way nhd:* text delete
# GNIS (US)
node,way gnis:* text delete
# Geobase (CA)
node,way geobase:* text delete
# NHN (CA)
node,way accuracy:meters text delete
node,way sub_sea:type text delete
node,way waterway:type text delete
# KSJ2 (JA)
# See also note:ja and source_ref above
node,way KSJ2:* text delete
# Yahoo/ALPS (JA)
node,way yh:* text delete
# osak (DK)
node,way osak:* text delete
# kms (DK)
node,way kms:* text delete
# ngbe (ES)
# See also note:es and source:file above
node,way ngbe:* text delete
# naptan (UK)
node,way naptan:* text delete
# Corine (CLC) (Europe)
node,way CLC:* text delete
# misc
node,way 3dshapes:ggmodelk text delete
node,way AND_nosr_r text delete
node,way import text delete
node,way it:fvg:* text delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment