From 548e522cf3717b2e74b8654bde0dc2710bc07b76 Mon Sep 17 00:00:00 2001 From: "osm@osm.rrze" Date: Tue, 7 Aug 2012 12:20:06 +0200 Subject: [PATCH] initial checkin of rrze style - currently doing a bad rendering of bicycle parking --- styles/mapnik-osm-data/rrze-overlay.xml | 106 ++++++++++++++++++ .../rrzesymbols/parking_bicycle.p.16.png | Bin 0 -> 456 bytes 2 files changed, 106 insertions(+) create mode 100644 styles/mapnik-osm-data/rrze-overlay.xml create mode 100644 styles/mapnik-osm-data/rrzesymbols/parking_bicycle.p.16.png 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 0000000000000000000000000000000000000000..1b263f3420130c0d74a3420ebbbd41f75c7dc97f GIT binary patch literal 456 zcmV;(0XP1MP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyk; z5;PocHCn9z00BrzL_t(I%Z<~$OB_)Y1@PbK`hig!F{z_XVx?9J;y;ik7$HSS{)8Zs zCSWHvA_&&@R)Q8bHWqf)vW)~{VTd9Ggv8a=eHOkY&+++jVBpQ2`_8%d+&cxK1(O)V zmH!C%gq4f!Z1ANCRhGPYHw($l^=x;m&$h6S_0000