Re: [OSM-Niederbayern] Radl-Karte und Server
Servus Andreas, IE 8 und Opera (Windows & Linux) zeigen die Karte jetzt auch korrekt an, sehr schoen. Das Maperitive laeuft doch unter C#, oder? Hast Du es schonmal mit Mono auf Deinem Apple versucht? Super ist auch, dass die Relationen angezeigt werden. Die fehlen aber in der Legende, die ist ueberhaupt unten etwas abgeschnitten. Interessant waere bei der Legende auch noch (als Anregung), zu sehen, welche Tags zu welchem Layout fuehren. Es heisst zwar immer, man soll nicht fuer's Rendering taggen, aber oft gibt es zweifelhafte Situationen und da hilft es meiner Meinung nach schon zu sehen, wie das Ergebnis aussieht. Was Aenderungen mit JOSM oder im Wiki betriff kann ich Dir nur raten keine Scheu zu haben da rumzuaasen. Immerhin bist Du derzeit der aktivste bei diesem Thema und hast damit auch eine Gewisse Meinungshoheit. Und das gute an diesen Systemen ist, dass es immer eine Art Undo Funktion gibt. Es soll ja auch Leute geben, die schon die Flutmulde geflutet haben ;) A. PS: Bitte poste immer auch an die osm-ndb Mailingliste, weil das List-Archiv dann bei aehnlichen Problemen durchsucht werden kann.
Hi ----- Ursprüngliche Mitteilung -----
Servus Andreas,
IE 8 und Opera (Windows & Linux) zeigen die Karte jetzt auch korrekt an, sehr schoen.
Das Maperitive laeuft doch unter C#, oder? Hast Du es schonmal mit Mono auf Deinem Apple versucht?
Super ist auch, dass die Relationen angezeigt werden. Die fehlen aber in der Legende, die ist ueberhaupt unten etwas abgeschnitten.
Interessant waere bei der Legende auch noch (als Anregung), zu sehen, welche Tags zu welchem Layout fuehren. Es heisst zwar immer, man soll nicht fuer's Rendering taggen, aber oft gibt es zweifelhafte Situationen und da hilft es meiner Meinung nach schon zu sehen, wie das Ergebnis aussieht.
Was Aenderungen mit JOSM oder im Wiki betriff kann ich Dir nur raten keine Scheu zu haben da rumzuaasen. Immerhin bist Du derzeit der aktivste bei diesem Thema und hast damit auch eine Gewisse Meinungshoheit. Und das gute an diesen Systemen ist, dass es immer eine Art Undo Funktion gibt. Es soll ja auch Leute geben, die schon die Flutmulde geflutet haben ;)
ich hab mir erlaubt schon mal ein wenig was ins wiki yu basteln gruss tobi
A.
PS: Bitte poste immer auch an die osm-ndb Mailingliste, weil das List-Archiv dann bei aehnlichen Problemen durchsucht werden kann.
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Am 02.11.2011 10:29, schrieb Tobias Hobmeier:
ich hab mir erlaubt schon mal ein wenig was ins wiki yu basteln gruss tobi da das Thema Radlkarte für Landshut hervorgehoben werden sollte, bin ich dafür es aus "interessante Links" zu "Projekte" im Wiki zu verschieben.
Gruß MC
Soweit ich gesehen habe, hat Tobi zu dem Thema etwas bei 'Mapping Regeln' eingetragen, was m.E. auch begrenzt Sinn macht. Ansonsten stimme ich zu, den Rest zu den Projekten zu verschieben. Ich wuerde mich drum kuemmern. A. On Wed, 2 Nov 2011, Martin Czarkowski wrote:
Am 02.11.2011 10:29, schrieb Tobias Hobmeier:
ich hab mir erlaubt schon mal ein wenig was ins wiki yu basteln gruss tobi da das Thema Radlkarte für Landshut hervorgehoben werden sollte, bin ich dafür es aus "interessante Links" zu "Projekte" im Wiki zu verschieben.
Gruß MC _______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Hi Alexander, ich denke dass dass der von mir erstellte Inhalt unter Mapping Regeln gut aufgehoben ist (viel ist es ja auch nicht). Außer man möchte die Regeln unterhalb der einzelnen Projekte ansiedeln. (entgegen der jetzigen Struktur) Im Projekt Bereich fehlt es an imo an neuem Inhalt. Gruß Tobi Am 02.11.2011 11:58, schrieb Alexander Lehner:
Soweit ich gesehen habe, hat Tobi zu dem Thema etwas bei 'Mapping Regeln' eingetragen, was m.E. auch begrenzt Sinn macht. Ansonsten stimme ich zu, den Rest zu den Projekten zu verschieben. Ich wuerde mich drum kuemmern. Perfekt :-)
A.
On Wed, 2 Nov 2011, Martin Czarkowski wrote:
Am 02.11.2011 10:29, schrieb Tobias Hobmeier:
ich hab mir erlaubt schon mal ein wenig was ins wiki yu basteln gruss tobi da das Thema Radlkarte für Landshut hervorgehoben werden sollte, bin ich dafür es aus "interessante Links" zu "Projekte" im Wiki zu verschieben.
Gruß MC _______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Am 02.11.2011 12:21, schrieb Tobias Hobmeier:
ich denke dass dass der von mir erstellte Inhalt unter Mapping Regeln gut aufgehoben ist
ich finde, dass ihr beide Recht habt. Die Regeln für das Mappen gehören zu den Regeln, ins Projekt dagegen die technische Umsetzung, die Beschreibung der Skripte usw. usw. auch Stand der Genauigkeit, Fehler und Vollständigkeit gehören zum Projekt, haben wiederum mit den Mapping-Regeln nichts zu tun. Man kann das doch zweigleisig machen, oder? Gruß MC
Hallo, ich hänge hier mal mein aktuelles Maperitive-Rulescript dran (nicht als Anlage, sondern als Plaintext, weil sonst glaub ich die Mailingliste nicht mitmachen würde. Mein Problem ist die Unterscheidung der Routen in den Features, kann mir jemand einen Tipp geben, warum das nicht will? Sry, wenn der Projekt im Wiki vielleicht nicht Euren Vorstellungen entsprechen sollte, ich stelle grade fest, das ich in der Welt der Wikis massive Orientierungsschwierigkeiten habe... Aber ich bleibe dran :) ----------------------- // Version vom 21.7.2011 properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : bold font-family : Verdana text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 map.rendering.lflp.max-compression : 0.7 map.rendering.lflp.min-buffer-space : 1 map.rendering.lflp.max-allowed-corner-angle : 120 features points, areas bicycle parking : amenity=bicycle_parking mini roundabout : highway=mini_roundabout gate : barrier=gate bollard : barrier=bollard // These are not shown on Mapnik puffin : crossing_ref=puffin areas building : building=yes pedestrian : highway=pedestrian beach : natural=beach water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin village green : landuse=village_green forest : landuse=forest OR natural=wood farm : landuse=farm grass : landuse=grass fell : natural=fell glacier : natural=glacier national park : boundary=national_park allotments : landuse=allotments academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] meadow : natural=meadow OR landuse=meadow nature reserve : leisure=nature_reserve playground : leisure=playground car park: amenity=parking track : leisure=track graveyard : amenity=grave_yard OR landuse=cemetery military : landuse=military OR military=barracks park : leisure=park leisure garden : leisure=garden leisure pitch : leisure=pitch leisure stadium : leisure=stadium landuse retail : landuse=retail landuse industrial : landuse=industrial commercial area : landuse=commercial residential area : landuse=residential aeroway apron : aeroway=apron aeroway terminal : aeroway=terminal lines tick : line=tick tick label : line=tick_label cycleway left track : cycleway:left=track OR cycleway=track OR cycleway=both cycleway right track : cycleway:right=track OR cycleway=track OR cycleway=both bicycle_road : bicycle_road=yes highway footway : highway=footway highway cycleway : highway=cycleway highway path : highway=path // Unterscheidung der Radrouten nach Überregional, Regional und Lokal ncn route : relation[type=route AND route=bicycle AND network=ncn] rcn route : relation[type=route AND route=bicycle AND network=rcn] lcn route : relation[type=route AND route=bicycle AND network=lcn] // Unterscheidung der lokalen Landshuter Routen nach offiziell und Empfehlung adfc route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"ADFC Landshut")] stadt route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"Stadt Landshut")] cycling route : relation[type=route AND route=bicycle] coastline : natural=coastline river : waterway=river stream : waterway=stream canal : waterway=canal drain : waterway=drain railway : railway=rail line barrier : barrier=wall OR barrier=fence highway motorway : highway=motorway highway motorway link : highway=motorway_link highway trunk : highway=trunk highway trunk link: highway=trunk_link highway primary link : highway=primary_link highway primary : highway=primary highway secondary : highway=secondary highway tertiary : highway=tertiary highway unclassified : highway=unclassified highway residential : highway=residential highway living street : highway=living_street highway service : highway=service highway pedestrian : highway=pedestrian highway track : highway=track highway private : access=private AND highway highway steps : highway=steps bridge foot : bridge=yes AND (foot=yes OR highway=footway) historic citywalls : historic=citywalls OR historic=city_wall aeroway runway : aeroway=runway aeroway taxiway : aeroway=taxiway points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb rules target : $featuretype(point) if : place* define font-weight : bold if : *city define font-size : 6:8;14:20 min-zoom : 6 max-zoom : 14 elseif : *town define font-size : 9:8;12:10;20:20 min-zoom : 9 elseif : *village define font-size : 12:10;20:20 min-zoom : 12 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 13 text-color : white black 50% draw : text target : playground define fill-color : #CCFEF0 line-style : none draw : fill define line-color : #ADCCB5 line-width : 1 draw : line define min-zoom : 17 draw : text target : $featuretype(area) define line-style : none line-width : 1 if : forest define min-zoom : 9 fill-color : #8DC56C white 50% elseif : pedestrian define min-zoom : 13 fill-color : blue white 85% elseif : beach define min-zoom : 10 fill-color : #FEFEC0 elseif : farm define min-zoom : 9 fill-color : #E9D8BD white 50% elseif : fell define fill-color : #C5FF5B black 10% elseif : water define fill-color : #B5D0D0 elseif : residential area define fill-color : #DCDCDC white 50% elseif : grass define fill-color : #CFECA8 white 50% elseif : allotments define fill-color : #C8B084 white 50% elseif : meadow define fill-color : #CFECA8 white 50% elseif : nature reserve define fill-color : #ABDE96 white 50% elseif : car park define fill-color : #F6EEB7 white 50% elseif : park define fill-color : #C0F6B0 white 50% elseif : leisure garden define fill-color : #CFECA8 white 50% elseif : graveyard define fill-color : #A9CAAE white 50% elseif : building define fill-color : #BCA9A9 white 50% elseif : leisure pitch define fill-color : #89D2AE white 50% elseif : leisure stadium define fill-color : #33CC99 white 50% elseif : track define fill-color : #74DCBA elseif : village green define fill-color : #CFECA8 white 50% elseif : landuse retail define fill-color : #F0D9D9 line-color : #F4A19E draw : line elseif : landuse industrial define fill-color : #DFD1D6 white 50% elseif : commercial area define fill-color : #EFC8C8 white 50% elseif : military define fill-color : #FE9898 white 50% elseif : aeroway* define fill-color : #E9D1FE elseif : glacier define fill-color : #DDECEC line-style : dash line-color : #DDECEC black 10% else stop draw : fill define min-zoom : 17 draw : text // Draw the cycling-routes over all ways: target : * route define line-color : #FF00FF line-style : solid line-opacity : 1 if : ncn* define line-color : green if : rcn* define line-color : red // das hier scheint nicht zu gehen if : adfc* define line-color : orange // das hier scheint nicht zu gehen if : stadt* define line-color : blue draw : line draw : text target : aeroway runway define min-zoom : 11 line-color : #BBBBCC line-width : 11:2;15:20 draw : line target : aeroway taxiway define min-zoom : 11 line-color : #BBBBCC line-width : 11:1;15:6 draw : line target : glacier define min-zoom : 10 text-color : #A3A3FE draw : text target : academic define fill-color : #F0F0D8 line-style : none draw : fill define line-color : #E5D2CC line-width : 1 draw : line target : national park define fill-color : #8DC56C fill-opacity : 0.2 line-style : none draw : fill define line-color : #8DC56C black 20% line-opacity : 0.5 line-width : 3 line-style : dash font-size : 3:3;12:12 text-color : green font-weight : normal draw : line draw : text target : tick define min-zoom : 13 line-color : black line-width : 13:1;18:4 line-style : solid draw : line target : tick label define min-zoom : 13 font-size : 13:8;16:14;18:20;19:18 text : label draw : text target : railway define min-zoom : 13 line-color : gray line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 2 border-style : solid border-color : gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line target : highway private define min-zoom : 15 line-width : 4 line-style : dash line-color : #F7D4D4 draw : line target : cycleway *track define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-offset : 13:2;16:9;18:15 border-width : 0 if : cycleway left track define line-offset-sides : left if : cycleway right track define line-offset-sides : right draw : line target : highway* define line-join : round line-start-cap : round line-end-cap : round if : *footway define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text elseif : *cycleway define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-style : solid border-width : 0 font-size : 15:9;18:12;19:18 draw : line draw : text elseif : *path define min-zoom : 13 line-color : #6E7C6D black 50% line-width : 13:1;15:2;18:3 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=no OR vehicle=no define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 border-width : 0 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text target : bicycle_road define min-zoom : 10 line-color : #FFFF00 line-opacity : 0.95 line-style : solid line-width : 10:1;14:5;18:10 draw : line target : highway* define font-size : 15:9;18:12;19:18 font-weight : bold for : oneway=yes OR oneway=true OR oneway=-1 define min-zoom : 15 shape : custom shape-def : 60,0,20,-50,20,-20,-60,-20,-60,20,20,20,20,50;Z shape-size : 20 shape-aspect : 0.75 shape-spacing : 6 fill-color : #6C70D4 line-style : none for : "oneway:bicycle"=no OR cycleway=opposite OR cycleway=opposite_lane OR cycleway=opposite_track define fill-color : white line-style : solid line-color : #6C70D4 line-width : 100% for : oneway=-1 define angle : 180 draw : shape define line-style : solid line-join : round line-start-cap : round line-end-cap : round if : *motorway* if : *link define line-width : 7:1;12:3;13:4;16:5;18:6 else define line-width : 7:1;9:2;12:3;13:7;16:10;18:12 define min-zoom : 12 line-color : #849BBD white 50% border-style : solid border-color : #849BBD black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text define min-zoom : 10 max-zoom : 20 font-family : Tahoma text-align-horizontal : center text-align-vertical : center text : ref font-size : 12 text-color : #fcfcfb text-halo-width : 0 shape : custom shape-def : p:#809bc0;pw:5;f:#809bc0;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z;p:#fcfcfb;pw:2;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z shield-padding-left : 5 shield-padding-right : 5 shield-padding-top : 7 shield-padding-bottom : 7 shield-resize-mode : free draw : shield elseif : *trunk* define min-zoom : 12 line-color : #96D296 white 50% line-width : 11:1;13:2;15:10;18:12 border-style : solid border-color : #96D296 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *primary* define min-zoom : 11 line-color : #ECA2A3 white 50% line-width : 11:2;12:2;15:10;18:12 border-style : solid border-color : #ECA2A3 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 11 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *secondary define min-zoom : 12 line-color : #FDD6A4 white 50% line-width : 10:1;11:2;13:2;15:10;18:12 border-style : solid border-color : #CAA36F black 50% border-width : 20% draw : line define min-zoom : 8.5 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *tertiary define min-zoom : 13 line-color : #FEFEB2 white 50% line-width : 10:1;13:2;15:10;18:12 border-style : solid border-color : #FEFEB2 black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 line-color : white black 25% border-style : none draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *service define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *pedestrian define min-zoom : 13 line-color : #EDEDED line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #B1B1B1 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : $regex("(.*residential)|(.*unclassified)") define min-zoom : 13 line-color : white line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 75% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 25% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *living street define min-zoom : 13 line-color : blue white 90% line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 10% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *track define min-zoom : 12.5 line-color : #9D7517 black 50% line-width : 1.5 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 draw : line draw : text else stop target : highway steps define min-zoom : 16 shape : custom shape-def : -1,1, -1,-1, 1,-1, 1,1;Z shape-spacing : 2 shape-size : 16:1;20:3 shape-aspect : 3 fill-color : #F98072 line-style : none font-size : 15:9;18:12;19:18 draw : shape draw : text target : line barrier define min-zoom : 13 line-color : black line-width : 1 draw : line target : bridge foot define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 15% draw : line draw : text target : historic citywalls define min-zoom : 13 line-color : #8D968D line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 draw : line draw : text define target : river define line-color : #B5D0D0 line-width : 7:1;12:2;14:5 draw : line target : canal define min-zoom : 12 line-color : #B5D0D0 line-width : 12:1;17:8 draw : line target : drain define min-zoom : 13 line-color : #B5D0D0 line-width : 1 draw : line target : stream define min-zoom : 13 line-color : #B5D0D0 line-width : 13:1;15:2 draw : line target: bicycle parking define icon-image : icons/SJJB/png/transport_parking_bicycle.n.32.png text-offset-horizontal : 60% text-offset-vertical : -75% text : capacity min-zoom : 15 icon-width : 16 draw : text draw : icon target: mini roundabout define icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png min-zoom : 16 icon-width : 9 draw : icon target : puffin define icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png min-zoom : 16 icon-width : 16 draw : icon target : gate define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png min-zoom : 16 icon-width : 7 draw : icon target : bollard define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bollard.p... min-zoom : 16 icon-width : 7 draw : icon target: coastline define line-color : #B5D0D0 line-width : 2 draw : line --------------------------------------- Mit freundlichem Gruß, Andreas Hippauf andreas.hippauf@adfc-landshut.de http://www.adfc-landshut.de ADFC Landshut Innere Regensburger Str. 6a 84034 Landshut Tel.: 0871 / 24601 Handy: 0160 962 87 892 Am 03.11.2011 um 11:14 schrieb Alexander Lehner:
On Thu, 3 Nov 2011, Martin Czarkowski wrote:
Man kann das doch zweigleisig machen, oder?
Genau das war mein Plan. Muss nur noch in die Tat umgesetzt werden...
A.
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Hallo Andreas, ich habe gerade auch heute Abend Dein Zeug von der Rubrik 'interessante Links' auf 'Projekte' umgezogen, vielleicht deshalb die Verwirrung, weil wir gleichzeitig editiert haben. Aber keine Angst, ist alles wunderbar, habe Deinen Edit auch gleich entdeckt! Ich habe aber die Testroute vom Bahnhof zur Altstadt aktuell noch nicht finden koennen. Hast Du die neuen Tiles schon hochgeladen? Kleine Anregung: die Permalink Option waere auf Deiner slippy map noch sehr praktisch, ich habe aber leider keinen blassen Schimmer wie das geht. Die Idee, die Routen in Relationen zusammenfassen und das anhand des operator Tags zu unterscheiden finde ich auch vernuenftig. Nur so bekommst Du m.E. das hin was es ergeben soll. Ausserdem habe ich Karlo's OpenStreetBug Aufzaehlung ebenfalls unter 'Projekte' aufgelistet. Beide haben auch screenshots bekommen, damit's ein wenig intuitiver wird! A. On Thu, 3 Nov 2011, Andreas Hippauf wrote:
Hallo,
ich hänge hier mal mein aktuelles Maperitive-Rulescript dran (nicht als Anlage, sondern als Plaintext, weil sonst glaub ich die Mailingliste nicht mitmachen würde. Mein Problem ist die Unterscheidung der Routen in den Features, kann mir jemand einen Tipp geben, warum das nicht will?
Sry, wenn der Projekt im Wiki vielleicht nicht Euren Vorstellungen entsprechen sollte, ich stelle grade fest, das ich in der Welt der Wikis massive Orientierungsschwierigkeiten habe... Aber ich bleibe dran :)
----------------------- // Version vom 21.7.2011 properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : bold font-family : Verdana text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 map.rendering.lflp.max-compression : 0.7 map.rendering.lflp.min-buffer-space : 1 map.rendering.lflp.max-allowed-corner-angle : 120
features points, areas bicycle parking : amenity=bicycle_parking mini roundabout : highway=mini_roundabout gate : barrier=gate bollard : barrier=bollard
// These are not shown on Mapnik puffin : crossing_ref=puffin
areas building : building=yes pedestrian : highway=pedestrian beach : natural=beach water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin village green : landuse=village_green forest : landuse=forest OR natural=wood farm : landuse=farm grass : landuse=grass fell : natural=fell glacier : natural=glacier national park : boundary=national_park allotments : landuse=allotments academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] meadow : natural=meadow OR landuse=meadow nature reserve : leisure=nature_reserve playground : leisure=playground car park: amenity=parking track : leisure=track graveyard : amenity=grave_yard OR landuse=cemetery military : landuse=military OR military=barracks park : leisure=park leisure garden : leisure=garden leisure pitch : leisure=pitch leisure stadium : leisure=stadium landuse retail : landuse=retail landuse industrial : landuse=industrial commercial area : landuse=commercial residential area : landuse=residential aeroway apron : aeroway=apron aeroway terminal : aeroway=terminal
lines tick : line=tick tick label : line=tick_label cycleway left track : cycleway:left=track OR cycleway=track OR cycleway=both cycleway right track : cycleway:right=track OR cycleway=track OR cycleway=both bicycle_road : bicycle_road=yes highway footway : highway=footway highway cycleway : highway=cycleway highway path : highway=path // Unterscheidung der Radrouten nach Überregional, Regional und Lokal ncn route : relation[type=route AND route=bicycle AND network=ncn] rcn route : relation[type=route AND route=bicycle AND network=rcn] lcn route : relation[type=route AND route=bicycle AND network=lcn] // Unterscheidung der lokalen Landshuter Routen nach offiziell und Empfehlung adfc route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"ADFC Landshut")] stadt route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"Stadt Landshut")] cycling route : relation[type=route AND route=bicycle] coastline : natural=coastline river : waterway=river stream : waterway=stream canal : waterway=canal drain : waterway=drain railway : railway=rail line barrier : barrier=wall OR barrier=fence highway motorway : highway=motorway highway motorway link : highway=motorway_link highway trunk : highway=trunk highway trunk link: highway=trunk_link highway primary link : highway=primary_link highway primary : highway=primary highway secondary : highway=secondary highway tertiary : highway=tertiary highway unclassified : highway=unclassified highway residential : highway=residential highway living street : highway=living_street highway service : highway=service highway pedestrian : highway=pedestrian highway track : highway=track highway private : access=private AND highway highway steps : highway=steps bridge foot : bridge=yes AND (foot=yes OR highway=footway) historic citywalls : historic=citywalls OR historic=city_wall
aeroway runway : aeroway=runway aeroway taxiway : aeroway=taxiway
points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb
rules
target : $featuretype(point) if : place* define font-weight : bold
if : *city define font-size : 6:8;14:20 min-zoom : 6 max-zoom : 14 elseif : *town define font-size : 9:8;12:10;20:20 min-zoom : 9 elseif : *village define font-size : 12:10;20:20 min-zoom : 12 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 13 text-color : white black 50% draw : text
target : playground define fill-color : #CCFEF0 line-style : none draw : fill define line-color : #ADCCB5 line-width : 1 draw : line define min-zoom : 17 draw : text
target : $featuretype(area) define line-style : none line-width : 1 if : forest define min-zoom : 9 fill-color : #8DC56C white 50% elseif : pedestrian define min-zoom : 13 fill-color : blue white 85% elseif : beach define min-zoom : 10 fill-color : #FEFEC0 elseif : farm define min-zoom : 9 fill-color : #E9D8BD white 50% elseif : fell define fill-color : #C5FF5B black 10% elseif : water define fill-color : #B5D0D0 elseif : residential area define fill-color : #DCDCDC white 50% elseif : grass define fill-color : #CFECA8 white 50% elseif : allotments define fill-color : #C8B084 white 50% elseif : meadow define fill-color : #CFECA8 white 50% elseif : nature reserve define fill-color : #ABDE96 white 50% elseif : car park define fill-color : #F6EEB7 white 50% elseif : park define fill-color : #C0F6B0 white 50% elseif : leisure garden define fill-color : #CFECA8 white 50% elseif : graveyard define fill-color : #A9CAAE white 50% elseif : building define fill-color : #BCA9A9 white 50% elseif : leisure pitch define fill-color : #89D2AE white 50% elseif : leisure stadium define fill-color : #33CC99 white 50% elseif : track define fill-color : #74DCBA elseif : village green define fill-color : #CFECA8 white 50% elseif : landuse retail define fill-color : #F0D9D9 line-color : #F4A19E draw : line elseif : landuse industrial define fill-color : #DFD1D6 white 50% elseif : commercial area define fill-color : #EFC8C8 white 50% elseif : military define fill-color : #FE9898 white 50% elseif : aeroway* define fill-color : #E9D1FE elseif : glacier define fill-color : #DDECEC line-style : dash line-color : #DDECEC black 10% else stop draw : fill define min-zoom : 17 draw : text
// Draw the cycling-routes over all ways: target : * route define line-color : #FF00FF line-style : solid line-opacity : 1 if : ncn* define line-color : green if : rcn* define line-color : red // das hier scheint nicht zu gehen if : adfc* define line-color : orange // das hier scheint nicht zu gehen if : stadt* define line-color : blue draw : line draw : text
target : aeroway runway define min-zoom : 11 line-color : #BBBBCC line-width : 11:2;15:20 draw : line
target : aeroway taxiway define min-zoom : 11 line-color : #BBBBCC line-width : 11:1;15:6 draw : line
target : glacier define min-zoom : 10 text-color : #A3A3FE draw : text
target : academic define fill-color : #F0F0D8 line-style : none draw : fill define line-color : #E5D2CC line-width : 1 draw : line
target : national park define fill-color : #8DC56C fill-opacity : 0.2 line-style : none draw : fill define line-color : #8DC56C black 20% line-opacity : 0.5 line-width : 3 line-style : dash font-size : 3:3;12:12 text-color : green font-weight : normal draw : line draw : text
target : tick define min-zoom : 13 line-color : black line-width : 13:1;18:4 line-style : solid draw : line
target : tick label define min-zoom : 13 font-size : 13:8;16:14;18:20;19:18 text : label draw : text
target : railway define min-zoom : 13 line-color : gray line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 2 border-style : solid border-color : gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line
target : highway private define min-zoom : 15 line-width : 4 line-style : dash line-color : #F7D4D4 draw : line
target : cycleway *track define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-offset : 13:2;16:9;18:15 border-width : 0 if : cycleway left track define line-offset-sides : left if : cycleway right track define line-offset-sides : right draw : line
target : highway* define line-join : round line-start-cap : round line-end-cap : round
if : *footway define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text elseif : *cycleway define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-style : solid border-width : 0 font-size : 15:9;18:12;19:18 draw : line draw : text elseif : *path define min-zoom : 13 line-color : #6E7C6D black 50% line-width : 13:1;15:2;18:3 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=no OR vehicle=no define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 border-width : 0 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text
target : bicycle_road define min-zoom : 10 line-color : #FFFF00 line-opacity : 0.95 line-style : solid line-width : 10:1;14:5;18:10 draw : line
target : highway* define font-size : 15:9;18:12;19:18 font-weight : bold
for : oneway=yes OR oneway=true OR oneway=-1 define min-zoom : 15 shape : custom shape-def : 60,0,20,-50,20,-20,-60,-20,-60,20,20,20,20,50;Z shape-size : 20 shape-aspect : 0.75 shape-spacing : 6 fill-color : #6C70D4 line-style : none for : "oneway:bicycle"=no OR cycleway=opposite OR cycleway=opposite_lane OR cycleway=opposite_track define fill-color : white line-style : solid line-color : #6C70D4 line-width : 100% for : oneway=-1 define angle : 180 draw : shape
define line-style : solid line-join : round line-start-cap : round line-end-cap : round
if : *motorway* if : *link define line-width : 7:1;12:3;13:4;16:5;18:6 else define line-width : 7:1;9:2;12:3;13:7;16:10;18:12 define min-zoom : 12 line-color : #849BBD white 50% border-style : solid border-color : #849BBD black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text define min-zoom : 10 max-zoom : 20 font-family : Tahoma text-align-horizontal : center text-align-vertical : center text : ref font-size : 12 text-color : #fcfcfb text-halo-width : 0 shape : custom shape-def : p:#809bc0;pw:5;f:#809bc0;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z;p:#fcfcfb;pw:2;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z shield-padding-left : 5 shield-padding-right : 5 shield-padding-top : 7 shield-padding-bottom : 7 shield-resize-mode : free draw : shield elseif : *trunk* define min-zoom : 12 line-color : #96D296 white 50% line-width : 11:1;13:2;15:10;18:12 border-style : solid border-color : #96D296 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *primary* define min-zoom : 11 line-color : #ECA2A3 white 50% line-width : 11:2;12:2;15:10;18:12 border-style : solid border-color : #ECA2A3 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 11 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *secondary define min-zoom : 12 line-color : #FDD6A4 white 50% line-width : 10:1;11:2;13:2;15:10;18:12 border-style : solid border-color : #CAA36F black 50% border-width : 20% draw : line define min-zoom : 8.5 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *tertiary define min-zoom : 13 line-color : #FEFEB2 white 50% line-width : 10:1;13:2;15:10;18:12 border-style : solid border-color : #FEFEB2 black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 line-color : white black 25% border-style : none draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *service define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *pedestrian define min-zoom : 13 line-color : #EDEDED line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #B1B1B1 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : $regex("(.*residential)|(.*unclassified)") define min-zoom : 13 line-color : white line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 75% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 25% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *living street define min-zoom : 13 line-color : blue white 90% line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 10% draw : line define min-zoom : 15 max-zoom : 20 draw : text
elseif : *track define min-zoom : 12.5 line-color : #9D7517 black 50% line-width : 1.5 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 draw : line draw : text else stop
target : highway steps define min-zoom : 16 shape : custom shape-def : -1,1, -1,-1, 1,-1, 1,1;Z shape-spacing : 2 shape-size : 16:1;20:3 shape-aspect : 3 fill-color : #F98072 line-style : none font-size : 15:9;18:12;19:18 draw : shape draw : text
target : line barrier define min-zoom : 13 line-color : black line-width : 1 draw : line
target : bridge foot define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 15% draw : line draw : text
target : historic citywalls define min-zoom : 13 line-color : #8D968D line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 draw : line draw : text
define
target : river define line-color : #B5D0D0 line-width : 7:1;12:2;14:5 draw : line
target : canal define min-zoom : 12 line-color : #B5D0D0 line-width : 12:1;17:8 draw : line
target : drain define min-zoom : 13 line-color : #B5D0D0 line-width : 1 draw : line target : stream define min-zoom : 13 line-color : #B5D0D0 line-width : 13:1;15:2 draw : line
target: bicycle parking define icon-image : icons/SJJB/png/transport_parking_bicycle.n.32.png text-offset-horizontal : 60% text-offset-vertical : -75% text : capacity min-zoom : 15 icon-width : 16 draw : text draw : icon
target: mini roundabout define icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png min-zoom : 16 icon-width : 9 draw : icon
target : puffin define icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png min-zoom : 16 icon-width : 16 draw : icon
target : gate define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png min-zoom : 16 icon-width : 7 draw : icon
target : bollard define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bollard.p... min-zoom : 16 icon-width : 7 draw : icon
target: coastline define line-color : #B5D0D0 line-width : 2 draw : line ---------------------------------------
Mit freundlichem Gruß,
Andreas Hippauf andreas.hippauf@adfc-landshut.de http://www.adfc-landshut.de
ADFC Landshut Innere Regensburger Str. 6a
84034 Landshut
Tel.: 0871 / 24601 Handy: 0160 962 87 892
Am 03.11.2011 um 11:14 schrieb Alexander Lehner:
On Thu, 3 Nov 2011, Martin Czarkowski wrote:
Man kann das doch zweigleisig machen, oder?
Genau das war mein Plan. Muss nur noch in die Tat umgesetzt werden...
A.
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Soweit ich Dein Problem ueberrissen habe, ist es so, dass diese 'lines' Definitionen // Unterscheidung der lokalen Landshuter Routen nach offiziell und Empfehlung adfc route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"ADFC Landshut")] stadt route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"Stadt Landshut")] Nie anschlagen, und du haettest die beiden operators gerne in orangen und blauen Linien gezeichnet, oder? Mal nur auf bloed geschaetzt, kann es sein das das @isMatch(operator,"ADFC Landshut") nicht greift und das Leerzeichen vielleicht durch ein _ ersetzt werden muss? Z.B. so wie hier: bicycle parking : amenity=bicycle_parking mini roundabout : highway=mini_roundabout ODER: 'adfc route' wird nicht ge-matched, weil es bereits vorher durch 'lcn route' schon gefunden wurde. Vielleicht bringt es ja was, die Reihenfolge dieser Definitionen umzustellen, oder auch z.B. bei 'lcn route' so etwas wie '... and NOT @isMatch(operator, "ADFC Landshut" )' reinzuschreiben? Aber das ist natuerlich alles nur Ferndiagnose, ich hab mit Maperative noch nie rumgespielt. Vielleicht sollte ich mir das mal antun, hab schon fast ein schlechtes Gewissen, ob Deiner vielen Bemuehungen! A. On Thu, 3 Nov 2011, Andreas Hippauf wrote:
Hallo,
ich hänge hier mal mein aktuelles Maperitive-Rulescript dran (nicht als Anlage, sondern als Plaintext, weil sonst glaub ich die Mailingliste nicht mitmachen würde. Mein Problem ist die Unterscheidung der Routen in den Features, kann mir jemand einen Tipp geben, warum das nicht will?
Sry, wenn der Projekt im Wiki vielleicht nicht Euren Vorstellungen entsprechen sollte, ich stelle grade fest, das ich in der Welt der Wikis massive Orientierungsschwierigkeiten habe... Aber ich bleibe dran :)
----------------------- // Version vom 21.7.2011 properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : bold font-family : Verdana text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 map.rendering.lflp.max-compression : 0.7 map.rendering.lflp.min-buffer-space : 1 map.rendering.lflp.max-allowed-corner-angle : 120
features points, areas bicycle parking : amenity=bicycle_parking mini roundabout : highway=mini_roundabout gate : barrier=gate bollard : barrier=bollard
// These are not shown on Mapnik puffin : crossing_ref=puffin
areas building : building=yes pedestrian : highway=pedestrian beach : natural=beach water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin village green : landuse=village_green forest : landuse=forest OR natural=wood farm : landuse=farm grass : landuse=grass fell : natural=fell glacier : natural=glacier national park : boundary=national_park allotments : landuse=allotments academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] meadow : natural=meadow OR landuse=meadow nature reserve : leisure=nature_reserve playground : leisure=playground car park: amenity=parking track : leisure=track graveyard : amenity=grave_yard OR landuse=cemetery military : landuse=military OR military=barracks park : leisure=park leisure garden : leisure=garden leisure pitch : leisure=pitch leisure stadium : leisure=stadium landuse retail : landuse=retail landuse industrial : landuse=industrial commercial area : landuse=commercial residential area : landuse=residential aeroway apron : aeroway=apron aeroway terminal : aeroway=terminal
lines tick : line=tick tick label : line=tick_label cycleway left track : cycleway:left=track OR cycleway=track OR cycleway=both cycleway right track : cycleway:right=track OR cycleway=track OR cycleway=both bicycle_road : bicycle_road=yes highway footway : highway=footway highway cycleway : highway=cycleway highway path : highway=path // Unterscheidung der Radrouten nach Überregional, Regional und Lokal ncn route : relation[type=route AND route=bicycle AND network=ncn] rcn route : relation[type=route AND route=bicycle AND network=rcn] lcn route : relation[type=route AND route=bicycle AND network=lcn] // Unterscheidung der lokalen Landshuter Routen nach offiziell und Empfehlung adfc route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"ADFC Landshut")] stadt route : relation[type=route AND route=bicycle AND network=lcn and @isMatch(operator,"Stadt Landshut")] cycling route : relation[type=route AND route=bicycle] coastline : natural=coastline river : waterway=river stream : waterway=stream canal : waterway=canal drain : waterway=drain railway : railway=rail line barrier : barrier=wall OR barrier=fence highway motorway : highway=motorway highway motorway link : highway=motorway_link highway trunk : highway=trunk highway trunk link: highway=trunk_link highway primary link : highway=primary_link highway primary : highway=primary highway secondary : highway=secondary highway tertiary : highway=tertiary highway unclassified : highway=unclassified highway residential : highway=residential highway living street : highway=living_street highway service : highway=service highway pedestrian : highway=pedestrian highway track : highway=track highway private : access=private AND highway highway steps : highway=steps bridge foot : bridge=yes AND (foot=yes OR highway=footway) historic citywalls : historic=citywalls OR historic=city_wall
aeroway runway : aeroway=runway aeroway taxiway : aeroway=taxiway
points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb
rules
target : $featuretype(point) if : place* define font-weight : bold
if : *city define font-size : 6:8;14:20 min-zoom : 6 max-zoom : 14 elseif : *town define font-size : 9:8;12:10;20:20 min-zoom : 9 elseif : *village define font-size : 12:10;20:20 min-zoom : 12 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 13 text-color : white black 50% draw : text
target : playground define fill-color : #CCFEF0 line-style : none draw : fill define line-color : #ADCCB5 line-width : 1 draw : line define min-zoom : 17 draw : text
target : $featuretype(area) define line-style : none line-width : 1 if : forest define min-zoom : 9 fill-color : #8DC56C white 50% elseif : pedestrian define min-zoom : 13 fill-color : blue white 85% elseif : beach define min-zoom : 10 fill-color : #FEFEC0 elseif : farm define min-zoom : 9 fill-color : #E9D8BD white 50% elseif : fell define fill-color : #C5FF5B black 10% elseif : water define fill-color : #B5D0D0 elseif : residential area define fill-color : #DCDCDC white 50% elseif : grass define fill-color : #CFECA8 white 50% elseif : allotments define fill-color : #C8B084 white 50% elseif : meadow define fill-color : #CFECA8 white 50% elseif : nature reserve define fill-color : #ABDE96 white 50% elseif : car park define fill-color : #F6EEB7 white 50% elseif : park define fill-color : #C0F6B0 white 50% elseif : leisure garden define fill-color : #CFECA8 white 50% elseif : graveyard define fill-color : #A9CAAE white 50% elseif : building define fill-color : #BCA9A9 white 50% elseif : leisure pitch define fill-color : #89D2AE white 50% elseif : leisure stadium define fill-color : #33CC99 white 50% elseif : track define fill-color : #74DCBA elseif : village green define fill-color : #CFECA8 white 50% elseif : landuse retail define fill-color : #F0D9D9 line-color : #F4A19E draw : line elseif : landuse industrial define fill-color : #DFD1D6 white 50% elseif : commercial area define fill-color : #EFC8C8 white 50% elseif : military define fill-color : #FE9898 white 50% elseif : aeroway* define fill-color : #E9D1FE elseif : glacier define fill-color : #DDECEC line-style : dash line-color : #DDECEC black 10% else stop draw : fill define min-zoom : 17 draw : text
// Draw the cycling-routes over all ways: target : * route define line-color : #FF00FF line-style : solid line-opacity : 1 if : ncn* define line-color : green if : rcn* define line-color : red // das hier scheint nicht zu gehen if : adfc* define line-color : orange // das hier scheint nicht zu gehen if : stadt* define line-color : blue draw : line draw : text
target : aeroway runway define min-zoom : 11 line-color : #BBBBCC line-width : 11:2;15:20 draw : line
target : aeroway taxiway define min-zoom : 11 line-color : #BBBBCC line-width : 11:1;15:6 draw : line
target : glacier define min-zoom : 10 text-color : #A3A3FE draw : text
target : academic define fill-color : #F0F0D8 line-style : none draw : fill define line-color : #E5D2CC line-width : 1 draw : line
target : national park define fill-color : #8DC56C fill-opacity : 0.2 line-style : none draw : fill define line-color : #8DC56C black 20% line-opacity : 0.5 line-width : 3 line-style : dash font-size : 3:3;12:12 text-color : green font-weight : normal draw : line draw : text
target : tick define min-zoom : 13 line-color : black line-width : 13:1;18:4 line-style : solid draw : line
target : tick label define min-zoom : 13 font-size : 13:8;16:14;18:20;19:18 text : label draw : text
target : railway define min-zoom : 13 line-color : gray line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 2 border-style : solid border-color : gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line
target : highway private define min-zoom : 15 line-width : 4 line-style : dash line-color : #F7D4D4 draw : line
target : cycleway *track define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-offset : 13:2;16:9;18:15 border-width : 0 if : cycleway left track define line-offset-sides : left if : cycleway right track define line-offset-sides : right draw : line
target : highway* define line-join : round line-start-cap : round line-end-cap : round
if : *footway define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text elseif : *cycleway define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-style : solid border-width : 0 font-size : 15:9;18:12;19:18 draw : line draw : text elseif : *path define min-zoom : 13 line-color : #6E7C6D black 50% line-width : 13:1;15:2;18:3 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=no OR vehicle=no define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 border-width : 0 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text
target : bicycle_road define min-zoom : 10 line-color : #FFFF00 line-opacity : 0.95 line-style : solid line-width : 10:1;14:5;18:10 draw : line
target : highway* define font-size : 15:9;18:12;19:18 font-weight : bold
for : oneway=yes OR oneway=true OR oneway=-1 define min-zoom : 15 shape : custom shape-def : 60,0,20,-50,20,-20,-60,-20,-60,20,20,20,20,50;Z shape-size : 20 shape-aspect : 0.75 shape-spacing : 6 fill-color : #6C70D4 line-style : none for : "oneway:bicycle"=no OR cycleway=opposite OR cycleway=opposite_lane OR cycleway=opposite_track define fill-color : white line-style : solid line-color : #6C70D4 line-width : 100% for : oneway=-1 define angle : 180 draw : shape
define line-style : solid line-join : round line-start-cap : round line-end-cap : round
if : *motorway* if : *link define line-width : 7:1;12:3;13:4;16:5;18:6 else define line-width : 7:1;9:2;12:3;13:7;16:10;18:12 define min-zoom : 12 line-color : #849BBD white 50% border-style : solid border-color : #849BBD black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text define min-zoom : 10 max-zoom : 20 font-family : Tahoma text-align-horizontal : center text-align-vertical : center text : ref font-size : 12 text-color : #fcfcfb text-halo-width : 0 shape : custom shape-def : p:#809bc0;pw:5;f:#809bc0;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z;p:#fcfcfb;pw:2;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z shield-padding-left : 5 shield-padding-right : 5 shield-padding-top : 7 shield-padding-bottom : 7 shield-resize-mode : free draw : shield elseif : *trunk* define min-zoom : 12 line-color : #96D296 white 50% line-width : 11:1;13:2;15:10;18:12 border-style : solid border-color : #96D296 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *primary* define min-zoom : 11 line-color : #ECA2A3 white 50% line-width : 11:2;12:2;15:10;18:12 border-style : solid border-color : #ECA2A3 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 11 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *secondary define min-zoom : 12 line-color : #FDD6A4 white 50% line-width : 10:1;11:2;13:2;15:10;18:12 border-style : solid border-color : #CAA36F black 50% border-width : 20% draw : line define min-zoom : 8.5 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *tertiary define min-zoom : 13 line-color : #FEFEB2 white 50% line-width : 10:1;13:2;15:10;18:12 border-style : solid border-color : #FEFEB2 black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 line-color : white black 25% border-style : none draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *service define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *pedestrian define min-zoom : 13 line-color : #EDEDED line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #B1B1B1 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : $regex("(.*residential)|(.*unclassified)") define min-zoom : 13 line-color : white line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 75% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 25% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *living street define min-zoom : 13 line-color : blue white 90% line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 10% draw : line define min-zoom : 15 max-zoom : 20 draw : text
elseif : *track define min-zoom : 12.5 line-color : #9D7517 black 50% line-width : 1.5 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 draw : line draw : text else stop
target : highway steps define min-zoom : 16 shape : custom shape-def : -1,1, -1,-1, 1,-1, 1,1;Z shape-spacing : 2 shape-size : 16:1;20:3 shape-aspect : 3 fill-color : #F98072 line-style : none font-size : 15:9;18:12;19:18 draw : shape draw : text
target : line barrier define min-zoom : 13 line-color : black line-width : 1 draw : line
target : bridge foot define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 15% draw : line draw : text
target : historic citywalls define min-zoom : 13 line-color : #8D968D line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 draw : line draw : text
define
target : river define line-color : #B5D0D0 line-width : 7:1;12:2;14:5 draw : line
target : canal define min-zoom : 12 line-color : #B5D0D0 line-width : 12:1;17:8 draw : line
target : drain define min-zoom : 13 line-color : #B5D0D0 line-width : 1 draw : line target : stream define min-zoom : 13 line-color : #B5D0D0 line-width : 13:1;15:2 draw : line
target: bicycle parking define icon-image : icons/SJJB/png/transport_parking_bicycle.n.32.png text-offset-horizontal : 60% text-offset-vertical : -75% text : capacity min-zoom : 15 icon-width : 16 draw : text draw : icon
target: mini roundabout define icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png min-zoom : 16 icon-width : 9 draw : icon
target : puffin define icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png min-zoom : 16 icon-width : 16 draw : icon
target : gate define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png min-zoom : 16 icon-width : 7 draw : icon
target : bollard define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bollard.p... min-zoom : 16 icon-width : 7 draw : icon
target: coastline define line-color : #B5D0D0 line-width : 2 draw : line ---------------------------------------
Mit freundlichem Gruß,
Andreas Hippauf andreas.hippauf@adfc-landshut.de http://www.adfc-landshut.de
ADFC Landshut Innere Regensburger Str. 6a
84034 Landshut
Tel.: 0871 / 24601 Handy: 0160 962 87 892
Am 03.11.2011 um 11:14 schrieb Alexander Lehner:
On Thu, 3 Nov 2011, Martin Czarkowski wrote:
Man kann das doch zweigleisig machen, oder?
Genau das war mein Plan. Muss nur noch in die Tat umgesetzt werden...
A.
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
_______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Ich nochmal. Andreas, ich habe mir das neue Preset fuer JOSM angesehen, das Du ins Wiki gestellt hast. Ich glaube aber, dass das fuer Deine Zwecke noch modifiziert werden muesste. Mir scheint das etwas zu detailliert, z.B. interessiert es fuer die Kartenerstellung nicht, ob eine Einbahnstrasse in nur einer oder beiden Richtungen, auf gleichen oder getrennten, von der Fahrbahn (nicht-) separierten Radwegen verlaeuft. Und ich wuerde das vor allem auch nicht in diesem Detailgrad eintragen wollen muessen ;) Ob man irgendwo gut Radfahren kann, haengt m.E. von mehr persoenlicher Erfahrung ab, als man das mit hundert tags zusammenstellen kann. Deswegen finde ich nach wie vor die Idee mit den Relationen am besten. Egal welche Beschaffenheit der Weg dann letztlich genau hat, Hauptsache man kann dort gut bestimmte Routen bewerkstelligen. A.
Am 04.11.2011 01:42, schrieb Alexander Lehner:
Andreas, ich habe mir das neue Preset fuer JOSM angesehen, das Du ins Wiki gestellt hast.
habe zwar keine Ahnung von der Materie was ihr da schreibt, aber das könnte vielleicht auch was für die Radlkarte sein: http://wiki.openstreetmap.org/wiki/User:Polyglot/Some_ways_to_simplify_editi... und wenn nicht, dann einfach ignorieren ;) Gruß MC
On Fri, 4 Nov 2011, Martin Czarkowski wrote:
Am 04.11.2011 01:42, schrieb Alexander Lehner:
Andreas, ich habe mir das neue Preset fuer JOSM angesehen, das Du ins Wiki gestellt hast.
habe zwar keine Ahnung von der Materie was ihr da schreibt,
Dann streng' Dich halt ein bisserl an, zefix ;) Aber danke fuer den Tip, ich hab's so ungefaehr ueberrissen was die da machen und es koennte schon hilfreich sein. Ich hab's deshalb ins Wiki mit aufgenommen. Schoen, dass Karlo's Script 'gefunden' wurde. Ich find das eine supercoole Funktion. Sein Server wird das schon verkraften - wenn er es g'scheid implementiert hat ;) Hab bei mir inzwischen auch ein paar Sachen mit slippy maps am Laufen, ist wirklich einfach. Was an Karlo's Script m.E. immer noch fehlt und total praktisch waere, wenn sich die bugs automatisch beim Verschieben nachladen. Aber der Karlo will das ja nicht hoeren, gell Karlo??? A.
aber das könnte vielleicht auch was für die Radlkarte sein: http://wiki.openstreetmap.org/wiki/User:Polyglot/Some_ways_to_simplify_editi...
und wenn nicht, dann einfach ignorieren ;)
Gruß MC _______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Hallo, ja, das hat bei mir auch bissle gedauert, bis ich hinter die Idee gestiegen bin. Ich habs im JOSM noch nicht getestet, aber wenn es geht, ist es sicher cool. Mir ist aufgefallen, dass einige Ways zu lang sind für meine Relations. Beispiel: Der Weg geht nen Kilometer fast grade aus, nach 500m kommt von links eine Strasse rein, die Relation soll die ersten 500 Meter auf dem 1 Kilometerweg nehmen und dann in die Straße abbiegen. Damit das sauber funktioniert, müsste ich den Way an der Kreuzung auseinanderschnibbeln. Frage a) darf ich das? Frage b) wie geht das richtig, ohne das was kaputt geht und sich alle Tags nachher noch im Way befinden? Ich bin jetzt dann heute und morgen auf der Bundeshauptversammlung in Regensburg und werde deshalb nicht viel an den Rechner kommen, also nicht wundern, wenn ich nicht reagiere. Antwort b) können wir uns ja vielleicht auf dem nächsten Stammtisch anschauen? BTW: wollte heute morgen mein überarbeitetes Rulesfile einstellen, aber die Unterseite konnte ich nicht editieren.... ?%-) Ich hänge es hier nochmal an: ------------------ // Version vom 21.7.2011 properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : bold font-family : Verdana text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 map.rendering.lflp.max-compression : 0.7 map.rendering.lflp.min-buffer-space : 1 map.rendering.lflp.max-allowed-corner-angle : 120 features points, areas bicycle parking : amenity=bicycle_parking mini roundabout : highway=mini_roundabout gate : barrier=gate bollard : barrier=bollard // These are not shown on Mapnik puffin : crossing_ref=puffin areas building : building=yes pedestrian : highway=pedestrian beach : natural=beach water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin village green : landuse=village_green forest : landuse=forest OR natural=wood farm : landuse=farm grass : landuse=grass fell : natural=fell glacier : natural=glacier national park : boundary=national_park allotments : landuse=allotments academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] meadow : natural=meadow OR landuse=meadow nature reserve : leisure=nature_reserve playground : leisure=playground car park: amenity=parking track : leisure=track graveyard : amenity=grave_yard OR landuse=cemetery military : landuse=military OR military=barracks park : leisure=park leisure garden : leisure=garden leisure pitch : leisure=pitch leisure stadium : leisure=stadium landuse retail : landuse=retail landuse industrial : landuse=industrial commercial area : landuse=commercial residential area : landuse=residential aeroway apron : aeroway=apron aeroway terminal : aeroway=terminal lines tick : line=tick tick label : line=tick_label cycleway left track : cycleway:left=track OR cycleway=track OR cycleway=both cycleway right track : cycleway:right=track OR cycleway=track OR cycleway=both bicycle_road : bicycle_road=yes highway footway : highway=footway highway cycleway : highway=cycleway highway path : highway=path // hier definieren wir die Fahrradrouten (ncn = Nationale, rcn = regionale (Bayernweit), lcn = lokale (Stadt/Lkr) // die lokalen unterscheiden wir nach dem operator Tag, das macht im Moment aber unerwartete Probleme... // nach entfernen der Leerschritte im Tag geht es, aber ist das Sinn der Sache? adfc route : relation[type=route AND route=bicycle AND network=lcn AND operator=ADFC_Landshut] stadt route : relation[type=route AND route=bicycle AND network=lcn AND @isMatch(operator,"Stadt_Landshut")] ncn route : relation[type=route AND route=bicycle AND network=ncn] rcn route : relation[type=route AND route=bicycle AND network=rcn] lcn route : relation[type=route AND route=bicycle AND network=lcn] cycling route : relation[type=route AND route=bicycle] coastline : natural=coastline river : waterway=river stream : waterway=stream canal : waterway=canal drain : waterway=drain railway : railway=rail line barrier : barrier=wall OR barrier=fence highway motorway : highway=motorway highway motorway link : highway=motorway_link highway trunk : highway=trunk highway trunk link: highway=trunk_link highway primary link : highway=primary_link highway primary : highway=primary highway secondary : highway=secondary highway tertiary : highway=tertiary highway unclassified : highway=unclassified highway residential : highway=residential highway living street : highway=living_street highway service : highway=service highway pedestrian : highway=pedestrian highway track : highway=track highway private : access=private AND highway highway steps : highway=steps bridge foot : bridge=yes AND (foot=yes OR highway=footway) historic citywalls : historic=citywalls OR historic=city_wall aeroway runway : aeroway=runway aeroway taxiway : aeroway=taxiway points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb rules target : $featuretype(point) if : place* define font-weight : bold if : *city define font-size : 6:8;14:20 min-zoom : 6 max-zoom : 14 elseif : *town define font-size : 9:8;12:10;20:20 min-zoom : 9 elseif : *village define font-size : 12:10;20:20 min-zoom : 12 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 13 text-color : white black 50% draw : text target : playground define fill-color : #CCFEF0 line-style : none draw : fill define line-color : #ADCCB5 line-width : 1 draw : line define min-zoom : 17 draw : text target : $featuretype(area) define line-style : none line-width : 1 if : forest define min-zoom : 9 fill-color : #8DC56C white 50% elseif : pedestrian define min-zoom : 13 fill-color : blue white 85% elseif : beach define min-zoom : 10 fill-color : #FEFEC0 elseif : farm define min-zoom : 9 fill-color : #E9D8BD white 50% elseif : fell define fill-color : #C5FF5B black 10% elseif : water define fill-color : #B5D0D0 elseif : residential area define fill-color : #DCDCDC white 50% elseif : grass define fill-color : #CFECA8 white 50% elseif : allotments define fill-color : #C8B084 white 50% elseif : meadow define fill-color : #CFECA8 white 50% elseif : nature reserve define fill-color : #ABDE96 white 50% elseif : car park define fill-color : #F6EEB7 white 50% elseif : park define fill-color : #C0F6B0 white 50% elseif : leisure garden define fill-color : #CFECA8 white 50% elseif : graveyard define fill-color : #A9CAAE white 50% elseif : building define fill-color : #BCA9A9 white 50% elseif : leisure pitch define fill-color : #89D2AE white 50% elseif : leisure stadium define fill-color : #33CC99 white 50% elseif : track define fill-color : #74DCBA elseif : village green define fill-color : #CFECA8 white 50% elseif : landuse retail define fill-color : #F0D9D9 line-color : #F4A19E draw : line elseif : landuse industrial define fill-color : #DFD1D6 white 50% elseif : commercial area define fill-color : #EFC8C8 white 50% elseif : military define fill-color : #FE9898 white 50% elseif : aeroway* define fill-color : #E9D1FE elseif : glacier define fill-color : #DDECEC line-style : dash line-color : #DDECEC black 10% else stop draw : fill define min-zoom : 17 draw : text // Draw the cycling-routes over all ways: // basic rule for unknown routes: target : * route define line-color : #FF00FF line-style : solid line-opacity : 1 line-width : 11:3;15:4;17:8 if : adfc* define line-opacity : 0.85 line-color : #EE7F00 if : stadt* define line-opacity : 0.85 line-color : #004B7C if : ncn* define line-opacity : 0.95 line-color : green if : rcn* define line-opacity : 0.85 line-color : red draw : line // draw : text target : aeroway runway define min-zoom : 11 line-color : #BBBBCC line-width : 11:2;15:20 draw : line target : aeroway taxiway define min-zoom : 11 line-color : #BBBBCC line-width : 11:1;15:6 draw : line target : glacier define min-zoom : 10 text-color : #A3A3FE draw : text target : academic define fill-color : #F0F0D8 line-style : none draw : fill define line-color : #E5D2CC line-width : 1 draw : line target : national park define fill-color : #8DC56C fill-opacity : 0.2 line-style : none draw : fill define line-color : #8DC56C black 20% line-opacity : 0.5 line-width : 3 line-style : dash font-size : 3:3;12:12 text-color : green font-weight : normal draw : line draw : text target : tick define min-zoom : 13 line-color : black line-width : 13:1;18:4 line-style : solid draw : line target : tick label define min-zoom : 13 font-size : 13:8;16:14;18:20;19:18 text : label draw : text target : railway define min-zoom : 13 line-color : gray line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 2 border-style : solid border-color : gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line target : highway private define min-zoom : 15 line-width : 4 line-style : dash line-color : #F7D4D4 draw : line target : cycleway *track define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-offset : 13:2;16:9;18:15 border-width : 0 if : cycleway left track define line-offset-sides : left if : cycleway right track define line-offset-sides : right draw : line target : highway* define line-join : round line-start-cap : round line-end-cap : round if : *footway define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text elseif : *cycleway define min-zoom : 13 line-color : #000088 line-width : 13:1;16:4;18:6 line-style : solid border-width : 0 font-size : 15:9;18:12;19:18 draw : line draw : text elseif : *path define min-zoom : 13 line-color : #6E7C6D black 50% line-width : 13:1;15:2;18:3 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 font-size : 15:9;18:12;19:18 for : bicycle=no OR vehicle=no define min-zoom : 13 line-color : #F68474 black 50% line-width : 13:1;15:2;18:3 line-style : dot border-style : solid border-color : white border-width : 100% border-opacity : 0.3 for : bicycle=designated define line-color : #000088 line-style : solid line-width : 13:1;16:4;18:6 border-width : 0 for : bicycle=yes define line-color : #000088 line-style : dash line-width : 13:1;16:4;18:6 border-width : 0 draw : line draw : text target : bicycle_road define min-zoom : 10 line-color : #FFFF00 line-opacity : 0.95 line-style : solid line-width : 10:1;14:5;18:10 draw : line target : highway* define font-size : 15:9;18:12;19:18 font-weight : bold for : oneway=yes OR oneway=true OR oneway=-1 define min-zoom : 15 shape : custom shape-def : 60,0,20,-50,20,-20,-60,-20,-60,20,20,20,20,50;Z shape-size : 20 shape-aspect : 0.75 shape-spacing : 6 fill-color : #6C70D4 line-style : none for : "oneway:bicycle"=no OR cycleway=opposite OR cycleway=opposite_lane OR cycleway=opposite_track define fill-color : white line-style : solid line-color : #6C70D4 line-width : 100% for : oneway=-1 define angle : 180 draw : shape define line-style : solid line-join : round line-start-cap : round line-end-cap : round if : *motorway* if : *link define line-width : 7:1;12:3;13:4;16:5;18:6 else define line-width : 7:1;9:2;12:3;13:7;16:10;18:12 define min-zoom : 12 line-color : #849BBD white 50% border-style : solid border-color : #849BBD black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text define min-zoom : 10 max-zoom : 20 font-family : Tahoma text-align-horizontal : center text-align-vertical : center text : ref font-size : 12 text-color : #fcfcfb text-halo-width : 0 shape : custom shape-def : p:#809bc0;pw:5;f:#809bc0;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z;p:#fcfcfb;pw:2;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z shield-padding-left : 5 shield-padding-right : 5 shield-padding-top : 7 shield-padding-bottom : 7 shield-resize-mode : free draw : shield elseif : *trunk* define min-zoom : 12 line-color : #96D296 white 50% line-width : 11:1;13:2;15:10;18:12 border-style : solid border-color : #96D296 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *primary* define min-zoom : 11 line-color : #ECA2A3 white 50% line-width : 11:2;12:2;15:10;18:12 border-style : solid border-color : #ECA2A3 black 50% border-width : 20% draw : line define min-zoom : 7 max-zoom : 11 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *secondary define min-zoom : 12 line-color : #FDD6A4 white 50% line-width : 10:1;11:2;13:2;15:10;18:12 border-style : solid border-color : #CAA36F black 50% border-width : 20% draw : line define min-zoom : 8.5 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *tertiary define min-zoom : 13 line-color : #FEFEB2 white 50% line-width : 10:1;13:2;15:10;18:12 border-style : solid border-color : #FEFEB2 black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 line-color : white black 25% border-style : none draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *service define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *pedestrian define min-zoom : 13 line-color : #EDEDED line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #B1B1B1 black 20% border-width : 20% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : $regex("(.*residential)|(.*unclassified)") define min-zoom : 13 line-color : white line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 75% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 25% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *living street define min-zoom : 13 line-color : blue white 90% line-width : 12:1;13:1.5;15:10;18:12 border-style : solid border-color : white black 50% border-width : 20% draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : white black 10% draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *track define min-zoom : 12.5 line-color : #9D7517 black 50% line-width : 1.5 line-style : dash border-style : solid border-color : white border-width : 100% border-opacity : 0.3 draw : line draw : text else stop target : highway steps define min-zoom : 16 shape : custom shape-def : -1,1, -1,-1, 1,-1, 1,1;Z shape-spacing : 2 shape-size : 16:1;20:3 shape-aspect : 3 fill-color : #F98072 line-style : none font-size : 15:9;18:12;19:18 draw : shape draw : text target : line barrier define min-zoom : 13 line-color : black line-width : 1 draw : line target : bridge foot define min-zoom : 13 line-color : white line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 black 20% border-width : 15% draw : line draw : text target : historic citywalls define min-zoom : 13 line-color : #8D968D line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 draw : line draw : text define target : river define line-color : #B5D0D0 line-width : 7:1;12:2;14:5 draw : line target : canal define min-zoom : 12 line-color : #B5D0D0 line-width : 12:1;17:8 draw : line target : drain define min-zoom : 13 line-color : #B5D0D0 line-width : 1 draw : line target : stream define min-zoom : 13 line-color : #B5D0D0 line-width : 13:1;15:2 draw : line target: bicycle parking define icon-image : icons/SJJB/png/transport_parking_bicycle.n.32.png text-offset-horizontal : 60% text-offset-vertical : -75% text : capacity min-zoom : 15 icon-width : 16 draw : text draw : icon target: mini roundabout define icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png min-zoom : 16 icon-width : 9 draw : icon target : puffin define icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png min-zoom : 16 icon-width : 16 draw : icon target : gate define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png min-zoom : 16 icon-width : 7 draw : icon target : bollard define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bollard.p... min-zoom : 16 icon-width : 7 draw : icon target: coastline define line-color : #B5D0D0 line-width : 2 draw : line ---------------- Mit freundlichem Gruß, Andreas Hippauf andreas.hippauf@adfc-landshut.de http://www.adfc-landshut.de ADFC Landshut Innere Regensburger Str. 6a 84034 Landshut Tel.: 0871 / 24601 Handy: 0160 962 87 892 Am 04.11.2011 um 22:38 schrieb Alexander Lehner:
On Fri, 4 Nov 2011, Martin Czarkowski wrote:
Am 04.11.2011 01:42, schrieb Alexander Lehner:
Andreas, ich habe mir das neue Preset fuer JOSM angesehen, das Du ins Wiki gestellt hast.
habe zwar keine Ahnung von der Materie was ihr da schreibt,
Dann streng' Dich halt ein bisserl an, zefix ;) Aber danke fuer den Tip, ich hab's so ungefaehr ueberrissen was die da machen und es koennte schon hilfreich sein. Ich hab's deshalb ins Wiki mit aufgenommen.
Schoen, dass Karlo's Script 'gefunden' wurde. Ich find das eine supercoole Funktion. Sein Server wird das schon verkraften - wenn er es g'scheid implementiert hat ;) Hab bei mir inzwischen auch ein paar Sachen mit slippy maps am Laufen, ist wirklich einfach.
Was an Karlo's Script m.E. immer noch fehlt und total praktisch waere, wenn sich die bugs automatisch beim Verschieben nachladen. Aber der Karlo will das ja nicht hoeren, gell Karlo???
A.
aber das könnte vielleicht auch was für die Radlkarte sein: http://wiki.openstreetmap.org/wiki/User:Polyglot/Some_ways_to_simplify_editi...
und wenn nicht, dann einfach ignorieren ;)
Gruß MC _______________________________________________ Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Niederbayern mailing list Niederbayern@lists.openstreetmap.de http://lists.openstreetmap.de/mailman/listinfo/niederbayern
Hallo Andreas, ich habe Deine neuen Rules auf Wiki geladen. Kann das auch gerne in Zukunft uebernehmen ;) (Es gibt keinen 'unteren' Teil, man kann nur die ganze Seite editieren, halt aufpassen, dass man die <source> Tags nicht entfernt).
Der Weg geht nen Kilometer fast grade aus, nach 500m kommt von links eine Strasse rein, die Relation soll die ersten 500 Meter auf dem 1 Kilometerweg nehmen und dann in die Straße abbiegen. Damit das sauber funktioniert, müsste ich den Way an der Kreuzung auseinanderschnibbeln.
Frage a) darf ich das?
Genau. Tools -> Split Way (Shortcut 'P'). Danach hast Du zwei Wege, die sich aber immer noch den gleichen Node teilen (d.h. wenn der verschoben wird, bleiben die Wege als 2 routbare Teilstuecke erhalten). Einen Schritt weiter geht es dann erst mit Tools->Unglue Ways, damit werden die Ways zerrissen (zwei einzelne Endknoten) und die Wege sind dann nicht mehr routbar, auch wenn die Endknoten die gleiche geografische Position haben. (Das Aufschneiden der Wege ist immer eine psychologische Huerde, weil das Wort einen so chirurgischen Charakter hat ;)
Frage b) wie geht das richtig, ohne das was kaputt geht und sich alle Tags nachher noch im Way befinden?
Das war's eigentlich schon. Nach dem Split hast Du zwei separate Wege, jetzt kannst Du den unteren und den linken der Relation hinzufuegen. Wenn Du Dir unsicher bist, kannst Du jede Modifikation pro Weg einzeln auf den Server hochladen. Dann kann man anhand der History die einzelnen Schritte wieder Rueckgangig machen. Die History sollte rechts in der 'Ziehharmokia' versteckt sein. Doppelklick auf das Wegelement dort oeffnet die History-Anzeige. Hilfreich vor dem Hochladen finde ich auch den Command-Stack, da sieht man, was man bisher angestellt hat. Z.B. Rechtsklick dort auf ein modifiziertes Element -> Select, und dann View -> Zoom to Selection. Lade ruhig mal ein bisserl was auf den OSM Server, das interessiert mich ja auch. Mit dem Maperitive komme ich jetzt auch immer weiter. Danke fuer Deine Kurzanleitung! Ich taet sagen, wenn wir uns erstmal auf eine kleine Zahl bekannter Baustellen beschraenken fuer typische Faelle, kann man das leicht verfolgen und keiner braucht sich beschweren, wenn die Tags mal ein paar Tage durcheinander sind. A.
participants (4)
-
Alexander Lehner -
Andreas Hippauf -
Martin Czarkowski -
Tobias Hobmeier