Skip to main content

Python interface to unofficial CalTopo API

Project description

caltopo_python

See this project's ReadTheDocs page.

CalTopo is a very popular web-browser-based and smartphone-app-based mapping tool. SARTopo is a mostly-obsolete name that refers to a set of Search-And-Rescue-specific features inside the CalTopo tool. See caltopo.com and training.caltopo.com.

Being a web-based tool, CalTopo uses a web API to accomplish most user actions. The API is not currently documented or developed for general public use, and could change at any time.

This module provides a ‘session’ object which manages a data connection to a hosted map, and provides several wrapper methods and convenience methods that make calls to the non-publicized CalTopo API.

If your CalTopo account is a member of a SAR team account, you can use this module for SAR-specific features on a caltopo.com map.

This third-party module is not written or maintained by CalTopo LLC or the authors of caltopo.com.

DISCLAIMER: This module can edit and delete CalTopo map features. At the time of this module’s publication, CalTopo does not have any ‘undo’ capability. Only you can take steps to prevent loss of map data due to use of this module - whether due to accidental misuse, or due to an unexpected bug in the module. You should always consider exporting a full GeoJSON from your map before using this code.

Categories of provided class methods:

  • account data access
  • feature creation
  • feature editing
  • feature querying
  • feature deletion
  • geometry operations

Installation

Install this package in the usual manner:

pip install caltopo_python

To activate online requests, you will need to determine your account ID, credential ID, and public key. See details at the ReadTheDocs Credentials page.

NOTE: caltopo_python was formerly called sartopo_python. caltopo_python 1.0.x will be identical to sartopo_python 2.0.x.

For more information, see the ReadTheDocs Migration page.

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

caltopo_python-1.0.0.tar.gz (55.2 kB view details)

Uploaded Source

Built Distribution

caltopo_python-1.0.0-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

Details for the file caltopo_python-1.0.0.tar.gz.

File metadata

  • Download URL: caltopo_python-1.0.0.tar.gz
  • Upload date:
  • Size: 55.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for caltopo_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 515f22df3e28bf4070b0dab45c3daaac1329952a01830a69ceb7b5328d0fd005
MD5 2efd1b98640bb2f9bde627138811e03d
BLAKE2b-256 ae96c1b343c6387e626869d183e50443a29b3ec181eb97ccb6425907bdfcceef

See more details on using hashes here.

File details

Details for the file caltopo_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for caltopo_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 680976717d6c010e0d9f1b98f4179f432970e81ef1d9577a1216ef1972408aad
MD5 3ad71e07eb214e4105eab45c0fa67e35
BLAKE2b-256 9cdcbd73dd8582ba9eb3b1277d82a6dba505e9a884caedbd02b155d3351dad19

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