Eclipse SUMO - Simulation of Urban MObility
GeoConvHelper Class Reference

static methods for processing the coordinates conversion for the current net More...

#include <GeoConvHelper.h>

Collaboration diagram for GeoConvHelper:
[legend]

Public Member Functions

void cartesian2geo (Position &cartesian) const
 Converts the given cartesian (shifted) position to its geo (lat/long) representation. More...
 
 GeoConvHelper (const std::string &proj, const Position &offset, const Boundary &orig, const Boundary &conv, double scale=1.0, double rot=0.0, bool inverse=false, bool flatten=false)
 Constructor. More...
 
 GeoConvHelper (OptionsCont &oc)
 Constructor based on the stored options. More...
 
const BoundarygetConvBoundary () const
 Returns the converted boundary. More...
 
const Position getOffset () const
 Returns the network offset. More...
 
const Position getOffsetBase () const
 Returns the network base. More...
 
const BoundarygetOrigBoundary () const
 Returns the original boundary. More...
 
const std::string & getProjString () const
 Returns the original projection definition. More...
 
void moveConvertedBy (double x, double y)
 Shifts the converted boundary by the given amounts. More...
 
bool operator!= (const GeoConvHelper &o) const
 
bool operator== (const GeoConvHelper &o) const
 
void resolveAbstractProjection ()
 init projString such as 'UTM' in loaded projection More...
 
void setConvBoundary (const Boundary &boundary)
 sets the converted boundary More...
 
bool usingGeoProjection () const
 Returns whether a transformation from geo to metric coordinates will be performed. More...
 
bool usingInverseGeoProjection () const
 Returns the information whether an inverse transformation will happen. More...
 
bool x2cartesian (Position &from, bool includeInBoundary=true)
 Converts the given coordinate into a cartesian and optionally update myConvBoundary. More...
 
bool x2cartesian_const (Position &from) const
 Converts the given coordinate into a cartesian using the previous initialisation. More...
 
 ~GeoConvHelper ()
 Destructor. More...
 

Static Public Member Functions

static void addProjectionOptions (OptionsCont &oc)
 Adds projection options to the given container. More...
 
static void computeFinal (bool lefthand=false)
 compute the location attributes which will be used for output based on the loaded location data, the given options and the transformations applied during processing More...
 
static const GeoConvHelpergetFinal ()
 the coordinate transformation for writing the location element and for tracking the original coordinate system More...
 
static GeoConvHelpergetLoaded ()
 the coordinate transformation that was loaded fron an input file More...
 
static GeoConvHelpergetLoadedPlain (const std::string &edgFile)
 
static int getNumLoaded ()
 
static GeoConvHelpergetProcessing ()
 the coordinate transformation to use for input conversion and processing More...
 
static void init (const std::string &proj, const Position &offset, const Boundary &orig, const Boundary &conv, double scale=1.0)
 Initialises the processing and the final instance using the given proj.4-definition and complete network parameter. More...
 
static bool init (OptionsCont &oc)
 Initialises the processing and the final instance using the given options. More...
 
static void resetLoaded ()
 resets loaded location elements More...
 
static void setLoaded (const GeoConvHelper &loaded)
 sets the coordinate transformation loaded from a location element More...
 
static void setLoadedPlain (const std::string &nodFile, const GeoConvHelper &loaded)
 registers the coordinate transformation as having been loaded from the given file More...
 
static void writeLocation (OutputDevice &into)
 writes the location element More...
 

Private Types

enum  ProjectionMethod {
  NONE , SIMPLE , UTM , DHDN ,
  DHDN_UTM , PROJ
}
 projection method More...
 

Private Member Functions

 GeoConvHelper (const GeoConvHelper &)=delete
 invalidated copy constructor. More...
 
GeoConvHelperoperator= (const GeoConvHelper &)
 make assignment operator private More...
 

Private Attributes

Boundary myConvBoundary
 The boundary after conversion (x2cartesian) More...
 
double myCos
 
bool myFlatten
 whether to discard z-data More...
 
double myGeoScale
 The scaling to apply to geo-coordinates. More...
 
Position myOffset
 The offset to apply. More...
 
