All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::srs::WKTReader Class Reference

A class that deserializes a SRS from a valid WKT. More...

#include <WKTReader.h>

Inheritance diagram for te::srs::WKTReader:
te::common::Static

Static Public Member Functions

static SpatialReferenceSystemread (const char *wkt)
 It returns a valid SRS from a given WKT. More...
 

Detailed Description

A class that deserializes a SRS from a valid WKT.

Definition at line 51 of file WKTReader.h.

Member Function Documentation

te::srs::SpatialReferenceSystem * te::srs::WKTReader::read ( const char *  wkt)
static

It returns a valid SRS from a given WKT.

Parameters
wktA valid WKT SRS.
Returns
A SRS created from reading the WKT.
Exceptions
ExceptionIt will throw an exception if the given WKT is invvalid.
Note
The caller of this method will take the ownership of the returned SRS.

Definition at line 31 of file WKTReader.cpp.

References te::srs::WKTParser< Iterator >::getSRS(), and TE_TR.

Referenced by te::srs::SpatialReferenceSystemManager::getSpatialReferenceSystem().


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