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.1.1.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

tastopo-1.1.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tastopo-1.1.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for tastopo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c837243d7990b9df3dae7099fb6269b98e5bed47dd2b20658028bcdf090222c0
MD5 cbed960f429a4b6d4de629498f7c9be0
BLAKE2b-256 0481af82f20644f2009abc27d4a1804f28c1403797a548badad9ee22af15b438

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tastopo-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for tastopo-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8db1917c55e22e848435dcc23b07eaab6145e571c8e36a496bb55f1561a98a
MD5 ddfbbeac9f5516f0dc5404ff009ea45a
BLAKE2b-256 bb754f2709a60283e8e42a9ce1318ab0c071fe003c7918cdf34deb3db2063069

See more details on using hashes here.

Supported by

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