Documentation

PyVerm is a Python-Package for geodetic and surveying calculations. The main focus is on calculations for surveying in switzerland, but PyVerm should be as versatile as possible. In addition to its use in education and research, it should also be possible to use it as a component for software development.

PyVerm Classes

class pyverm.Point(y, x, z=None)[source]
__init__(y, x, z=None)[source]

Point class

Parameters:
  • y – y-coordinate
  • x – x-coordinate
  • z – z-coordinate (optional)
class pyverm.ObservationPolar(**kwargs)[source]
__init__(**kwargs)[source]

Polar-Observation class

Parameters:
  • kwargs – reduced_targetpoint
  • kwargs – reduced_horizontal_angle
  • kwargs – reduced_zenith_angle
  • kwargs – reduced_distance
class pyverm.Station(standpoint, orientation)[source]
stakeout(point)[source]

ToDo

Parameters:point
Returns:
survey(observation)[source]

Returns the Point which was surveyed.

Parameters:observation
Returns:

PyVerm Functions

pyverm.azimuth(point_a, point_b)[source]

Return the azimuth form point A to point B.

Parameters:
  • point_aPoint-object or (y,x)-tuple
  • point_bPoint-object or (y,x)-tuple
Returns:

azimuth in gon as decimal

pyverm.distance(point_a, point_b)[source]

Return the 2D distance from point A to Point B.

Parameters:
  • point_aPoint-object or (y,x)-tuple
  • point_bPoint-object or (y,x)-tuple
Returns:

distance in meters as decimal

pyverm.station(standpoint, orientation)[source]

Return a station object.

Parameters:
  • standpointPoint-object or (y,x)-tuple
  • orientation – orientation in gon
Returns:

station-object

pyverm.station_abriss(standpoint, observations)[source]

Calculate the orientation and return the station object.

Parameters:
  • standpointPoint-object or (y,x)-tuple
  • observations – list or tuple of observation-objects
Returns:

station-object

pyverm.station_helmert(observations)[source]

Calculate the standpoint and orientation and return the station object.

Parameters:observations – list or tuple of observation-objects
Returns:station-object