OGR
|
#include "ogr_srs_api.h"
Go to the source code of this file.
Classes | |
class | OGR_SRSNode |
class | OGRSpatialReference |
class | OGRCoordinateTransformation |
Macros | |
#define | USGS_ANGLE_DECIMALDEGREES 0 |
#define | USGS_ANGLE_PACKEDDMS TRUE |
#define | USGS_ANGLE_RADIANS 2 |
Functions | |
OGRCoordinateTransformation * | OGRCreateCoordinateTransformation (OGRSpatialReference *poSource, OGRSpatialReference *poTarget) |
Coordinate systems services.
#define USGS_ANGLE_DECIMALDEGREES 0 |
Angle is in decimal degrees.
Referenced by OGRSpatialReference::importFromUSGS().
#define USGS_ANGLE_PACKEDDMS TRUE |
Angle is in packed degree minute second.
#define USGS_ANGLE_RADIANS 2 |
Angle is in radians.
Referenced by OGRSpatialReference::importFromUSGS().
OGRCoordinateTransformation* OGRCreateCoordinateTransformation | ( | OGRSpatialReference * | poSource, |
OGRSpatialReference * | poTarget | ||
) |
Create transformation object.
This is the same as the C function OCTNewCoordinateTransformation().
Input spatial reference system objects are assigned by copy (calling clone() method) and no ownership transfer occurs.
The delete operator, or OCTDestroyCoordinateTransformation() should be used to destroy transformation objects.
The PROJ.4 library must be available at run-time.
poSource | source spatial reference system. |
poTarget | target spatial reference system. |
References CPLError().
Referenced by OCTNewCoordinateTransformation(), OGRGeometry::transformTo(), and OGRGeometryFactory::transformWithOptions().