From: osm@osm.rrze Date: Tue, 7 Aug 2012 10:20:06 +0000 (+0200) Subject: initial checkin of rrze style - currently doing a bad rendering of bicycle parking X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?a=commitdiff_plain;h=548e522cf3717b2e74b8654bde0dc2710bc07b76;p=osmrrze.git initial checkin of rrze style - currently doing a bad rendering of bicycle parking --- diff --git a/styles/mapnik-osm-data/rrze-overlay.xml b/styles/mapnik-osm-data/rrze-overlay.xml new file mode 100644 index 0000000..bbd8fcd --- /dev/null +++ b/styles/mapnik-osm-data/rrze-overlay.xml @@ -0,0 +1,106 @@ + + +%entities; +]> + + &fontset-settings; + + + + + + points + + + (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure + from &prefix;_point + where amenity is not null + or shop is not null + or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','motel','museum','viewpoint','bed_and_breakfast','information','chalet') + or highway in ('bus_stop','traffic_signals','ford') + or man_made in ('mast','water_tower') + or historic in ('memorial','archaeological_site') + or waterway='lock' + or lock='yes' + or leisure in ('playground','slipway') + ) as points + &datasource-settings; + + + + points + + + (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic,leisure + from &prefix;_polygon + where amenity is not null + or shop is not null + or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','motel','museum','viewpoint','bed_and_breakfast','information','chalet') + or highway in ('bus_stop','traffic_signals') + or man_made in ('mast','water_tower') + or historic in ('memorial','archaeological_site') + or leisure='playground' + ) as points + &datasource-settings; + + + + + + text + + + (select way,amenity,shop,access,leisure,landuse,man_made,"natural",place,tourism,ele,name,ref,military,aeroway,waterway,historic,'yes'::text as point + from &prefix;_point + where amenity is not null + or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store','butcher','car','car_repair','bicycle','florist') + or leisure is not null + or landuse is not null + or tourism is not null + or "natural" is not null + or man_made in ('lighthouse','windmill') + or place='island' + or military='danger_area' + or aeroway='gate' + or waterway='lock' + or historic in ('memorial','archaeological_site') + ) as text + + &datasource-settings; + + + + text + + + (select way,aeroway,shop,access,amenity,leisure,landuse,man_made,"natural",place,tourism,NULL as ele,name,ref,military,waterway,historic,'no'::text as point + from &prefix;_polygon + where amenity is not null + or shop in ('supermarket','bakery','clothes','fashion','convenience','doityourself','hairdresser','department_store', 'butcher','car','car_repair','bicycle') + or leisure is not null + or landuse is not null + or tourism is not null + or "natural" is not null + or man_made in ('lighthouse','windmill') + or place='island' + or military='danger_area' + or historic in ('memorial','archaeological_site') + ) as text + + &datasource-settings; + + + diff --git a/styles/mapnik-osm-data/rrzesymbols/parking_bicycle.p.16.png b/styles/mapnik-osm-data/rrzesymbols/parking_bicycle.p.16.png new file mode 100644 index 0000000..1b263f3 Binary files /dev/null and b/styles/mapnik-osm-data/rrzesymbols/parking_bicycle.p.16.png differ