def __init__( self, ellipsoidCode="wgs84", axesOri="ne", bearingOri="right-handed", name="", description="", proj4String="", distScale=1.0, ): """ ellipsoidCode: code of ellipsoid from gizela.util.Ellipsoid class axesOri: orientation of x and y axis bearingOri: orientation of bearings right-handed/left-handed name: short name of local system description: longer description of system proj4String: string of parameters for pyproj.Proj class for projection from global to local system distScale: scale factor for distance reduction """ AxesOrientation.__init__(self, axesOri=axesOri, bearingOri=bearingOri) CoordSystemGlobal.__init__(self, ellipsoidCode=ellipsoidCode, name=name, description=description) self.name = name self.description = description self.proj4String = proj4String self.distScale = distScale
def __init__(self, ellipsoidCode="wgs84", lat=0, lon=0, height=0, x=0, y=0, z=0, axesOri="ne", bearingOri="right-handed", name="", description=""): """ ellipsoidCode: code of ellipsoid from gizela.util.Ellipsoid class lat, lon, height: latitude, longitude and ellipsoidal height of central point of E3 local coordinate system angles are in radians x, y, z: coordinates in E3 of central point axesOri: orientation of x and y axis bearingOri: orientation of bearings right-handed/left-handed name: short name of local system description: longer description of system """ AxesOrientation.__init__(self, axesOri=axesOri, bearingOri=bearingOri) CoordSystemGlobal.__init__(self, ellipsoidCode=ellipsoidCode, name=name, description=description) self.centralPointGeo=PointGeodetic(id="", lat=lat, lon=lon, height=height) self.centralPointLoc=PointCart(id="", x=x, y=y, z=z)