I've done some looking around but can't figure out if this is possible: I need a file of placenames in the UK along with their lat/lng. Similar to this: http://wiki.openstreetmap.org/wiki/List_of_London_Underground_stations Does such a thing exist? Chris. asked 01 Feb '13, 16:15 Chris1970 |
As an example, here's what I did when I wanted all the railway stations in mainland GB. You'll need to think about what "
Step (1) is needed because osmfilter doesn't understand pbf (protobuf format) files. You could process as a raw .osm file, but it'd be much bigger. Step (4) is a sanity check to get rid of a few bits and pieces. answered 04 Feb '13, 08:53 SomeoneElse ♦ |
I'm afraid this probably doesn't readily exist. But for sure it is possible to generate this, although this require the use of more advanced techniques. I could imagine two different approaches: Filter the data locally from downloaded data First you have to get the country extract for the UK e.g. from Geofabrik. Also you have to get Osmosis and familiarize yourself with the usage. Osmosis allows you to extract all place nodes, use something like Use Overpass API to get the data Overpass API allows you to do the filtering directly. Here you'll have to use something like answered 04 Feb '13, 08:38 Ohr |