te::vp::Register Namespace Reference

Typedefs

typedef std::tuple< int, double, double, int, double, double > TiePointT
 Tie poit type definition [ SRID1, x1, y2, SRID2, x2, y2 ]. More...
 

Enumerations

enum  RegisterMethod { InvalidRegMethod = 0 , TransByNMethod = 1 }
 Register method. More...
 

Functions

TEVPEXPORT bool RegisterDataset (const RegisterMethod &method, const std::vector< TiePointT > &tiePoints, const unsigned int &minNeighborTiePoints, const bool enableThreads, te::da::DataSet &inDataset, const te::da::DataSetType &inDsType, const std::string &outDataSetName, te::da::DataAccess &outDataAccess)
 Register dataset geometries using supplied tie-points. More...
 

Typedef Documentation

◆ TiePointT

Tie poit type definition [ SRID1, x1, y2, SRID2, x2, y2 ].

Definition at line 54 of file Register.h.

Enumeration Type Documentation

◆ RegisterMethod

Register method.

Enumerator
InvalidRegMethod 

Invalid type.

TransByNMethod 

Aplly a translation transform by using neighor tie-points.

Definition at line 44 of file Register.h.

Function Documentation

◆ RegisterDataset()

TEVPEXPORT bool te::vp::Register::RegisterDataset ( const RegisterMethod method,
const std::vector< TiePointT > &  tiePoints,
const unsigned int &  minNeighborTiePoints,
const bool  enableThreads,
te::da::DataSet inDataset,
const te::da::DataSetType inDsType,
const std::string &  outDataSetName,
te::da::DataAccess outDataAccess 
)

Register dataset geometries using supplied tie-points.

Parameters
methodMethod to use.
tiePointsInput tie-points.
minNeighborTiePointsMinimum number of neighbor tie-points to use when registering each geometry point.
enableThreadsEnable/disable the use of threads.
inDatasetInput dataset.
inDsTypeInput dataset type.
outDataSetNameOutput dataset name.
outDataAccessOutput data access where the registered dataset will be created.
Returns
true if ok, false on errors.
Note
Tie points x1,y1 are source coords ( incorrect/adjust coord );
Tie points x2,y2 are target coords ( correct/reference coord );
NEW_COORD(target) = OLD_COORD(source) + OFFSET
OFFSET = NEW_COORD(target) - OLD_COORD(source)