Add icons for power lines
authorAndy Allan <gravitystorm@gmail.com>
Mon, 6 Sep 2010 17:14:42 +0000 (17:14 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 6 Sep 2010 17:14:42 +0000 (17:14 +0000)
resources/features/power_high.png [new file with mode: 0644]
resources/features/power_high.svg [new file with mode: 0644]
resources/features/power_low.png [new file with mode: 0644]
resources/features/power_low.svg [new file with mode: 0644]
resources/map_features.xml

diff --git a/resources/features/power_high.png b/resources/features/power_high.png
new file mode 100644 (file)
index 0000000..c8b102d
Binary files /dev/null and b/resources/features/power_high.png differ
diff --git a/resources/features/power_high.svg b/resources/features/power_high.svg
new file mode 100644 (file)
index 0000000..619562f
--- /dev/null
@@ -0,0 +1,162 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="64px"
+   height="64px"
+   id="svg3646"
+   version="1.1"
+   inkscape:version="0.47pre4 r22446"
+   sodipodi:docname="power_high.svg"
+   inkscape:export-filename="/home/andy/src/potlatch2/resources/features/power_low.png"
+   inkscape:export-xdpi="66.09375"
+   inkscape:export-ydpi="66.09375">
+  <defs
+     id="defs3648">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 32 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="64 : 32 : 1"
+       inkscape:persp3d-origin="32 : 21.333333 : 1"
+       id="perspective3654" />
+    <inkscape:perspective
+       id="perspective4207"
+       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" />
+    <inkscape:perspective
+       id="perspective4277"
+       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" />
+    <inkscape:perspective
+       id="perspective4305"
+       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" />
+    <inkscape:perspective
+       id="perspective4327"
+       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" />
+    <inkscape:perspective
+       id="perspective4327-8"
+       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
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.5"
+     inkscape:cx="-9.928737"
+     inkscape:cy="27.153396"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:document-units="px"
+     inkscape:grid-bbox="true"
+     inkscape:window-width="1680"
+     inkscape:window-height="1026"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata3651">
+    <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
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <rect
+       style="fill:#fecb00;fill-opacity:1;stroke:none;stroke-width:0.5;stroke-miterlimit:4;stroke-dasharray:none"
+       id="rect3656"
+       width="64.363632"
+       height="64"
+       x="0"
+       y="0"
+       ry="8.0227919"
+       rx="6.6013985"
+       inkscape:export-xdpi="33.75"
+       inkscape:export-ydpi="33.75"
+       inkscape:export-filename="/home/andy/src/potlatch2/resources/features/pois/barrier_generic.24.png" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
+       d="M 4.2760698,18.390932 C 17.693215,29.541568 47.802016,24.335727 52.269385,22.230116"
+       id="path4197-3"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 3.2727273,44.727273 5.6363636,-29.636364 3.0909091,0 6,29.454546"
+       id="path4263" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 3.8181818,18.727273 13.7727272,-1e-6"
+       id="path4265"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 3.0909091,23.363636 15.4999999,0"
+       id="path4267"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.40356085px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 51.843338,32.843675 2.274616,-11.960077 1.247369,0 2.421366,11.886703"
+       id="path4263-3" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.40356085px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 52.063462,22.351093 5.558134,-10e-7"
+       id="path4265-9"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:0.40356085px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 51.769963,24.222148 6.255194,0"
+       id="path4267-3"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="M 4.0942516,23.730029 C 17.511397,34.880665 47.529289,26.311188 51.996658,24.205577"
+       id="path4197-3-9"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 14.912433,18.548211 c 13.417145,11.150636 37.616855,5.853886 42.084224,3.748275"
+       id="path4197-3-9-2"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 15.457888,23.63912 c 13.417145,11.150636 36.980491,2.672068 41.44786,0.566457"
+       id="path4197-3-9-6"
+       sodipodi:nodetypes="cc" />
+  </g>
+</svg>
diff --git a/resources/features/power_low.png b/resources/features/power_low.png
new file mode 100644 (file)
index 0000000..e45f405
Binary files /dev/null and b/resources/features/power_low.png differ
diff --git a/resources/features/power_low.svg b/resources/features/power_low.svg
new file mode 100644 (file)
index 0000000..0cec276
--- /dev/null
@@ -0,0 +1,114 @@
+<?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:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="64px"
+   height="64px"
+   id="svg3646"
+   version="1.1"
+   inkscape:version="0.47pre4 r22446"
+   sodipodi:docname="barrier_generic.svg"
+   inkscape:export-filename="/home/andy/src/potlatch2/resources/features/pois/barrier_generic.24.png"
+   inkscape:export-xdpi="33.75"
+   inkscape:export-ydpi="33.75">
+  <defs
+     id="defs3648">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 32 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="64 : 32 : 1"
+       inkscape:persp3d-origin="32 : 21.333333 : 1"
+       id="perspective3654" />
+    <inkscape:perspective
+       id="perspective4207"
+       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
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.5"
+     inkscape:cx="1.1920149"
+     inkscape:cy="24.791019"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:document-units="px"
+     inkscape:grid-bbox="true"
+     inkscape:window-width="1680"
+     inkscape:window-height="1026"
+     inkscape:window-x="1280"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata3651">
+    <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
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <rect
+       style="fill:#fecb00;fill-opacity:1;stroke:none"
+       id="rect3656"
+       width="64.363632"
+       height="64"
+       x="0"
+       y="0"
+       ry="8.0227919"
+       rx="6.6013985"
+       inkscape:export-xdpi="33.75"
+       inkscape:export-ydpi="33.75"
+       inkscape:export-filename="/home/andy/src/potlatch2/resources/features/pois/barrier_generic.24.png" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 50.727273,26.181818 5.818182,0"
+       id="path4195" />
+    <path
+       style="fill:none;stroke:#453a1b;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 53.454545,40.545455 10e-7,-15.909091"
+       id="path4193"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="m 13.818182,18.181818 c 13.469645,7.863274 29.696969,9.939394 41.454545,8"
+       id="path4197"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#a3a3a3;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       d="M 4.1818185,18.296681 C 17.651463,26.159955 41.696969,30.145166 51.999999,25.933045"
+       id="path4197-3"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#453a1b;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 9.8181818,50.496516 1e-7,-37.138302"
+       id="path4189"
+       sodipodi:nodetypes="cc" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+       d="m 0.72591841,19.144162 19.27543559,0"
+       id="path4191" />
+  </g>
+</svg>
index f1cd0aa..5437264 100644 (file)
@@ -1511,15 +1511,17 @@ Quick documentation:
        Power
        ************************************************************************ -->
 
-  <feature name="High-voltage">
+  <feature name="High-voltage line">
     <category>power</category>
+    <icon image="features/power_high.png" />
     <line/>
     <tag k="power" v="line"/>
     <inputSet ref="powerCables"/>
   </feature>
 
-  <feature name="Low-voltage">
+  <feature name="Low-voltage line">
     <category>power</category>
+    <icon image="features/power_low.png" />
     <line/>
     <tag k="power" v="minor_line"/>
     <inputSet ref="powerCables"/>