DtWktHeaderParser parses coordinate system info from files supporting the Well Known Text standard.
|
| virtual bool | getWktString (std::string &wktString) |
| |
| virtual bool | checkLz4Medf (std::fstream &f, std::string &decompressedString) |
| |
| virtual bool | decompressLz4 (std::istream &fin, std::string &target) |
| |
| virtual bool | findWktString (std::istream &f, std::string &wktString) |
| |
| virtual bool | getOrigin (const std::string &originLabel, double &val) |
| |
| virtual bool | findOrigin (std::istream &decompressedStream, const std::string &originLabel, double &val) |
| |
| virtual bool | parseWktString (const std::string &wktString, double xOrigin, double yOrigin) |
| |
| virtual bool | parseGeocentric (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| |
| virtual bool | parseLambert (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| |
| virtual bool | parseUtm (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| |
| virtual bool | parseFlat (const OGRSpatialReference &spatialRef, double xOrigin, double yOrigin) |
| |
| virtual bool | convertCoordinates (const OGRSpatialReference &spatialRef, double x, double y, double &convX, double &convY, bool inDegrees) |
| |
| virtual bool | usingDegrees (const OGRSpatialReference &spatialRef) |
| |
| makVrv::DtWktHeaderParser::DtWktHeaderParser |
( |
const std::string & |
filePath | ) |
|
| virtual makVrv::DtWktHeaderParser::~DtWktHeaderParser |
( |
| ) |
|
|
virtual |
| virtual bool makVrv::DtWktHeaderParser::isValid |
( |
| ) |
|
|
virtual |
Returns true if the file was loaded and produced acceptable coordinate system information and origin information.
Implements makVrv::DtHeaderParser.
| virtual bool makVrv::DtWktHeaderParser::getWktString |
( |
std::string & |
wktString | ) |
|
|
protectedvirtual |
Returns true if the WKT string was found, the string being placed in wktString.
| virtual bool makVrv::DtWktHeaderParser::checkLz4Medf |
( |
std::fstream & |
f, |
|
|
std::string & |
decompressedString |
|
) |
| |
|
protectedvirtual |
check for an Lz4 Medf and get the decompressed version of the file if it is. returns true if it is an Lz4 Medf.
| virtual bool makVrv::DtWktHeaderParser::decompressLz4 |
( |
std::istream & |
fin, |
|
|
std::string & |
target |
|
) |
| |
|
protectedvirtual |
takes in a stream and decompresses the lz4. used for MEDF 1.2.
| virtual bool makVrv::DtWktHeaderParser::findWktString |
( |
std::istream & |
f, |
|
|
std::string & |
wktString |
|
) |
| |
|
protectedvirtual |
takes in a stream and finds the wkt string if it exists.
| virtual bool makVrv::DtWktHeaderParser::getOrigin |
( |
const std::string & |
originLabel, |
|
|
double & |
val |
|
) |
| |
|
protectedvirtual |
Returns true if the specified origin value was found, the origin value being placed in val.
| virtual bool makVrv::DtWktHeaderParser::findOrigin |
( |
std::istream & |
decompressedStream, |
|
|
const std::string & |
originLabel, |
|
|
double & |
val |
|
) |
| |
|
protectedvirtual |
takes in a stream and finds the origin string if it exists.
| virtual bool makVrv::DtWktHeaderParser::parseWktString |
( |
const std::string & |
wktString, |
|
|
double |
xOrigin, |
|
|
double |
yOrigin |
|
) |
| |
|
protectedvirtual |
Returns true if the WKT string yields an appropriate coordinate system.
| virtual bool makVrv::DtWktHeaderParser::parseGeocentric |
( |
const OGRSpatialReference & |
spatialRef, |
|
|
double |
xOrigin, |
|
|
double |
yOrigin |
|
) |
| |
|
protectedvirtual |
| virtual bool makVrv::DtWktHeaderParser::parseLambert |
( |
const OGRSpatialReference & |
spatialRef, |
|
|
double |
xOrigin, |
|
|
double |
yOrigin |
|
) |
| |
|
protectedvirtual |
| virtual bool makVrv::DtWktHeaderParser::parseUtm |
( |
const OGRSpatialReference & |
spatialRef, |
|
|
double |
xOrigin, |
|
|
double |
yOrigin |
|
) |
| |
|
protectedvirtual |
| virtual bool makVrv::DtWktHeaderParser::parseFlat |
( |
const OGRSpatialReference & |
spatialRef, |
|
|
double |
xOrigin, |
|
|
double |
yOrigin |
|
) |
| |
|
protectedvirtual |
| virtual bool makVrv::DtWktHeaderParser::convertCoordinates |
( |
const OGRSpatialReference & |
spatialRef, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double & |
convX, |
|
|
double & |
convY, |
|
|
bool |
inDegrees |
|
) |
| |
|
protectedvirtual |
Converts a point to the latitude and longitude of the corresponding point in the coordinate system.
| virtual bool makVrv::DtWktHeaderParser::usingDegrees |
( |
const OGRSpatialReference & |
spatialRef | ) |
|
|
protectedvirtual |
Returns true if the coordinate system parameters are specified in degrees instead of radians.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/vrvTerrain/DtWktHeaderParser.h