Boundary myOrigBoundary
 The boundary before conversion (x2cartesian) More...
 
ProjectionMethod myProjectionMethod
 Information whether no projection shall be done. More...
 
std::string myProjString
 A proj options string describing the proj.4-projection to use. More...
 
double mySin
 The rotation to apply to geo-coordinates. More...
 
bool myUseInverseProjection
 Information whether inverse projection shall be used. More...
 

Static Private Attributes

static GeoConvHelper myFinal
 coordinate transformation to use for writing the location element and for tracking the original coordinate system More...
 
static GeoConvHelper myLoaded
 coordinate transformation loaded from a location element More...
 
static std::map< std::string, std::pair< std::string, Position > > myLoadedPlain
 the projections loaded from .nod.xml (to be re-used when loading edg.xml) More...
 
static int myNumLoaded = 0
 the numer of coordinate transformations loaded from location elements More...
 
static GeoConvHelper myProcessing
 coordinate transformation to use for input conversion and processing More...
 

Detailed Description

static methods for processing the coordinates conversion for the current net

Definition at line 53 of file GeoConvHelper.h.

Member Enumeration Documentation

◆ ProjectionMethod

projection method

Enumerator
NONE 
SIMPLE 
UTM 
DHDN 
DHDN_UTM 
PROJ 

Definition at line 172 of file GeoConvHelper.h.

Constructor & Destructor Documentation

◆ GeoConvHelper() [1/3]

GeoConvHelper::GeoConvHelper ( OptionsCont oc)

Constructor based on the stored options.

Parameters
[in]ocThe OptionsCont from which to read options

Referenced by computeFinal(), getLoadedPlain(), and init().

Here is the caller graph for this function:

◆ GeoConvHelper() [2/3]

GeoConvHelper::GeoConvHelper ( const std::string &  proj,
const Position offset,
const Boundary orig,
const Boundary conv,
double  scale = 1.0,
double  rot = 0.0,
bool  inverse = false,
bool  flatten = false 
)

Constructor.

Definition at line 51 of file GeoConvHelper.cpp.

References DHDN, DHDN_UTM, myProjectionMethod, myProjString, NONE, NONE, PROJ, SIMPLE, TL, UTM, and WRITE_WARNING.

◆ ~GeoConvHelper()

GeoConvHelper::~GeoConvHelper ( )

Destructor.

Definition at line 112 of file GeoConvHelper.cpp.

◆ GeoConvHelper() [3/3]

GeoConvHelper::GeoConvHelper ( const GeoConvHelper )
privatedelete

invalidated copy constructor.

Member Function Documentation

◆ addProjectionOptions()

void GeoConvHelper::addProjectionOptions ( OptionsCont oc)
static

Adds projection options to the given container.

Parameters
[in]ocThe options container to add the options to
Todo:
let the container be retrieved

Definition at line 283 of file GeoConvHelper.cpp.

References OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), and TL.

Referenced by fillOptions(), and GNELoadThread::fillOptions().

Here is the caller graph for this function:

◆ cartesian2geo()

void GeoConvHelper::cartesian2geo ( Position cartesian) const

Converts the given cartesian (shifted) position to its geo (lat/long) representation.

Definition at line 328 of file GeoConvHelper.cpp.

References DEG2RAD, getOffsetBase(), myProjectionMethod, NONE, Position::set(), SIMPLE, Position::sub(), Position::x(), and Position::y().

