Skip to main content

Tiled map viewer and track editor, using cached offline map tiles and track files

Project description

PyTopo

PyTopo is a tiled map viewer and a track log viewer/editor.

PyTopo screenshot, Bandelier National Monument

Downloaded map tiles are cached locally, so you can use PyTopo offline if you've already cached the tiles for an area.

See the project home page at http://shallowsky.com/software/topo for more information, examples, screenshots, hints on creating custom maps, and more.

By default, PyTopo uses tiles from OpenStreetMap, but you can specify a variety of tile sources (which may or may not require API keys); or you can create your own tiles. It can also use tiles from a few commercial programs like the old National Geographic Topo!

The package also includes ellie, a simple script for reporting and plotting distance and elevation change statistics from a GPX track log. More information: http://shallowsky.com/software/ellie/

Track Logs and Waypoints

PyTopo can read track logs in GPX, KML, KMZ or geojson format. It can make simple edits, like splitting a track or deleting to the begin or end point and can save as GPX.

It can also measure distances and bearing angles between points, or report the coordinates of a point.

Installing and Dependencies

You can install PyTopo with pip install pytopo

Dependencies include GTK (and its various dependencies), numpy, and (optionally) matplotlib. If you want to read from a GPS, you'll need gpsd and python-gps.

The first time you run pytopo, it will create a ~/.config/pytopo directory for its configuration files, and a ~/Maps directory for map data.

Other Info

pytopo -h gives usage examples.

If you need custom maps., edit ~/.config/pytopo/pytopo.sites to add new map Collections (see examples in that file or on the project home page).

Code contributions appreciated!

Tests and Documentation

There are some unit tests in the test/ directory; run them with python -m unittest discover from the top-level directory.

The docs directory contains documentation on the two apps and the API. To build the documentation:

python setup.py build_sphinx

or

cd sphinxdoc
make html

Happy mapping!

Project details


Download files

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

Source Distribution

pytopo-1.6.5.tar.gz (70.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytopo-1.6.5-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file pytopo-1.6.5.tar.gz.

File metadata

  • Download URL: pytopo-1.6.5.tar.gz
  • Upload date:
  • Size: 70.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for pytopo-1.6.5.tar.gz
Algorithm Hash digest
SHA256 34cb22afff1abc541a554d17e110b6df9fd3209b11f908ef7d55d35e97e7778f
MD5 5a8e560de902fd5fe7108058ec3f1f03
BLAKE2b-256 ac0e4cf0c9924b2ff5a933803f56152187350c0494b87afefdd268bd6043a797

See more details on using hashes here.

File details

Details for the file pytopo-1.6.5-py3-none-any.whl.

File metadata

  • Download URL: pytopo-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2

File hashes

Hashes for pytopo-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 baa807607576d384349a7937d82d758e97325201a7a49d215dea4dba365ede83
MD5 58c7f6ee540ede0f931dbd62bff3b0c7
BLAKE2b-256 8204d6e89964c69bc4eb528ac05822a2dbdef0c58477636e6f60b3f89ca59e93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page