Add bike and pedestrian icons.
authorAndy Allan <gravitystorm@gmail.com>
Tue, 7 Sep 2010 10:20:45 +0000 (10:20 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Tue, 7 Sep 2010 10:20:45 +0000 (10:20 +0000)
resources/features/paths__bike.png [new file with mode: 0644]
resources/features/paths__bike.svg [new file with mode: 0644]
resources/features/paths__pedestrian.png [new file with mode: 0644]
resources/features/paths__pedestrian.svg [new file with mode: 0644]
resources/map_features.xml

diff --git a/resources/features/paths__bike.png b/resources/features/paths__bike.png
new file mode 100644 (file)
index 0000000..75d98be
Binary files /dev/null and b/resources/features/paths__bike.png differ
diff --git a/resources/features/paths__bike.svg b/resources/features/paths__bike.svg
new file mode 100644 (file)
index 0000000..a222482
--- /dev/null
@@ -0,0 +1,217 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="343pt"
+   height="340pt"
+   id="svg2816"
+   version="1.1"
+   inkscape:version="0.47pre4 r22446"
+   sodipodi:docname="paths__footway.svg"
+   inkscape:export-filename="/home/andy/src/potlatch2/resources/features/paths__footway.png"
+   inkscape:export-xdpi="8.3623695"
+   inkscape:export-ydpi="8.3623695">
+  <defs
+     id="defs2818">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3619">
+      <stop
+         style="stop-color:#00ffff;stop-opacity:1;"
+         offset="0"
+         id="stop3621" />
+      <stop
+         style="stop-color:#00ffff;stop-opacity:0;"
+         offset="1"
+         id="stop3623" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3609">
+      <stop
+         style="stop-color:#008000;stop-opacity:1;"
+         offset="0"
+         id="stop3611" />
+      <stop
+         style="stop-color:#008000;stop-opacity:0;"
+         offset="1"
+         id="stop3613" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 212.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="428.75 : 212.5 : 1"
+       inkscape:persp3d-origin="214.375 : 141.66667 : 1"
+       id="perspective2825" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3609"
+       id="linearGradient3615"
+       x1="215"
+       y1="188.25"
+       x2="215"
+       y2="430.5"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3619"
+       id="linearGradient3625"
+       x1="215"
+       y1="188.75"
+       x2="215"
+       y2="0"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.001462,0,0,1,-1.2518275,0)" />
+    <inkscape:perspective
+       id="perspective2916"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+  </defs>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.8"
+     inkscape:cx="-194.58464"
+     inkscape:cy="251.7971"
+     inkscape:document-units="pt"
+     inkscape:current-layer="layer1"
+     id="namedview2820"
+     showgrid="false"
+     inkscape:window-width="1680"
+     inkscape:window-height="1026"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata2822">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <rect
+       style="fill:url(#linearGradient3615);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1.0"
+       id="rect2827"
+       width="430"
+       height="241.25"
+       x="0"
+       y="188.75" />
+    <rect
+       style="fill:url(#linearGradient3625);fill-opacity:1"
+       id="rect3617"
+       width="428.125"
+       height="188.75"
+       x="0"
+       y="-6.5955419e-10" />
+    <g
+       id="g2319"
+       transform="translate(641.02874,-121.48949)"
+       style="fill:#000000;fill-opacity:1;stroke:#e6f708;stroke-opacity:1">
+      <path
+         id="path2323"
+         style="fill:#000000;stroke:#e6f708;fill-opacity:1;stroke-opacity:1"
+         d="" />
+    </g>
+    <g
+       id="g2325"
+       transform="translate(641.02874,-121.48949)"
+       style="fill:#000000;fill-opacity:1;stroke:#e6f708;stroke-opacity:1">
+      <path
+         id="path2329"
+         style="fill:#000000;stroke:#e6f708;fill-opacity:1;stroke-opacity:1"
+         d="" />
+    </g>
+    <g
+       id="g3757"
+       transform="matrix(0.81866272,0,0,0.81866272,168.38354,110.75723)">
+      <path
+         d="m 278.91286,461.96271 c 0,43.28842 -35.0922,78.38061 -78.38062,78.38061 -43.28842,0 -78.38061,-35.09219 -78.38061,-78.38061 0,-43.28842 35.09219,-78.38062 78.38061,-78.38062 43.28842,0 78.38062,35.0922 78.38062,78.38062 z"
+         id="path596"
+         sodipodi:cx="200.53224"
+         sodipodi:cy="461.96271"
+         sodipodi:rx="78.380615"
+         sodipodi:ry="78.380615"
+         sodipodi:type="arc"
+         style="font-size:12px;fill:none;stroke:#4a4a4a;stroke-width:26;stroke-opacity:1"
+         transform="matrix(-0.983459,0,0,0.983459,85.159738,-260.18659)" />
+      <path
+         d="m 278.91286,461.96271 c 0,43.28842 -35.0922,78.38061 -78.38062,78.38061 -43.28842,0 -78.38061,-35.09219 -78.38061,-78.38061 0,-43.28842 35.09219,-78.38062 78.38061,-78.38062 43.28842,0 78.38062,35.0922 78.38062,78.38062 z"
+         id="path595"
+         sodipodi:cx="200.53224"
+         sodipodi:cy="461.96271"
+         sodipodi:rx="78.380615"
+         sodipodi:ry="78.380615"
+         sodipodi:type="arc"
+         style="font-size:12px;fill:none;stroke:#4a4a4a;stroke-width:26;stroke-opacity:1"
+         transform="matrix(-0.983459,0,0,0.983459,415.52074,-261.68759)" />
+      <path
+         d="m 157.23838,61.490482 -198.216442,1.00111 -70.076498,130.142098 134.146488,0 140.153012,-95.103825"
+         id="path594"
+         sodipodi:nodetypes="ccccc"
+         style="font-size:12px;fill:none;stroke:#4a4a4a;stroke-width:20.52969933;stroke-linejoin:round;stroke-opacity:1" />
+      <path
+         d="m 149.62164,-16.503568 c 10.76679,0 18.90504,-0.24023 27.24667,12.5033196 2.40112,4.24812997 3.49891,9.43507 2.61231,14.5982204 -1.06358,5.87102 -4.53943,11.6392 -8.63703,15.05385 -5.4259,4.52159 -10.57524,4.17279 -9.74304,8.23745 1.06778,5.21545 4.32649,12.463 7.84807,24.23155 3.57467,11.94585 7.81937,26.566463 11.98592,40.967243 4.16655,14.400745 8.2566,28.589435 11.49416,39.645695 1.61883,5.5281 3.0326,10.27493 4.11828,13.8299 1.05776,3.46359 1.99166,6.15402 1.90542,5.96221 3.37308,5.93469 3.83222,9.80168 9.48991,14.85291 6.34352,5.55178 11.50835,9.65313 13.30083,10.90597 4.55283,3.30733 6.6694,10.28705 4.26519,13.73578 -3.0299,4.70007 -9.28742,5.42104 -13.86085,4.01492 -4.34258,-1.37853 -11.21684,-3.74643 -19.18802,-10.34857 l -0.0615,-0.0922 -0.0922,-0.0615 c -11.09146,-9.51363 -15.19483,-21.0602 -15.61239,-21.72827 l -0.58395,-0.89127 -0.39954,-0.98346 c -0.96107,-2.36581 -1.53677,-4.45189 -2.67376,-8.17502 -1.13702,-3.72312 -2.5784,-8.53309 -4.21046,-14.10649 -3.26407,-11.14676 -7.33336,-25.35702 -11.49416,-39.73789 -4.16083,-14.380855 -8.39513,-28.927018 -11.92445,-40.721368 -3.52934,-11.79434 -5.75905,-21.48095 -6.58328,-23.54157 -2.00615,-5.01532 -3.03104,-10.42981 -1.65961,-15.85829 1.37142,-5.42846 5.46959,-9.80971 9.14835,-10.82817 8.39707,-2.34923 6.16904,-8.3891804 1.873,-8.3979404 l -36.0005,-0.0733 -0.0887,-22.9932596 c 2.3e-4,-5e-4 23.36782,-5e-4 37.52535,-5e-4 z"
+         id="path593"
+         sodipodi:nodetypes="ccccscccccsscsccccccccccccssccc"
+         style="font-size:12px;fill:#4a4a4a;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+      <path
+         d="M 20.523428,188.5589 -47.433032,22.207192"
+         id="path599"
+         style="font-size:12px;fill:none;stroke:#4a4a4a;stroke-width:24.58650017;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cc"
+         d="M 43.884728,146.0842 2.825168,241.65182"
+         id="path600"
+         style="font-size:12px;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#4a4a4a;stroke-width:8.9740696;stroke-linecap:round;stroke-opacity:1" />
+      <path
+         d="m 278.91286,461.96271 c 0,43.28842 -35.0922,78.38061 -78.38062,78.38061 -43.28842,0 -78.38061,-35.09219 -78.38061,-78.38061 0,-43.28842 35.09219,-78.38062 78.38061,-78.38062 43.28842,0 78.38062,35.0922 78.38062,78.38062 z"
+         id="path597"
+         sodipodi:cx="200.53224"
+         sodipodi:cy="461.96271"
+         sodipodi:rx="78.380615"
+         sodipodi:ry="78.380615"
+         sodipodi:type="arc"
+         style="font-size:12px;fill:#4a4a4a;fill-opacity:1;fill-rule:evenodd;stroke:none"
+         transform="matrix(-0.277291,0,0,0.244915,77.946738,79.741412)" />
+      <path
+         d="m 62.163838,146.12777 -36.26994,0.33246"
+         id="path601"
+         sodipodi:nodetypes="cc"
+         style="font-size:12px;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#4a4a4a;stroke-width:12.53960037;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+      <path
+         d="m 21.314628,240.27904 -36.26994,0.33247"
+         id="path602"
+         sodipodi:nodetypes="cc"
+         style="font-size:12px;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#4a4a4a;stroke-width:12.53909969;stroke-linecap:round;stroke-opacity:1" />
+      <path
+         d="m -80.703712,7.3411716 85.29957,0 c 3.18547,0 7.29693,5.6348704 3.18547,9.3794104 -4.44674,4.23206 -44.4195,12.9188 -44.4195,12.9188 0,0 -10.97213,3.00849 -16.81217,2.30063 -5.84,-0.70788 -26.01458,-2.47758 -27.25337,-24.5988404 z"
+         id="path603"
+         sodipodi:nodetypes="cssccc"
+         style="font-size:12px;fill:#4a4a4a;fill-opacity:1;fill-rule:evenodd;stroke:none" />
+    </g>
+  </g>
+</svg>
diff --git a/resources/features/paths__pedestrian.png b/resources/features/paths__pedestrian.png
new file mode 100644 (file)
index 0000000..7348ed9
Binary files /dev/null and b/resources/features/paths__pedestrian.png differ
diff --git a/resources/features/paths__pedestrian.svg b/resources/features/paths__pedestrian.svg
new file mode 100644 (file)
index 0000000..55ce9d6
--- /dev/null
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="343pt"
+   height="340pt"
+   id="svg2816"
+   version="1.1"
+   inkscape:version="0.47pre4 r22446"
+   sodipodi:docname="paths__footway.svg"
+   inkscape:export-filename="/home/andy/src/potlatch2/resources/features/paths__footway.png"
+   inkscape:export-xdpi="8.3623695"
+   inkscape:export-ydpi="8.3623695">
+  <defs
+     id="defs2818">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3619">
+      <stop
+         style="stop-color:#00ffff;stop-opacity:1;"
+         offset="0"
+         id="stop3621" />
+      <stop
+         style="stop-color:#00ffff;stop-opacity:0;"
+         offset="1"
+         id="stop3623" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient3609">
+      <stop
+         style="stop-color:#008000;stop-opacity:1;"
+         offset="0"
+         id="stop3611" />
+      <stop
+         style="stop-color:#008000;stop-opacity:0;"
+         offset="1"
+         id="stop3613" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 212.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="428.75 : 212.5 : 1"
+       inkscape:persp3d-origin="214.375 : 141.66667 : 1"
+       id="perspective2825" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3609"
+       id="linearGradient3615"
+       x1="215"
+       y1="188.25"
+       x2="215"
+       y2="430.5"
+       gradientUnits="userSpaceOnUse" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3619"
+       id="linearGradient3625"
+       x1="215"
+       y1="188.75"
+       x2="215"
+       y2="0"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.001462,0,0,1,-1.2518275,0)" />
+  </defs>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.1313709"
+     inkscape:cx="85.306552"
+     inkscape:cy="201.90418"
+     inkscape:document-units="pt"
+     inkscape:current-layer="layer1"
+     id="namedview2820"
+     showgrid="false"
+     inkscape:window-width="1680"
+     inkscape:window-height="1026"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata2822">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <rect
+       style="fill:url(#linearGradient3615);fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1.0"
+       id="rect2827"
+       width="430"
+       height="241.25"
+       x="0"
+       y="188.75" />
+    <rect
+       style="fill:url(#linearGradient3625);fill-opacity:1"
+       id="rect3617"
+       width="428.125"
+       height="188.75"
+       x="0"
+       y="-6.5955419e-10" />
+    <path
+       style="fill:#b8b8b8;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
+       d="M 138.125,188.75 0.625,425 428.75,426.25 285,188.75 l -146.875,0 z"
+       id="path3886" />
+    <path
+       style="fill:#53dd51;fill-opacity:1;stroke:#4a4a4a;stroke-width:114.11499786;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 212.1875,104.1875 c -10.2939,0 -18.625,25.12042 -18.625,56.125 0,14.26614 1.77703,27.28377 4.6875,37.1875 l 27.875,0 c 2.91047,-9.90373 4.6875,-22.92136 4.6875,-37.1875 0,-31.00458 -8.3311,-56.125 -18.625,-56.125 z"
+       id="rect3858" />
+    <path
+       style="fill:#4a4a4a;fill-opacity:1;stroke:none"
+       d="m 161.25,276.875 c -12.11732,10.32046 -6.03125,26.63817 -6.03125,43.4375 0,31.10997 26.21316,56.34375 58.53125,56.34375 32.31809,0 58.53125,-25.23378 58.53125,-56.34375 0,-16.79933 6.71107,-31.86704 -5.40625,-42.1875 l -105.625,-1.25 z"
+       id="rect3861"
+       sodipodi:nodetypes="cssscc" />
+  </g>
+</svg>
index 3810514..2de783f 100644 (file)
@@ -693,7 +693,7 @@ Quick documentation:
 
   <feature name="Cycle path">
     <category>paths</category>
-    <icon image="features/paths__unknown.png">
+    <icon image="features/paths__bike.png">
       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
     </icon>
 
@@ -704,7 +704,7 @@ Quick documentation:
   
   <feature name="Pedestrian Street">
     <category>paths</category>
-    <icon>
+    <icon image="features/paths__pedestrian.png">
       <font size="14pt"><b>${name}</b></font>
     </icon>