Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Geonames data parser into Shapefile/KML

Project Description

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:

$ 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:

$ sudo pip install geonames

Documentation

Download Geonames data using from geonames.org:

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

Export the dataset using the Geoname’s CLI:

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

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
geonames-0.1.3-py2.py3-none-any.whl
(38.2 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Jul 29, 2015
geonames-0.1.3.zip
(40.1 kB) Copy SHA256 Hash SHA256
Source None Jul 29, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting