GeoComPy¶
Python wrapper functions for communicating with surveying instruments over a serial connection.
The implementations use the Leica GeoCOM ASCII RPC procotol primarily. For older instruments, that do not support it, the GSI Online commands are used instead.
- The package provides
Utility data types for handling instrument responses
Instrument software specific low level commands
Documentation¶
Public classes and methods are provided with proper docstrings, that can be viewed in the source code, through introspection tools or editor utilities. The docstrings follow the NumPy style conventions. In addition to the in-code documentation, a complete, rendered reference is avaialable on the GeoComPy documentation site.
Some docstrings provide examples. These examples assume that geocompy
has been imported as gc:
>>> import geocompy as gc
Subpackages¶
geocompy.geoCommunication through GeoCOM protocol.
geocompy.gsiCommunication through GSI Online protocol.
Submodules¶
geocompy.dataUtilities for data handling.
geocompy.communicationCommunication methods.
Reexports¶
geocompy.data.AngleAngle value primitive.
geocompy.data.Vector3D vector primitive.
geocompy.data.Coordinate3D coordinate primitive.
geocompy.communication.open_serialSerial connection context manager function.
geocompy.communication.open_socketSocket connection context manager function.
geocompy.gsi.dna.GsiOnlineDNADNA instrument implementation.
geocompy.gsi.gsitypes.GsiOnlineResponseGSI Online protocol response container.
geocompy.geo.GeoComGeoCOM protocol handler.
geocompy.geo.gctypes.GeoComCodeGeoCOM return codes.
geocompy.geo.gctypes.GeoComResponseGeoCOM protocol response container.