OpenSpeleoLib
OpenSpeleoLib reads, writes, validates, and converts cave-survey data.
GeoJSON conversion
Convert an Ariane TML survey with:
openspeleo convert -i survey.tml -o survey.geojson -f geojson
Coordinate safety guard
A connected shot can contain both survey measurements and an explicit geographic
endpoint. During GeoJSON conversion, explicit coordinates remain authoritative,
but OpenSpeleoLib calculates where the shot should end from its length, depth,
azimuth, unit, and magnetic declination. If the supplied and calculated
endpoints differ by more than 500 metres, conversion raises
InconsistentShotCoordinatesError.
For example, synthetic Shot ID 4242 with supplied coordinates (-70, 40) and
a calculated endpoint near (40, -70) produces an error containing:
[Shot ID=4242]: Explicit coordinates are inconsistent with shot measurements
The 500-metre threshold is a fixed catastrophic-data guardrail, not a survey-quality or GPS-accuracy guarantee. Coordinates within the threshold are accepted without certifying their accuracy. Root anchors and connected anchors whose parents cannot be resolved cannot be compared and retain their existing behavior.
The library never swaps coordinates, guesses a correction, or emits a partially
converted GeoJSON document. The CLI calculates and validates the complete
document before opening the output path: a failed conversion does not create a
new output and does not replace an existing output passed with --overwrite.
Correct the source survey and run the conversion again.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openspeleo_lib-0.0.19.tar.gz.
File metadata
- Download URL: openspeleo_lib-0.0.19.tar.gz
- Upload date:
- Size: 34.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0afa1bdda86ce5d66dfe518066e906565cc33d5b32540cf52ec638d50b8d579f
|
|
| MD5 |
6141b517efccb2ef4cd69d4140d70c59
|
|
| BLAKE2b-256 |
17cfa8429bf98df938ba8a56ecc74c7bbb15edae9c084cb22b6402e404db0f0d
|
Provenance
The following attestation bundles were made for openspeleo_lib-0.0.19.tar.gz:
Publisher:
release.yml on OpenSpeleo/pytool_openspeleo_lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openspeleo_lib-0.0.19.tar.gz -
Subject digest:
0afa1bdda86ce5d66dfe518066e906565cc33d5b32540cf52ec638d50b8d579f - Sigstore transparency entry: 2753095508
- Sigstore integration time:
-
Permalink:
OpenSpeleo/pytool_openspeleo_lib@6128187b30a5867e5496aa8844eac7f158343ca8 -
Branch / Tag:
refs/tags/v0.0.19 - Owner: https://github.com/OpenSpeleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6128187b30a5867e5496aa8844eac7f158343ca8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file openspeleo_lib-0.0.19-py3-none-any.whl.
File metadata
- Download URL: openspeleo_lib-0.0.19-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e4dd9015033f83957799eb9cb7772ec1b9206a7c3b4a82c910b8d1d514c0809
|
|
| MD5 |
43a75229d20a1fb7838215ccba326fb0
|
|
| BLAKE2b-256 |
d34c30c154bdd8cd707e3f324c567c9cdb443a0598bc9b87ce5771928cf97758
|
Provenance
The following attestation bundles were made for openspeleo_lib-0.0.19-py3-none-any.whl:
Publisher:
release.yml on OpenSpeleo/pytool_openspeleo_lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openspeleo_lib-0.0.19-py3-none-any.whl -
Subject digest:
5e4dd9015033f83957799eb9cb7772ec1b9206a7c3b4a82c910b8d1d514c0809 - Sigstore transparency entry: 2753095524
- Sigstore integration time:
-
Permalink:
OpenSpeleo/pytool_openspeleo_lib@6128187b30a5867e5496aa8844eac7f158343ca8 -
Branch / Tag:
refs/tags/v0.0.19 - Owner: https://github.com/OpenSpeleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6128187b30a5867e5496aa8844eac7f158343ca8 -
Trigger Event:
workflow_dispatch
-
Statement type: