Skip to main content

Geonames data parser into Shapefile/KML

Project description

#Geonames

The Geonames library parses Geonames.org datasets into clean & simple OGR shapefile format.

##How to Use

This very simple Command Line Interface (CLI) converts the text file into a shapefile with a single line of code.

` $ geonames CF.txt <Geonames - Central African Republic [15373]> `

## Install

How to install Fiona

`bash $ sudo apt-get install python-software-properties $ sudo add-apt-repository ppa:ubuntugis/ppa $ sudo apt-get update $ sudo apt-get install libgdal-dev $ pip install fiona `

Install Geonames using PyPi

`bash $ sudo pip install geonames `

## Documentation

Download Geonames data using from [geonames.org](http://geonames.org/export/dump/)

`bash $ wget http://download.geonames.org/export/dump/PH.zip $ unzip PH.zip `

Export the dataset using the Geoname’s CLI

`bash $ geonames PH.txt <Geonames - Philippines [75003]> `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geonames-0.1.1.tar.gz (34.9 kB view details)

Uploaded Source

File details

Details for the file geonames-0.1.1.tar.gz.

File metadata

  • Download URL: geonames-0.1.1.tar.gz
  • Upload date:
  • Size: 34.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for geonames-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6e28bba638e16d3d280c66003ca33837003c2bf217b73cb9fa2c14abc05ccc84
MD5 71e75bd89f4517cd807197e1cf45217f
BLAKE2b-256 35b89eb3fe743cd52fca20304c02b7e933707f58a96e152750ef5a4e547ff93e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page