[OSM-dev] Import OSM (XAPI/.osm) Into Drupal
Simon Legner
simon.legner at gmail.com
Tue Nov 13 10:32:57 GMT 2012
Hi!
> lat -> lat
> v='name' -> title
`//node` should give you a list of nodes.
For each of these nodes `@lat` would give the latitude, and
`tag[@k='name']/@v` would give the name field.
> If anyone has other ideas for simply converting this to a CSV file that
> would be nice also, but, at some point, I know I will have to get a
> whole lot more technical. A little help now would be greatly
> appreciated, though!
Did you check …
https://wiki.openstreetmap.org/wiki/Osmconvert#Writing_CSV_Files
Cheers,
Simon
More information about the dev
mailing list