Skip to main content

Generate printable topographic maps for anywhere in Tasmania

Project description

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.

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

tastopo-1.2.0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

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

tastopo-1.2.0-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file tastopo-1.2.0.tar.gz.

File metadata

  • Download URL: tastopo-1.2.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for tastopo-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c2c6d8878cab4316ff5e849959923130df0bf3a068afaeb351f259f19f66ae28
MD5 fb2a01e0dc9e462399d0921980794093
BLAKE2b-256 9e33a19e1573a14e6bfd624f28d57717a27409dcc37db257d5ed68a95291e27e

See more details on using hashes here.

File details

Details for the file tastopo-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: tastopo-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.2

File hashes

Hashes for tastopo-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edccc8504468ff8bd701c068b831d4b257c61e0a4c4cfe6d335ec00bbf05ae53
MD5 ca466437e418043f430741eed5d3902b
BLAKE2b-256 6c531b74b71e092409db40d49f1ccc6b3f08ffd45fbe2fc6833b49b0dc12f13a

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