I have some script I use to get the POIs from the Romanian extract and create a SQL query. Unfortunately the code needs some cleanup and most of the comments are in Romanian, but it might help you: <a href="http://github.com/cipt2001/OpenMap.ro/blob/master/update_scripts/generate-pois.py">http://github.com/cipt2001/OpenMap.ro/blob/master/update_scripts/generate-pois.py</a><br>
<br>--Ciprian<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 2:35 PM, OJ W <span dir="ltr"><<a href="mailto:ojwlists@googlemail.com">ojwlists@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Is there some application that extracts a list of POIs from an OSM<br>
file, e.g. as GPX or whatever?<br>
<br>
It would need to collapse each polygon down into one central point, so<br>
that the output is just a list of points.<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div><br>