This module defines classes and functions for converting a CSV file of points of interest with addresses to a KML file for importing into mapping software.
Project description
poi_kml
This module defines classes and functions for converting a CSV file of points of interest with addresses to a KML file for importing into mapping software.
Installation
To install poi_kml, use pip (or similar):
pip install poi-kml
Documentation
First generate a test csv file
fake_file = poi_kml.make_fake_poi_csv('sample_poi.csv', n=20)
Example for generating a kml file
db = poi_kml.POIdb(fake_file)
db.set_home('1200 E California Blvd, Pasadena, CA 91125')
db.filter(miles=25)
db.to_kml(filename='poi_near')
print(db.sort(by='Name'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poi_kml-0.1.2.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file poi_kml-0.1.2.tar.gz
.
File metadata
- Download URL: poi_kml-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.6.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abd8fe6904d44a772a59c3a97a8b8aff51ccb66c16069c1e12bb031ca0a2f202 |
|
MD5 | 4e62632449cdc9c44ccdef9d2c172e26 |
|
BLAKE2b-256 | 8884315f15e8ebaf170c984862607338706c1227dec47631229c9600aadfe20d |
File details
Details for the file poi_kml-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: poi_kml-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.10 CPython/3.6.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f4bdd54ce35fe4b11a538bb576fc14979a01a8eea229f68f47b4d834fed9068 |
|
MD5 | 6600f6d38f2ed7b8ba8a342994d938c6 |
|
BLAKE2b-256 | d53e32d815a3f3917927b07e871c2e15e29c3d8406584c26e6219631e09c5590 |