Shp-to-osm/tiger-rules.txt
Jump to navigation
Jump to search
Edit the source tags to match your data, user and date!
Note: tagging all points with source ID and source attributes may be undesirable due to space used in the database. The original tiger point tag data was recently removed to improve performance for everyone.
Commented items I had not matched to an OSM tag yet
# This is a comma-delimited format.
#
#US Tiger data rules V0.1
#By DaleP
#
#Edges, hydro, and point file features should be covered pretty well.
#
# Field: Description:
# 1 The shapefile type to match (outer, inner, line, point) (see below)
# 2 The source attribute name to match
# 3 The source attribute value to match. Can be empty to match all values.
# 4 The name of the tag to apply when the source key/value pair match.
# 5 The value of the tag to apply. Use a single dash ("-") to use the original value.
#
# The shape file types are:
# outer = The outer polygon of a MultiPolygon
# inner = The inner polygon of a MultiPolygon
# line = A line string of a MultiLineString
# point = A point of a PointString
#
# Type, SRC_title, SRC_value, OSM_tag, OSM_Vale
#
# Copy any names to the OSM name tag
outer,FULLNAME,,name,-
inner,FULLNAME,,name,-
line,FULLNAME,,name,-
point,FULLNAME,,name,-
# Copy the tiger TILD to an OSM tag if present
outer,TLID,,Tiger:TLID,-
inner,TLID,,Tiger:TLID,-
line,TLID,,Tiger:TLID,-
point,TLID,,Tiger:TLID,-
# Copy the tiger HYDROID to an OSM tag if present
outer,HYDROID,,Tiger:HYDROID,-
inner,HYDROID,,Tiger:HYDROID,-
line,HYDROID,,Tiger:HYDROID,-
point,HYDROID,,Tiger:HYDROID,-
# Copy the tiger MTFCC to an OSM tag if present
outer,MTFCC,,Tiger:MTFCC,-
inner,MTFCC,,Tiger:MTFCC,-
line,MTFCC,,Tiger:MTFCC,-
point,MTFCC,,Tiger:MTFCC,-
# Apply a Source tag to everything
outer,MTFCC,,Source,Tiger2008 by DaleP 2009-02-28
inner,MTFCC,,Source,Tiger2008 by DaleP 2009-02-28
line,MTFCC,,Source,Tiger2008 by DaleP 2009-02-28
point,MTFCC,,Source,Tiger2008 by DaleP 2009-02-28
#Edges MTFCC
outer,MTFCC,C3023,natural,land
outer,MTFCC,C3023,place,island
line,MTFCC,C3024,man_made,levee
line,MTFCC,C3027,waterway,dam
outer,MTFCC,C3027,waterway,dam
#line,MTFCC,H1100,man_made, Connector
line,MTFCC,K2432,man_made,pier
outer,MTFCC,K2451,aeroway,aerodrome
line,MTFCC,K2459,aeroway,runway
line,MTFCC,L4010,man_made,pipeline
line,MTFCC,L4020,power,line
line,MTFCC,L4031,aerialway,char_lift
#line,MTFCC,L4040,man_made, Conveyor
line,MTFCC,L4110,barrier,fence
line,MTFCC,L4121,natural,cliff
line,MTFCC,L4125,natural,cliff
outer,MTFCC,L4125,natural,cliff
#line,MTFCC,L4130,man_made, Point-to-Point Line
#line,MTFCC,L4140,boundry, Property/Parcel Line (Including PLSS)
line,MTFCC,L4165,route,ferry
line,MTFCC,P0001,boundry,civil
#line,MTFCC,P0002,boundry, Perennial Shoreline
#line,MTFCC,P0003,boundry, Intermittent Shoreline
#line,MTFCC,P0004,boundry, Other non-visible bounding Edge (e.g. Census water boundary boundary of an areal feature)
line,MTFCC,R1011,railway,rail
line,MTFCC,R1051,railway,tram
line,MTFCC,R1052,railway,tram
line,MTFCC,S1100,highway,motorway
line,MTFCC,S1200,highway,primary
line,MTFCC,S1400,highway,residential
line,MTFCC,S1500,highway,path
line,MTFCC,S1630,highway,motorway_link
line,MTFCC,S1640,highway,service
line,MTFCC,S1710,highway,pedestrian
line,MTFCC,S1720,highway,steps
line,MTFCC,S1730,service,alley
line,MTFCC,S1740,highway,track
line,MTFCC,S1750,service,driveway
line,MTFCC,S1780,service,parking_aisle
line,MTFCC,S1820,highway,cycleway
line,MTFCC,S1830,highway,bridleway
#hydro MTFCC
outer,MTFCC,H2025,natural,wetland
outer,MTFCC,H2030,natural,water
inner,MTFCC,H2030,natural,land
outer,MTFCC,H2040,landuse,reservoir
outer,MTFCC,H2041,man_made,wastewater_plant
outer,MTFCC,H2051,natural,bay
inner,MTFCC,H2051,natural,land
line,MTFCC,H2053,natural,coastline
outer,MTFCC,H3010,waterway,riverbank
inner,MTFCC,H3010,waterway,land
line,MTFCC,H3010,waterway,river
outer,MTFCC,H3013,waterway,riverbank
inner,MTFCC,H3013,waterway,land
line,MTFCC,H3013,waterway,stream
outer,MTFCC,H3020,waterway,riverbank
inner,MTFCC,H3020,waterway,land
line,MTFCC,H3020,waterway,canal
outer,MTFCC,H2060,natural,water
inner,MTFCC,H2060,natural,land
outer,MTFCC,H2081,natural,glacier
#point MTFCC
point,MTFCC,C3022,natural,peek
point,MTFCC,C3023,place,island
point,MTFCC,C3026,landuse,quarry
point,MTFCC,C3027,waterway,dam
point,MTFCC,C3061,highway,turning_circle
point,MTFCC,C3062,highway,mini_roundabout
point,MTFCC,C3066,barrier,gate
point,MTFCC,C3067,barrier,toll_booth
point,MTFCC,C3070,man_made,tower
point,MTFCC,C3071,man_made,tower
point,MTFCC,C3072,man_made,tower
point,MTFCC,C3073,man_made,water_tower
point,MTFCC,C3074,man_made,lighthouse
point,MTFCC,C3075,man_made,tank
point,MTFCC,C3076,man_made,windmill
point,MTFCC,C3076,power,generator
point,MTFCC,C3077,power,generator
point,MTFCC,C3078,historic,monument
point,MTFCC,C3079,historic,monument
point,MTFCC,C3080,man_made,survey_point
point,MTFCC,C3081,place,locality
point,MTFCC,C3085,place,village
point,MTFCC,C3088,landuse,landfill
#point,MTFCC,K1225,ftype, Crew-of-Vessel Location
point,MTFCC,K1231,amenity,hospital
point,MTFCC,K1236,amenity,prison
point,MTFCC,K1237,amenity,prison
point,MTFCC,K1238,amenity,prison
point,MTFCC,K1239,amenity,place_of_worship
point,MTFCC,K2110,landuse,military
point,MTFCC,K2146,amenity,community_center
#point,MTFCC,K2165,ftype, Government Center
#point,MTFCC,K2167,ftype, Convention Center
point,MTFCC,K2181,leisure,park
point,MTFCC,K2182,landuse,forest
point,MTFCC,K2183,leisure,park
point,MTFCC,K2184,leisure,park
point,MTFCC,K2185,leisure,park
point,MTFCC,K2186,leisure,park
point,MTFCC,K2187,leisure,park
point,MTFCC,K2188,leisure,park
point,MTFCC,K2189,leisure,park
point,MTFCC,K2190,leisure,park
#point,MTFCC,K2400,ftype, Transportation Terminal
point,MTFCC,K2451,aeroway,aerodrome
point,MTFCC,K2452,railway,station
point,MTFCC,K2453,amenity,bus_station
point,MTFCC,K2454,amenity,ferry_terminal
point,MTFCC,K2455,ftype, Seaplane Anchorage
point,MTFCC,K2456,aeroway,terminal
point,MTFCC,K2458,amenity,parking
point,MTFCC,K2459,aeroway,runway
point,MTFCC,K2460,aeroway,helipad
point,MTFCC,K2540,amenity,university
point,MTFCC,K2543,amenity,school
point,MTFCC,K2545,tourism,yes
point,MTFCC,K2561,leisure,golf_course
point,MTFCC,K2582,amenity,grave_yard
point,MTFCC,K2586,tourism,zoo
point,MTFCC,K3544,amenity,place_of_worship
#point,MTFCC,T1000,ftype, Connecting Node