Python interface to unofficial SARTopo API
Project description
sartopo_python
Sartopo / Caltopo currently does not have a publically available API; this code calls the non-publicized API that could change at any time.
This module is intended to provide a simple, API-version-agnostic sartopo interface to other appliactions.
This python code is in no way supported or maintained by caltopo LLC or the authors of caltopo.com or sartopo.com.
Installation:
pip intall sartopo_python
Provided functions in class SartopoSession:
__init__ - create a new session
domainAndPort="localhost:8080" mapID=None
addFolder - create a SARTopo folder
label="New Folder"
addMarker - create a SARTopo marker
lat lon title="New Marker" description="" color="FF0000" symbol="point" rotation=None folderId=None
Typical usage:
from sartopo_python import SartopoSession
sts=SartopoSession(domainAndPort=domainAndPort,mapID=mapID)
fid=sts.addFolder("Buckshot")
sts.addMarker(lat,lon,title,description,color,symbol,None,fid)
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
sartopo_python-1.0.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for sartopo_python-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13731da174a52938cc599f4e31304d95167db4a8a58d361138f9825e56b937ef |
|
MD5 | 43e86da9626ec290bb00764bd7520518 |
|
BLAKE2b-256 | 2ee51d4d117cf550c31faef3baa2047a19b236beee322064c5cc1e943b8c5ccf |