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 hashes)