Add generic barrier icons and place icon to dnd panel
authorAndy Allan <gravitystorm@gmail.com>
Mon, 6 Sep 2010 15:52:37 +0000 (15:52 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Mon, 6 Sep 2010 15:52:37 +0000 (15:52 +0000)
resources/features/pois/barrier_generic.24.png [new file with mode: 0644]
resources/features/pois/barrier_generic.svg [new file with mode: 0644]
resources/map_features.xml

diff --git a/resources/features/pois/barrier_generic.24.png b/resources/features/pois/barrier_generic.24.png
new file mode 100644 (file)
index 0000000..a57de17
Binary files /dev/null and b/resources/features/pois/barrier_generic.24.png differ
diff --git a/resources/features/pois/barrier_generic.svg b/resources/features/pois/barrier_generic.svg
new file mode 100644 (file)
index 0000000..2473955
--- /dev/null
@@ -0,0 +1,76 @@
+<?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" />
+  </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="-0.27272727"
+     inkscape:cy="32"
+     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:#666666;fill-opacity:1;stroke:none"
+       id="rect3656"
+       width="64.363632"
+       height="64"
+       x="0"
+       y="0"
+       ry="8.0227919"
+       rx="6.6013985" />
+  </g>
+</svg>
index a9524c0..5535358 100644 (file)
@@ -1608,6 +1608,7 @@ Quick documentation:
   <!-- Places -->
   <feature name="Place">
     <category>misc</category>
+    <icon image="icons/place.png" />
     <point />
     <area />
     <!-- TODO: make this work -->
@@ -2142,6 +2143,7 @@ Quick documentation:
 
   <feature name="Boom Gate">
     <category>barrier</category>
+    <icon image="features/pois/barrier_generic.24.png" />
     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dlift_gate</help>
     <point />
     <tag k="barrier" v="lift_gate"/>
@@ -2149,6 +2151,7 @@ Quick documentation:
 
   <feature name="Kissing Gate">
     <category>barrier</category>
+    <icon image="features/pois/barrier_generic.24.png" />
     <help>http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dkissing_gate</help>
     <point />
     <tag k="barrier" v="kissing_gate"/>