Skip to content

Commit 60b6cd3

Browse files
committed
More work on roads
1 parent 834066d commit 60b6cd3

8 files changed

+12315
-2831
lines changed

ScaleRanges.ods

-325 Bytes
Binary file not shown.

global.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<queueType>UNBOUNDED</queueType>
3030
<imageIOCacheThreshold>10240</imageIOCacheThreshold>
3131
</coverageAccess>
32-
<updateSequence>862</updateSequence>
32+
<updateSequence>998</updateSequence>
3333
<featureTypeCacheSize>0</featureTypeCacheSize>
3434
<globalServices>true</globalServices>
3535
<xmlPostRequestLogBufferSize>1024</xmlPostRequestLogBufferSize>

osm/mapping.yml

+186-23
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,6 @@ tables:
7171
boundary:
7272
- administrative
7373
type: linestring
74-
aeroways:
75-
fields:
76-
- name: osm_id
77-
type: id
78-
- name: geometry
79-
type: geometry
80-
- key: name
81-
name: name
82-
type: string
83-
- name: type
84-
type: mapping_value
85-
mapping:
86-
aeroway:
87-
- runway
88-
- taxiway
89-
type: linestring
9074
amenities:
9175
fields:
9276
- name: osm_id
@@ -96,18 +80,127 @@ tables:
9680
- key: name
9781
name: name
9882
type: string
83+
- key: access
84+
name: access
85+
type: string
86+
- key: religion
87+
name: religion
88+
type: string
89+
- key: denomination
90+
name: denomination
91+
type: string
92+
- key: power_source
93+
name: power_source
94+
type: string
95+
- key: ele
96+
name: score
97+
type: integer
9998
- name: type
10099
type: mapping_value
101100
mapping:
101+
aeroway:
102+
- helipad
103+
- aerodrome
104+
tourism:
105+
- artwork
106+
- alpine_hut
107+
- camp_site
108+
- caravan_site
109+
- chalet
110+
- wilderness_hut
111+
- guest_house
112+
- hostel
113+
- hotel
114+
- motel
115+
- information
116+
- museum
117+
- viewpoint
118+
- picnic_site
102119
amenity:
103-
- university
104-
- school
105-
- library
120+
- shelter
121+
- atm
122+
- bank
123+
- bar
124+
- bicycle_rental
125+
- bus_station
126+
- cafe
127+
- car_rental
128+
- car_wash
129+
- cinema
130+
- clinic
131+
- community_centre
132+
- fire_station
133+
- fountain
106134
- fuel
107135
- hospital
108-
- fire_station
109-
- police
136+
- ice_cream
137+
- embassy
138+
- library
139+
- courthouse
110140
- townhall
141+
- parking
142+
- bicycle_parking
143+
- motorcycle_parking
144+
- pharmacy
145+
- doctors
146+
- dentist
147+
- place_of_worship
148+
- police
149+
- post_box
150+
- post_office
151+
- pub
152+
- biergarten
153+
- recycling
154+
- restaurant
155+
- food_court
156+
- fast_food
157+
- telephone
158+
- emergency_phone
159+
- taxi
160+
- theatre
161+
- toilets
162+
- drinking_water
163+
- prison
164+
- hunting_stand
165+
- nightclub
166+
- veterinary
167+
- social_facility
168+
- charging_station
169+
shop:
170+
- __any__
171+
leisure:
172+
- water_park
173+
- playground
174+
- miniature_golf
175+
- golf_course
176+
- picnic_table
177+
- slipway
178+
- dog_park
179+
man_made:
180+
- mast
181+
- water_tower
182+
- lighthouse
183+
- windmill
184+
- cross
185+
- obelisk
186+
natural:
187+
- peak
188+
- volcano
189+
- saddle
190+
- spring
191+
- cave_entrance
192+
historic:
193+
- memorial
194+
- monument
195+
- archaeological_site
196+
- wayside_cross
197+
highway:
198+
- bus_stop
199+
- elevator
200+
- traffic_signals
201+
- ford
202+
power:
203+
- generator
111204
type: point
112205
barrierpoints:
113206
fields:
@@ -183,6 +276,9 @@ tables:
183276
- key: aeroway
184277
name: aeroway
185278
type: string
279+
- key: building
280+
name: building
281+
type: string
186282
mapping:
187283
building:
188284
- __any__
@@ -492,8 +588,8 @@ tables:
492588
name: ref
493589
type: string
494590
- key: layer
495-
name: z_order
496-
type: wayzorder
591+
name: layer
592+
type: integer
497593
- key: access
498594
name: access
499595
type: string
@@ -512,23 +608,90 @@ tables:
512608
- key: surface
513609
name: surface
514610
type: string
611+
- key: tracktype
612+
name: tracktype
613+
type: string
614+
615+
('railway_rail', 440),
616+
('railway_INT-preserved-ssy', 430),
617+
('railway_INT-spur-siding-yard', 430),
618+
('railway_subway', 420),
619+
('railway_narrow_gauge', 420),
620+
('railway_light_rail', 420),
621+
('railway_preserved', 420),
622+
('railway_funicular', 420),
623+
('railway_monorail', 420),
624+
('railway_miniature', 420),
625+
('railway_turntable', 420),
626+
('railway_tram', 410),
627+
('railway_tram-service', 405),
628+
('railway_disused', 400),
629+
('railway_construction', 400),
630+
('highway_motorway', 380),
631+
('highway_trunk', 370),
632+
('highway_primary', 360),
633+
('highway_secondary', 350),
634+
('highway_tertiary', 340),
635+
('highway_residential', 330),
636+
('highway_unclassified', 330),
637+
('highway_road', 330),
638+
('highway_living_street', 320),
639+
('highway_pedestrian', 310),
640+
('highway_raceway', 300),
641+
('highway_motorway_link', 240),
642+
('highway_trunk_link', 230),
643+
('highway_primary_link', 220),
644+
('highway_secondary_link', 210),
645+
('highway_tertiary_link', 200),
646+
('highway_service', 150),
647+
('highway_track', 110),
648+
('highway_path', 100),
649+
('highway_footway', 100),
650+
('highway_bridleway', 100),
651+
('highway_cycleway', 100),
652+
('highway_steps', 100),
653+
('highway_platform', 90),
654+
('railway_platform', 90),
655+
('aeroway_runway', 60),
656+
('aeroway_taxiway', 50),
657+
('highway_construction', 10)
658+
659+
660+
515661
filters:
516662
exclude_tags:
517663
- - area
518664
- 'yes'
519665
mappings:
666+
aeroway:
667+
mapping:
668+
aeroway:
669+
- runway
670+
- taxiway
520671
railway:
521672
mapping:
522673
railway:
523674
- rail
524675
- tram
676+
- tram-service
677+
678+
railway:
679+
mapping:
680+
railway:
681+
- rail
682+
- tram
683+
- tram-service
525684
- light_rail
526685
- subway
527686
- narrow_gauge
528687
- preserved
529688
- funicular
530689
- monorail
531690
- disused
691+
- miniature
692+
- construction
693+
- platform
694+
- turntable
532695
roads:
533696
mapping:
534697
highway:

styles/buildings.css

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* @title gold polygon */
22
[@sd < 100k] {
33
fill: darken(#d9d0c9, 4%);
4+
stroke-width: 0.5;
45
[@sd < 25k] {
56
fill: #d9d0c9;
67
stroke: darken(#d9d0c9, 15%);

styles/buildings.sld

+2
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@
289289
<ogc:Literal>0.15</ogc:Literal>
290290
</ogc:Function>
291291
</sld:CssParameter>
292+
<sld:CssParameter name="stroke-width">0.5</sld:CssParameter>
292293
</sld:Stroke>
293294
</sld:PolygonSymbolizer>
294295
</sld:Rule>
@@ -425,6 +426,7 @@
425426
<ogc:Literal>0.15</ogc:Literal>
426427
</ogc:Function>
427428
</sld:CssParameter>
429+
<sld:CssParameter name="stroke-width">0.5</sld:CssParameter>
428430
</sld:Stroke>
429431
</sld:PolygonSymbolizer>
430432
</sld:Rule>

0 commit comments

Comments
 (0)