Referenced by TraCIServerAPI_Simulation::commandPositionConversion(), LIBSUMO_NAMESPACE::Simulation::convert2D(), LIBSUMO_NAMESPACE::Simulation::convert3D(), LIBSUMO_NAMESPACE::Simulation::convertGeo(), MSPModel_JuPedSim::dumpGeometry(), MSVTypeProbe::execute(), GNEPOI::getAttribute(), GNEGeometryPointDialog::GNEGeometryPointDialog(), GNEGeometryPointDialog::onCmdChangeGeometryPoint(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary(), GNEGeometryPointDialog::onCmdReset(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), GNEShapeFrame::processClickPOIGeo(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), GNEPoly::setAttribute(), MSDevice_SSM::toGeo(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformationLabel(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NIImporter_OpenDrive::writeRoadObjects(), NWWriter_XML::writeShape(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), and x2cartesian_const().

Here is the caller graph for this function:

◆ computeFinal()

void GeoConvHelper::computeFinal ( bool  lefthand = false)
static

compute the location attributes which will be used for output based on the loaded location data, the given options and the transformations applied during processing

Definition at line 549 of file GeoConvHelper.cpp.

References Boundary::flipY(), GeoConvHelper(), getConvBoundary(), getOffset(), getOrigBoundary(), getProjString(), Position::mul(), myConvBoundary, myFinal, myLoaded, myNumLoaded, myOffset, myProcessing, and usingGeoProjection().

Referenced by NBNetBuilder::compute(), main(), and GNELoadThread::run().

Here is the caller graph for this function:

◆ getConvBoundary()

const Boundary & GeoConvHelper::getConvBoundary ( ) const

Returns the converted boundary.

Definition at line 525 of file GeoConvHelper.cpp.

References myConvBoundary.

Referenced by NBNetBuilder::compute(), computeFinal(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Simulation::getNetBoundary(), main(), NBNetBuilder::moveToOrigin(), NBNodeCont::printBuiltNodesStatistics(), LIBSUMO_NAMESPACE::Simulation::storeShape(), writeLocation(), NWWriter_OpenDrive::writeNetwork(), and NWWriter_DlrNavteq::writeNodesUnsplitted().

Here is the caller graph for this function:

◆ getFinal()

static const GeoConvHelper& GeoConvHelper::getFinal ( )
inlinestatic

the coordinate transformation for writing the location element and for tracking the original coordinate system

Definition at line 103 of file GeoConvHelper.h.

References myFinal.

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), MSRouteHandler::addStop(), RORouteHandler::addStop(), GNEAdditionalHandler::buildPOIGeo(), GUIGlObject::buildPositionCopyEntry(), TraCIServerAPI_Simulation::commandDistanceRequest(), TraCIServerAPI_Simulation::commandPositionConversion(), GNENet::computeAndUpdate(), LIBSUMO_NAMESPACE::Simulation::convert2D(), LIBSUMO_NAMESPACE::Simulation::convert3D(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Simulation::convertGeo(), LIBSUMO_NAMESPACE::Simulation::convertRoad(), MSPModel_JuPedSim::dumpGeometry(), MSVTypeProbe::execute(), GNEPOI::getAttribute(), LIBSUMO_NAMESPACE::Simulation::getDistance2D(), LIBSUMO_NAMESPACE::Simulation::getNetBoundary(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEGeometryPointDialog::GNEGeometryPointDialog(), main(), GNEGeometryPointDialog::onCmdChangeGeometryPoint(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary(), GNEShapeFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEGeometryPointDialog::onCmdReset(), GNEShapeFrame::GEOPOICreator::onCmdSetCoordinates(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), MapMatcher< E, L, N >::parseGeoEdges(), GNEShapeFrame::processClickPOIGeo(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), PCPolyContainer::save(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNETagSelector::setCurrentTagType(), NLHandler::setLocation(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), GNEMatchAttribute::showMatchAttribute(), LIBSUMO_NAMESPACE::Simulation::storeShape(), MSDevice_SSM::toGeo(), GUISUMOAbstractView::updatePositionInformationLabel(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

◆ getLoaded()

static GeoConvHelper& GeoConvHelper::getLoaded ( )
inlinestatic

the coordinate transformation that was loaded fron an input file

Definition at line 89 of file GeoConvHelper.h.

References myLoaded.

Referenced by NBEdgeCont::ignoreFilterMatch(), NIImporter_OpenDrive::myStartElement(), NBNetBuilder::transformCoordinate(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ getLoadedPlain()

GeoConvHelper * GeoConvHelper::getLoadedPlain ( const std::string &  edgFile)
static

Definition at line 592 of file GeoConvHelper.cpp.

References GeoConvHelper(), myLoadedPlain, and StringUtils::replace().

Referenced by NIXMLEdgesHandler::myStartElement().

Here is the caller graph for this function:

◆ getNumLoaded()

static int GeoConvHelper::getNumLoaded ( )
inlinestatic

Definition at line 93 of file GeoConvHelper.h.

References myNumLoaded.

Referenced by NIImporter_OpenDrive::myStartElement(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getOffset()

const Position GeoConvHelper::getOffset ( ) const

Returns the network offset.

Definition at line 531 of file GeoConvHelper.cpp.

References myOffset.

Referenced by computeFinal(), setLoadedPlain(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getOffsetBase()

const Position GeoConvHelper::getOffsetBase ( ) const

Returns the network base.

Definition at line 537 of file GeoConvHelper.cpp.

References myOffset.

Referenced by cartesian2geo(), LIBSUMO_NAMESPACE::Simulation::getParameter(), NBNodeCont::printBuiltNodesStatistics(), writeLocation(), and NWWriter_OpenDrive::writeNetwork().

Here is the caller graph for this function:

◆ getOrigBoundary()

const Boundary & GeoConvHelper::getOrigBoundary ( ) const

Returns the original boundary.

Definition at line 519 of file GeoConvHelper.cpp.

References myOrigBoundary.

Referenced by computeFinal(), NBNodeCont::printBuiltNodesStatistics(), and writeLocation().

Here is the caller graph for this function:

◆ getProcessing()

static GeoConvHelper& GeoConvHelper::getProcessing ( )
inlinestatic

the coordinate transformation to use for input conversion and processing

Note
instance is modified during use: boundary may adapt to new coordinates

Definition at line 84 of file GeoConvHelper.h.

References myProcessing.

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), NGNode::buildNBNode(), GUISUMOAbstractView::checkGDALImage(), NBNetBuilder::compute(), PCLoaderOSM::convertNodePosition(), NBEdgeCont::ignoreFilterMatch(), NIImporter_ArcView::load(), PCLoaderArcView::load(), PCLoaderVisum::load(), NILoader::load(), PCLoaderOSM::loadIfSet(), PCLoaderDlrNavteq::loadPOIFile(), PCLoaderDlrNavteq::loadPolyFile(), NBNodeCont::printBuiltNodesStatistics(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getProjString()

const std::string & GeoConvHelper::getProjString ( ) const

Returns the original projection definition.

Definition at line 543 of file GeoConvHelper.cpp.

References myProjString.

Referenced by computeFinal(), GNETagSelector::setCurrentTagType(), setLoadedPlain(), GNEMatchAttribute::showMatchAttribute(), writeLocation(), and NWWriter_OpenDrive::writeNetwork().

Here is the caller graph for this function:

◆ init() [1/2]

void GeoConvHelper::init ( const std::string &  proj,
const Position offset,
const Boundary orig,
const Boundary conv,
double  scale = 1.0 
)
static

Initialises the processing and the final instance using the given proj.4-definition and complete network parameter.

Definition at line 258 of file GeoConvHelper.cpp.

References GeoConvHelper(), myFinal, myProcessing, and resolveAbstractProjection().

◆ init() [2/2]

bool GeoConvHelper::init ( OptionsCont oc)
static

Initialises the processing and the final instance using the given options.

Definition at line 218 of file GeoConvHelper.cpp.

References OptionsCont::exists(), GeoConvHelper(), OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getString(), OptionsCont::isDefault(), myFinal, myProcessing, TL, and WRITE_ERROR.

Referenced by NIImporter_ArcView::load(), main(), PCNetProjectionLoader::myStartElement(), GNELoadThread::run(), NLHandler::setLocation(), and RONetHandler::setLocation().

Here is the caller graph for this function:

◆ moveConvertedBy()

void GeoConvHelper::moveConvertedBy ( double  x,
double  y 
)

Shifts the converted boundary by the given amounts.

Definition at line 512 of file GeoConvHelper.cpp.

References Position::add(), Boundary::moveby(), myConvBoundary, and myOffset.

Referenced by NBNetBuilder::moveToOrigin(), and NIImporter_OpenDrive::myStartElement().

Here is the caller graph for this function:

◆ operator!=()

bool GeoConvHelper::operator!= ( const GeoConvHelper o) const
inline

Definition at line 166 of file GeoConvHelper.h.

◆ operator=()

GeoConvHelper & GeoConvHelper::operator= ( const GeoConvHelper orig)
private

make assignment operator private

Definition at line 155 of file GeoConvHelper.cpp.

References myConvBoundary, myCos, myFlatten, myGeoScale, myOffset, myOrigBoundary, myProjectionMethod, myProjString, mySin, and myUseInverseProjection.

◆ operator==()

bool GeoConvHelper::operator== ( const GeoConvHelper o) const

◆ resetLoaded()

void GeoConvHelper::resetLoaded ( )
static

resets loaded location elements

Definition at line 604 of file GeoConvHelper.cpp.

References myLoadedPlain, and myNumLoaded.

Referenced by GNEApplicationWindow::closeAllWindows().

Here is the caller graph for this function:

◆ resolveAbstractProjection()

void GeoConvHelper::resolveAbstractProjection ( )

init projString such as 'UTM' in loaded projection

Definition at line 266 of file GeoConvHelper.cpp.

References Boundary::getCenter(), myOrigBoundary, myProjectionMethod, myProjString, NONE, SIMPLE, toString(), WRITE_WARNING, and x2cartesian().

Referenced by init(), and NIImporter_SUMO::loadLocation().

Here is the caller graph for this function:

◆ setConvBoundary()

void GeoConvHelper::setConvBoundary ( const Boundary boundary)
inline

sets the converted boundary

Definition at line 145 of file GeoConvHelper.h.

References myConvBoundary.

Referenced by NBNetBuilder::compute().

Here is the caller graph for this function:

◆ setLoaded()

void GeoConvHelper::setLoaded ( const GeoConvHelper loaded)
static

sets the coordinate transformation loaded from a location element

Definition at line 575 of file GeoConvHelper.cpp.

References myLoaded, myNumLoaded, TL, toString(), and WRITE_WARNINGF.

Referenced by NIImporter_SUMO::loadLocation(), and NIImporter_OpenDrive::myCharacters().

Here is the caller graph for this function:

◆ setLoadedPlain()

void GeoConvHelper::setLoadedPlain ( const std::string &  nodFile,
const GeoConvHelper loaded 
)
static

registers the coordinate transformation as having been loaded from the given file

Definition at line 586 of file GeoConvHelper.cpp.

References getOffset(), getProjString(), and myLoadedPlain.

Referenced by NIXMLNodesHandler::myStartElement().

Here is the caller graph for this function:

◆ usingGeoProjection()

bool GeoConvHelper::usingGeoProjection ( ) const

Returns whether a transformation from geo to metric coordinates will be performed.

Definition at line 316 of file GeoConvHelper.cpp.

References myProjectionMethod, and NONE.

Referenced by ShapeHandler::addPOI(), computeFinal(), MSVTypeProbe::execute(), PCPolyContainer::save(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), NBNetBuilder::transformCoordinate(), NWWriter_XML::writeEdgesAndConnections(), writeLocation(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NIImporter_OpenDrive::writeRoadObjects(), and NWWriter_DlrNavteq::writeTrafficSignals().

Here is the caller graph for this function:

◆ usingInverseGeoProjection()

bool GeoConvHelper::usingInverseGeoProjection ( ) const

Returns the information whether an inverse transformation will happen.

Definition at line 322 of file GeoConvHelper.cpp.

References myUseInverseProjection.

Referenced by NWWriter_XML::writeEdgesAndConnections(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ writeLocation()

void GeoConvHelper::writeLocation ( OutputDevice into)
static

◆ x2cartesian()

bool GeoConvHelper::x2cartesian ( Position from,
bool  includeInBoundary = true 
)

Converts the given coordinate into a cartesian and optionally update myConvBoundary.

Note
: initializes UTM / DHDN projection on first use (select zone)

Definition at line 361 of file GeoConvHelper.cpp.

References Boundary::add(), DHDN, DHDN_UTM, FALLTHROUGH, myConvBoundary, myGeoScale, myOrigBoundary, myProjectionMethod, myProjString, Position::set(), TL, toString(), UTM, WRITE_WARNING, WRITE_WARNINGF, Position::x(), x2cartesian_const(), and Position::y().

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), NGNode::buildNBNode(), PCLoaderOSM::convertNodePosition(), PCLoaderArcView::load(), PCLoaderVisum::load(), resolveAbstractProjection(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ x2cartesian_const()

Field Documentation

◆ myConvBoundary

Boundary GeoConvHelper::myConvBoundary
private

The boundary after conversion (x2cartesian)

Definition at line 220 of file GeoConvHelper.h.

Referenced by computeFinal(), getConvBoundary(), moveConvertedBy(), operator=(), operator==(), setConvBoundary(), and x2cartesian().

◆ myCos

double GeoConvHelper::myCos
private

Definition at line 205 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myFinal

GeoConvHelper GeoConvHelper::myFinal
staticprivate

coordinate transformation to use for writing the location element and for tracking the original coordinate system

Definition at line 229 of file GeoConvHelper.h.

Referenced by computeFinal(), getFinal(), init(), and writeLocation().

◆ myFlatten

bool GeoConvHelper::myFlatten
private

whether to discard z-data

Definition at line 214 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myGeoScale

double GeoConvHelper::myGeoScale
private

The scaling to apply to geo-coordinates.

Definition at line 201 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), x2cartesian(), and x2cartesian_const().

◆ myLoaded

GeoConvHelper GeoConvHelper::myLoaded
staticprivate

coordinate transformation loaded from a location element

Definition at line 226 of file GeoConvHelper.h.

Referenced by computeFinal(), getLoaded(), and setLoaded().

◆ myLoadedPlain

std::map< std::string, std::pair< std::string, Position > > GeoConvHelper::myLoadedPlain
staticprivate

the projections loaded from .nod.xml (to be re-used when loading edg.xml)

Definition at line 235 of file GeoConvHelper.h.

Referenced by getLoadedPlain(), resetLoaded(), and setLoadedPlain().

◆ myNumLoaded

int GeoConvHelper::myNumLoaded = 0
staticprivate

the numer of coordinate transformations loaded from location elements

Definition at line 232 of file GeoConvHelper.h.

Referenced by computeFinal(), getNumLoaded(), resetLoaded(), and setLoaded().

◆ myOffset

Position GeoConvHelper::myOffset
private

The offset to apply.

Definition at line 198 of file GeoConvHelper.h.

Referenced by computeFinal(), getOffset(), getOffsetBase(), moveConvertedBy(), operator=(), operator==(), and x2cartesian_const().

◆ myOrigBoundary

Boundary GeoConvHelper::myOrigBoundary
private

The boundary before conversion (x2cartesian)

Definition at line 217 of file GeoConvHelper.h.

Referenced by getOrigBoundary(), operator=(), operator==(), resolveAbstractProjection(), and x2cartesian().

◆ myProcessing

GeoConvHelper GeoConvHelper::myProcessing
staticprivate

coordinate transformation to use for input conversion and processing

Definition at line 223 of file GeoConvHelper.h.

Referenced by computeFinal(), getProcessing(), and init().

◆ myProjectionMethod

ProjectionMethod GeoConvHelper::myProjectionMethod
private

Information whether no projection shall be done.

Definition at line 208 of file GeoConvHelper.h.

Referenced by cartesian2geo(), GeoConvHelper(), operator=(), operator==(), resolveAbstractProjection(), usingGeoProjection(), x2cartesian(), and x2cartesian_const().

◆ myProjString

std::string GeoConvHelper::myProjString
private

A proj options string describing the proj.4-projection to use.

Definition at line 182 of file GeoConvHelper.h.

Referenced by GeoConvHelper(), getProjString(), operator=(), operator==(), resolveAbstractProjection(), and x2cartesian().

◆ mySin

double GeoConvHelper::mySin
private

The rotation to apply to geo-coordinates.

Definition at line 204 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myUseInverseProjection

bool GeoConvHelper::myUseInverseProjection
private

Information whether inverse projection shall be used.

Definition at line 211 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), usingInverseGeoProjection(), and x2cartesian_const().


The documentation for this class was generated from the following files: