-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathosm2pgsql.style
61 lines (55 loc) · 2.45 KB
/
osm2pgsql.style
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#Drag OSM xml file into a database with osm2pgsql
#osm2pgsql -d database_name -v -S style_file.style -U username -p table_prefix -c file_name.osm
# WAYS
node,way highway text
way cycleway text # bike lanes
way cycleway:left text # bike lanes
way cycleway:right text # bike lanes
way ref text # bus route numbers
node,way surface text
way lanes real # for rendering width
way maxspeed text # for rendering color. Is text for ' mph' suffix
node,way bicycle text
node,way access text
node,way bridge text
node,way cutting text
way tracktype text
way tunnel text
way embankment text
way route text # buses and stuff
way service text
way oneway text
node,way junction text
way width text # have never yet used this
way footway text # most likely used for 'sidewalk'
# BUILDINGS
node,way building text polygon
way building:levels real polygon
# LAND
node,way landuse text polygon
node,way construction text linear
# NATURAL
way natural text polygon
way water text polygon
way waterway text polygon
# POINTS (MOSTLY)
node,way shop text polygon # bicycle, etc
node,way capacity text # bike rack capacity
node,way covered text # bike racks
node,way place text polygon
node,way tourism text polygon # hostel?
node,way amenity text polygon # bicycle_parking, car_sharing
# OTHER
way area text linear
node,way aeroway text polygon
node,way barrier text linear
node,way layer real linear
node,way leisure text polygon
node,way man_made text polygon # embankment, pier
node,way name text
node,way short_name text # will use this column for labels
node,way loc_name text # will use this column for labels
node,way operator text linear
node,way railway text linear
node,way sport text polygon
node,way wall text linear