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]>
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.3.zip
(40.1 kB
view details)
Built Distribution
File details
Details for the file geonames-0.1.3.zip
.
File metadata
- Download URL: geonames-0.1.3.zip
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26c7bc5e8488b9ff75c6b270059260f5e51813bcfb57e3241e3fcb1b606eb8ce |
|
MD5 | 1daab7f6812f5dce4377f8c6d7034bbd |
|
BLAKE2b-256 | 0bfc72d72c935001e25615beac502ebfe9dbd942db1a4f0b6f486b2ee7eb07de |
File details
Details for the file geonames-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: geonames-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2cad452c78fe46064107be6d461636d7b5da49f850ed82d19eef8ff2b1b68ed |
|
MD5 | 0f190064e019f9f0f05fb486e55c64a1 |
|
BLAKE2b-256 | 7e7c41d11aacc46b4136568077b7ffbf648c7384f7fbb67d2296912008a709bd |