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.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for sartopo_python-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8919634190b1120732053ab267be64f04d17501f278b84d95d13c0519210d9b3 |
|
MD5 | f9a25199178f199fbc91fcf47dafc3ac |
|
BLAKE2b-256 | cd887cdcdc09eb3d46e726eb5079f39d459e5cd33168dd79e3636ec70d495a3c |