Skip to main content

geotriangulate

Project description

geotriangulate

geotriangulate is a Python library for finding object location by triangulation method.

Installation

Just save geotriangulate.py to any convenient location and import it

Usage

import geotriangulate

# Creates a new measurement with longitude lon, latitude lat, azimuth alpha
meas = Measurement(lon, lat, alpha)

# Creates a new target object
targobj = TargObj()

''' Adds measurement meas of the target object. returns the id assigned to the measurement. 
If the new measurement does not provide any additional information, None is returned

'''
meas_id = targobj.AddMeasurement(meas)

# Deletes the measurement by id. If there is no measurement with such an id, an error is thrown
targobj.DeleteMeasurement(meas_id)

# Access to the current average location of the object
targobj.CurMedPos

License

MIT

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

geotriangulate-1.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

geotriangulate-1.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geotriangulate-1.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for geotriangulate-1.0.0.tar.gz
Algorithm Hash digest
SHA256 51e3a4db7730e70cf3c5b6313d3c6f0c1742ff70970ec974b0863042b7f88885
MD5 817e7fb5f24a32986284fee032d6053e
BLAKE2b-256 9951726440ace58f4df86ce387ae74d2ba0848b55158cadf9ce9c366df0a8141

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geotriangulate-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for geotriangulate-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69ea1c7c5ec060083d24e5fb0d9d6acc2642874499f1435a770e8a52747726fe
MD5 579f89330b8b08794b86b2b73fe1da28
BLAKE2b-256 7858bc6cfdb41252511f079ba173ebdae3c36ac2e8fcb055d645d7010e7397fc

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