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!

Generate a map of geolocations

Project Description

Generate a map of geolocations

Example

To use as a library.

>>> import geomap
>>> m = geomap.Map(args.projection)
>>> lon =[37.7833, ...]
>>> lat = [-122.4167, ...]
>>> m.add_coordinates(lon, lat)
# to show the map
>>> m.generate_map()
# to save to a file
>>> m.generate_map(output='map.png')

To use as a standalone program.

# to show the map
$ geo-map coordinates.txt
# to save to a file
$ geo-map coordinates.txt -o map.pdf

The input is a comma separated values (CSV) file, the first value is the longitude and the second values is the latitude.

37.7833, -122.4167
42.3581, 71.0636
.
.
.

Installation

To install geomap, simply:

$ pip install geomap
Release History

Release History

This version
History Node

0.2.1

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
geomap-0.2.1-py2.py3-none-any.whl (4.6 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 18, 2014
geomap-0.2.1.tar.gz (249.7 kB) Copy SHA256 Checksum SHA256 Source Sep 18, 2014

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting