<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="font-family: Times; "><pre>><i> </i>On Sun, Mar 21, 2010 at 2:29 PM, Andrew Errington <
><i> </i><a href="http://lists.openstreetmap.org/listinfo/newbies">a.errington at lancaster.ac.uk</a>> wrote:</pre><pre>Hi,</pre><pre>I'm trying to create a file </pre><pre>><i> </i><br>><i> </i>><i> On Sun, 21 Mar 2010 20:31:26 Ed Hillsman wrote:
</i>><i> </i>><i> > If I export OSM data for an area, is there a tool that I can use to
</i>><i> </i>><i> > extract data about all of the instances of just one type of feature
</i>><i> </i>><i> > from it? What has happened is that our bicycle club has mapped all of
</i>><i> </i>><i> > the bicycle parking on our university campus. The campus planning
</i>><i> </i>><i> > department found out about it and wants to give the locations and
</i>><i> </i>><i> > capacities to one of their consultants to help with updating the
</i>><i> </i>><i> > campus plan. We would of course like to give it to them, since it will
</i>><i> </i>><i> > help get additional bike parking on campus.
</i>><i> </i>><i>
</i>><i> </i>><i>
</i>><i> </i>Do you know XAPI :
><i> </i><a href="http://wiki.openstreetmap.org/wiki/Xapi">http://wiki.openstreetmap.org/wiki/Xapi</a>
<span class="Apple-style-span" style="font-family: Times; white-space: normal; "><pre>><i> </i></pre></span>><i> </i>With the appropriate URL, bounding box and tag predicates, you receive
><i> </i>directly your OSM file filtered for one tag.
<span class="Apple-style-span" style="font-family: Times; white-space: normal; "><pre>><i> </i></pre><pre><i><span class="Apple-style-span" style="font-style: normal; ">><i> </i>Pieren</span></i></pre><pre>Huge thanks for this. It worked pretty easily. I've made a small edit to the wiki to warn against including spaces in the values that define the bounding box (I accidentally included one and kept getting an error until I guessed that was the problem and removed it. This stuff is new to me, and I don't know the syntax). Really useful.</pre><pre>Thanks also, Andy, because what you sent will help us get more familiar with the database and how to work with it.</pre><pre>Ed Hillsman</pre><pre><span class="Apple-style-span" style="font-family: Times; white-space: normal; "><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br></span></font></div></span></pre></span></pre></span></body></html>