Skip to main content

TasTopo

Generate printable topographic maps for anywhere in Tasmania.

The Tasmanian Government's ListMap service provides an online map viewer that can display a wealth of publicly accessible geospatial data covering the whole of Tasmania. It allows users to generate maps as printable PDFs, but lacks fine-grained controls.

TasTopo is a command-line tool that provides an alternative way to create printable maps using ListMap data. It uses the ListMap ArcGIS API to fetch an image of the map area required, before wrapping it in a minimal SVG template and exporting it as a PDF file.

Example map

Features

  • Location searchable by name or geo URI
  • Continuously variable scale ratio
  • Dynamic sheet sizing from A5 to A0
  • Landscape or portrait orientation
  • Minimal design to maximise map area
  • SVG and PDF export formats
  • Enhanced hillshade overlay

Installation

TasTopo requires Python 3 and can be installed using Pip:

python3 -m pip install tastopo

Usage

tastopo generate [options] <location>

To generate a map, provide either the name of a place, or its coordinates as a geo URI for the <location> argument, as well as any options required. Valid locations include:

  • kettering
  • 'kunyani / Mount Wellington'
  • 'geo:-43.643611,146.8275'

Layout options

  • --scale: Specify the scale of the printed map (defaults to 25000)
  • --title: Set the title on the map sheet, instead of the location name
  • --paper: Specify the paper size for printing (defaults to A4)
  • --portrait: Orientate the map in portrait, rather than landscape

For details of all the available options run tastopo --help.

Example

A PDF version of the the map image shown above can be generated using the following command:

tastopo generate --paper a5 --scale 28000 kettering

License and copyright

TasTopo is released under the MIT license.

Mapping data is sourced from Land Tasmania's ListMap service, under the Creative Commons 3.0 Australia license. Topographic and hillshade grey map layers from www.thelist.tas.gov.au © State of Tasmania.

Metadata

Release files for tastopo 1.2.0

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

Source distribution (sdist)

Source distribution for tastopo 1.2.0
File Size Uploaded Provenance
tastopo-1.2.0.tar.gz 26.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tastopo 1.2.0
File Interpreter ABI Platform
tastopo-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 54.6 kB

Release files / tastopo-1.2.0.tar.gz

Download URL tastopo-1.2.0.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c2c6d8878cab4316ff5e849959923130df0bf3a068afaeb351f259f19f66ae28
BLAKE2b-256 checksum
How to use checksums
9e33a19e1573a14e6bfd624f28d57717a27409dcc37db257d5ed68a95291e27e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Release files / tastopo-1.2.0-py3-none-any.whl

Download URL tastopo-1.2.0-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edccc8504468ff8bd701c068b831d4b257c61e0a4c4cfe6d335ec00bbf05ae53
BLAKE2b-256 checksum
How to use checksums
6c531b74b71e092409db40d49f1ccc6b3f08ffd45fbe2fc6833b49b0dc12f13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.2

Security for tastopo 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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