Skip to main content

Generate a map of geolocations

Project description

Generate a map of geolocations


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


To install geomap, simply:

$ pip install geomap

Project details

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
geomap-0.2.1-py2.py3-none-any.whl (4.6 kB) Copy SHA256 hash SHA256 Wheel 2.7
geomap-0.2.1.tar.gz (249.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page