[OSM-newbies] Export Question
Peter Childs
pchilds at bcs.org
Wed Jul 1 08:43:40 BST 2009
2009/6/30 Dirk-Lüder Kreie <osm-list at deelkar.net>:
> Jack Stringer schrieb:
>> If I wanted to export an XML file of all Food places with the name KFC
>> in the UK how would I go about doing that?
>>
>> If I wanted to edit the nodes to add more information and then
>> re-integrate this into OSM what would be the easiest way?
>
> I'd try OSMXAPI and JOSM.
>
> --
>
> Dirk-Lüder "Deelkar" Kreie
> Bremen - 53.0901°N 8.7868°E
>
>
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>
>
This does not answer the question but never mind.
If you use osmisis to load the planet (or part there of) into a
database, you can search for all the KFC with the following SQL
select * from node_tags a, node_tags b, nodes where
a.node_id=b.node_id and a.k='name' and a.v='KFC' and b.k='amenity' and
b.v='fast_food' and nodes.id=a.node_id;
I keep meaning to write a cheat sheet and put it on the wiki for doing
this. The seam to be 72 in the Uk which seams like quite a lot.
Other Fast Food, Fried Chicken outlets are available.
Peter.
More information about the newbies
mailing list