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

Uploaded Source

Built Distribution

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

caltopo_python-2.0.0-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: caltopo_python-2.0.0.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for caltopo_python-2.0.0.tar.gz
Algorithm Hash digest
SHA256 603b5dc6ad2eca056ad2bb8269e9d954c51844ec26af703e3af01fd46a908dd0
MD5 b9f06b2b66d5292997af37c0772ded2d
BLAKE2b-256 b1797898dc8882fea51dbed7bfabe6d9358a3b8f9e76858ad9460e1247c4515a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: caltopo_python-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 70.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for caltopo_python-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9687d0ed6bc8c9521daa8b78a70f80c62559f8810d13aafd346d180e40c166f
MD5 fb18f661357b39e488ceba3408f26624
BLAKE2b-256 cd9a30da20497f10937537d971eceb8e2ee372578d431ff22b03a9956e2c2133

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