Skip to main content

Geo Mapper

Generate a map of geolocations

https://github.com/amiralis/geo-mapper/blob/master/include/map.png

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 files for geomap 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geomap 0.2.1
File Size Uploaded
geomap-0.2.1.tar.gz 249.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geomap 0.2.1
File Interpreter ABI Platform
geomap-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 254.3 kB

Release files / geomap-0.2.1.tar.gz

Download URL geomap-0.2.1.tar.gz
Size 249.7 kB
Tags Source
SHA-256 checksum
How to use checksums
93ee08d5508b1cad8678f79b1ecccd2829a6a065d042137eae0b7e5cae30d379
BLAKE2b-256 checksum
How to use checksums
e68c98f6d759cc44f5451858b28bbd5155395a5749b61b01393c572ac26c9ed6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / geomap-0.2.1-py2.py3-none-any.whl

Download URL geomap-0.2.1-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c3baf43d94ca56d5a2d8bb798bb1fa2ad1036dfeaebbba2a398c12ef1bdbfc5
BLAKE2b-256 checksum
How to use checksums
bb13ef239f86f79bae353aa48cfc7ae0e92ba6c609a88fe4164929be5d7ed789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page