From: User for running Openstreetmap-things Date: Sat, 31 Jan 2015 22:47:00 +0000 (+0100) Subject: new in the overlay: draw bus stops and show which bus lines depart from there. X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?a=commitdiff_plain;h=73f79d8f12f1a443ae2e963b4450a8750fe6b65a;p=osmrrze.git new in the overlay: draw bus stops and show which bus lines depart from there. This isn't a graphically pleasing as it could be, the shieldsymbolizer placement-type list seems to be broken, so all routes are just drawn onto one label as a workaround.. --- diff --git a/styles/mapnik-osm-data/rrze-overlay.xml b/styles/mapnik-osm-data/rrze-overlay.xml index 0b58242..8242596 100644 --- a/styles/mapnik-osm-data/rrze-overlay.xml +++ b/styles/mapnik-osm-data/rrze-overlay.xml @@ -28,10 +28,49 @@ &maxscale_zoom15; [amenity] = 'bicycle_parking' and ([access] = 'public' or [access] = 'yes' or not [access] != '') - + + + points @@ -82,4 +121,16 @@ &datasource-settings; + + busstop + + + (select way,name,replace(tags->'line',',',';') as line,length(tags->'line') as llength + from &prefix;_point + where highway='bus_stop' or (public_transport='stop_position' and tags->'bus'='yes') + ) as busstop + + &datasource-settings; + + diff --git a/styles/mapnik-osm-data/rrzesymbols/bus_stop.svg b/styles/mapnik-osm-data/rrzesymbols/bus_stop.svg new file mode 100644 index 0000000..305bba2 --- /dev/null +++ b/styles/mapnik-osm-data/rrzesymbols/bus_stop.svg @@ -0,0 +1,87 @@ + + + + + + + + image/svg+xml + + + en + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/styles/mapnik-osm-data/rrzesymbols/busshield.svg b/styles/mapnik-osm-data/rrzesymbols/busshield.svg new file mode 100644 index 0000000..191f35c --- /dev/null +++ b/styles/mapnik-osm-data/rrzesymbols/busshield.svg @@ -0,0 +1,37 @@ + + + + + + + + image/svg+xml + + + + + + + + diff --git a/styles/mapnik-osm-data/rrzesymbols/busshieldwide.svg b/styles/mapnik-osm-data/rrzesymbols/busshieldwide.svg new file mode 100644 index 0000000..2d35392 --- /dev/null +++ b/styles/mapnik-osm-data/rrzesymbols/busshieldwide.svg @@ -0,0 +1,38 @@ + + + + + + + + image/svg+xml + + + + + + + +