Geonames is a project mainly written in Ruby, based on the Unlicense license.
Download and convert geonames export
Simple utility scripts for downloading, unpacking and reformatting the Geonames RDF data dumps.
Leigh Dodds ([email protected])
[http://github.com/ldodds/geonames]
Geonames is a great resource for geographical information. Helpfully they publish data exports in a variety of formats, allowing others to process and manipulate the data locally.
Unfortunately the RDF data dump that is available from:
[http://download.geonames.org/export/dump/all-geonames-rdf.txt.zip]
is a little idiosyncratic. Rather than provide a single ntriples or even RDF/XML file the dump consists of a text file that consists of alternating lines like this:
...feature URI....