OGR
|
#include "ogr_core.h"
Go to the source code of this file.
Macros | |
#define | SRS_WKT_WGS84 "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]" |
#define | SRS_PT_ALBERS_CONIC_EQUAL_AREA "Albers_Conic_Equal_Area" |
#define | SRS_PT_AZIMUTHAL_EQUIDISTANT "Azimuthal_Equidistant" |
#define | SRS_PT_CASSINI_SOLDNER "Cassini_Soldner" |
#define | SRS_PT_CYLINDRICAL_EQUAL_AREA "Cylindrical_Equal_Area" |
#define | SRS_PT_BONNE "Bonne" |
#define | SRS_PT_ECKERT_I "Eckert_I" |
#define | SRS_PT_ECKERT_II "Eckert_II" |
#define | SRS_PT_ECKERT_III "Eckert_III" |
#define | SRS_PT_ECKERT_IV "Eckert_IV" |
#define | SRS_PT_ECKERT_V "Eckert_V" |
#define | SRS_PT_ECKERT_VI "Eckert_VI" |
#define | SRS_PT_EQUIDISTANT_CONIC "Equidistant_Conic" |
#define | SRS_PT_EQUIRECTANGULAR "Equirectangular" |
#define | SRS_PT_GALL_STEREOGRAPHIC "Gall_Stereographic" |
#define | SRS_PT_GAUSSSCHREIBERTMERCATOR "Gauss_Schreiber_Transverse_Mercator" |
#define | SRS_PT_GEOSTATIONARY_SATELLITE "Geostationary_Satellite" |
#define | SRS_PT_GOODE_HOMOLOSINE "Goode_Homolosine" |
#define | SRS_PT_IGH "Interrupted_Goode_Homolosine" |
#define | SRS_PT_GNOMONIC "Gnomonic" |
#define | SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER "Hotine_Oblique_Mercator_Azimuth_Center" |
#define | SRS_PT_HOTINE_OBLIQUE_MERCATOR "Hotine_Oblique_Mercator" |
#define | SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN "Hotine_Oblique_Mercator_Two_Point_Natural_Origin" |
#define | SRS_PT_LABORDE_OBLIQUE_MERCATOR "Laborde_Oblique_Mercator" |
#define | SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP "Lambert_Conformal_Conic_1SP" |
#define | SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP "Lambert_Conformal_Conic_2SP" |
#define | SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM "Lambert_Conformal_Conic_2SP_Belgium" |
#define | SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA "Lambert_Azimuthal_Equal_Area" |
#define | SRS_PT_MERCATOR_1SP "Mercator_1SP" |
#define | SRS_PT_MERCATOR_2SP "Mercator_2SP" |
#define | SRS_PT_MERCATOR_AUXILIARY_SPHERE "Mercator_Auxiliary_Sphere" |
#define | SRS_PT_MILLER_CYLINDRICAL "Miller_Cylindrical" |
#define | SRS_PT_MOLLWEIDE "Mollweide" |
#define | SRS_PT_NEW_ZEALAND_MAP_GRID "New_Zealand_Map_Grid" |
#define | SRS_PT_OBLIQUE_STEREOGRAPHIC "Oblique_Stereographic" |
#define | SRS_PT_ORTHOGRAPHIC "Orthographic" |
#define | SRS_PT_POLAR_STEREOGRAPHIC "Polar_Stereographic" |
#define | SRS_PT_POLYCONIC "Polyconic" |
#define | SRS_PT_ROBINSON "Robinson" |
#define | SRS_PT_SINUSOIDAL "Sinusoidal" |
#define | SRS_PT_STEREOGRAPHIC "Stereographic" |
#define | SRS_PT_SWISS_OBLIQUE_CYLINDRICAL "Swiss_Oblique_Cylindrical" |
#define | SRS_PT_TRANSVERSE_MERCATOR "Transverse_Mercator" |
#define | SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED "Transverse_Mercator_South_Orientated" |
#define | SRS_PT_TRANSVERSE_MERCATOR_MI_21 "Transverse_Mercator_MapInfo_21" |
#define | SRS_PT_TRANSVERSE_MERCATOR_MI_22 "Transverse_Mercator_MapInfo_22" |
#define | SRS_PT_TRANSVERSE_MERCATOR_MI_23 "Transverse_Mercator_MapInfo_23" |
#define | SRS_PT_TRANSVERSE_MERCATOR_MI_24 "Transverse_Mercator_MapInfo_24" |
#define | SRS_PT_TRANSVERSE_MERCATOR_MI_25 "Transverse_Mercator_MapInfo_25" |
#define | SRS_PT_TUNISIA_MINING_GRID "Tunisia_Mining_Grid" |
#define | SRS_PT_TWO_POINT_EQUIDISTANT "Two_Point_Equidistant" |
#define | SRS_PT_VANDERGRINTEN "VanDerGrinten" |
#define | SRS_PT_KROVAK "Krovak" |
#define | SRS_PT_IMW_POLYCONIC "International_Map_of_the_World_Polyconic" |
#define | SRS_PT_WAGNER_I "Wagner_I" |
#define | SRS_PT_WAGNER_II "Wagner_II" |
#define | SRS_PT_WAGNER_III "Wagner_III" |
#define | SRS_PT_WAGNER_IV "Wagner_IV" |
#define | SRS_PT_WAGNER_V "Wagner_V" |
#define | SRS_PT_WAGNER_VI "Wagner_VI" |
#define | SRS_PT_WAGNER_VII "Wagner_VII" |
#define | SRS_PT_QSC "Quadrilateralized_Spherical_Cube" |
#define | SRS_PT_AITOFF "Aitoff" |
#define | SRS_PT_WINKEL_I "Winkel_I" |
#define | SRS_PT_WINKEL_II "Winkel_II" |
#define | SRS_PT_WINKEL_TRIPEL "Winkel_Tripel" |
#define | SRS_PT_CRASTER_PARABOLIC "Craster_Parabolic" |
#define | SRS_PT_LOXIMUTHAL "Loximuthal" |
#define | SRS_PT_QUARTIC_AUTHALIC "Quartic_Authalic" |
#define | SRS_PT_SCH "Spherical_Cross_Track_Height" |
#define | SRS_PP_CENTRAL_MERIDIAN "central_meridian" |
#define | SRS_PP_SCALE_FACTOR "scale_factor" |
#define | SRS_PP_STANDARD_PARALLEL_1 "standard_parallel_1" |
#define | SRS_PP_STANDARD_PARALLEL_2 "standard_parallel_2" |
#define | SRS_PP_PSEUDO_STD_PARALLEL_1 "pseudo_standard_parallel_1" |
#define | SRS_PP_LONGITUDE_OF_CENTER "longitude_of_center" |
#define | SRS_PP_LATITUDE_OF_CENTER "latitude_of_center" |
#define | SRS_PP_LONGITUDE_OF_ORIGIN "longitude_of_origin" |
#define | SRS_PP_LATITUDE_OF_ORIGIN "latitude_of_origin" |
#define | SRS_PP_FALSE_EASTING "false_easting" |
#define | SRS_PP_FALSE_NORTHING "false_northing" |
#define | SRS_PP_AZIMUTH "azimuth" |
#define | SRS_PP_LONGITUDE_OF_POINT_1 "longitude_of_point_1" |
#define | SRS_PP_LATITUDE_OF_POINT_1 "latitude_of_point_1" |
#define | SRS_PP_LONGITUDE_OF_POINT_2 "longitude_of_point_2" |
#define | SRS_PP_LATITUDE_OF_POINT_2 "latitude_of_point_2" |
#define | SRS_PP_LONGITUDE_OF_POINT_3 "longitude_of_point_3" |
#define | SRS_PP_LATITUDE_OF_POINT_3 "latitude_of_point_3" |
#define | SRS_PP_RECTIFIED_GRID_ANGLE "rectified_grid_angle" |
#define | SRS_PP_LANDSAT_NUMBER "landsat_number" |
#define | SRS_PP_PATH_NUMBER "path_number" |
#define | SRS_PP_PERSPECTIVE_POINT_HEIGHT "perspective_point_height" |
#define | SRS_PP_SATELLITE_HEIGHT "satellite_height" |
#define | SRS_PP_FIPSZONE "fipszone" |
#define | SRS_PP_ZONE "zone" |
#define | SRS_PP_LATITUDE_OF_1ST_POINT "Latitude_Of_1st_Point" |
#define | SRS_PP_LONGITUDE_OF_1ST_POINT "Longitude_Of_1st_Point" |
#define | SRS_PP_LATITUDE_OF_2ND_POINT "Latitude_Of_2nd_Point" |
#define | SRS_PP_LONGITUDE_OF_2ND_POINT "Longitude_Of_2nd_Point" |
#define | SRS_PP_PEG_POINT_LATITUDE "peg_point_latitude" |
#define | SRS_PP_PEG_POINT_LONGITUDE "peg_point_longitude" |
#define | SRS_PP_PEG_POINT_HEADING "peg_point_heading" |
#define | SRS_PP_PEG_POINT_HEIGHT "peg_point_height" |
#define | SRS_UL_METER "Meter" |
#define | SRS_UL_FOOT "Foot (International)" /* or just "FOOT"? */ |
#define | SRS_UL_FOOT_CONV "0.3048" |
#define | SRS_UL_US_FOOT "Foot_US" /* or "US survey foot" from EPSG */ |
#define | SRS_UL_US_FOOT_CONV "0.3048006096012192" |
#define | SRS_UL_NAUTICAL_MILE "Nautical Mile" |
#define | SRS_UL_NAUTICAL_MILE_CONV "1852.0" |
#define | SRS_UL_LINK "Link" /* Based on US Foot */ |
#define | SRS_UL_LINK_CONV "0.20116684023368047" |
#define | SRS_UL_CHAIN "Chain" /* based on US Foot */ |
#define | SRS_UL_CHAIN_CONV "20.116684023368047" |
#define | SRS_UL_ROD "Rod" /* based on US Foot */ |
#define | SRS_UL_ROD_CONV "5.02921005842012" |
#define | SRS_UL_LINK_Clarke "Link_Clarke" |
#define | SRS_UL_LINK_Clarke_CONV "0.2011661949" |
#define | SRS_UL_KILOMETER "Kilometer" |
#define | SRS_UL_KILOMETER_CONV "1000." |
#define | SRS_UL_DECIMETER "Decimeter" |
#define | SRS_UL_DECIMETER_CONV "0.1" |
#define | SRS_UL_CENTIMETER "Centimeter" |
#define | SRS_UL_CENTIMETER_CONV "0.01" |
#define | SRS_UL_MILLIMETER "Millimeter" |
#define | SRS_UL_MILLIMETER_CONV "0.001" |
#define | SRS_UL_INTL_NAUT_MILE "Nautical_Mile_International" |
#define | SRS_UL_INTL_NAUT_MILE_CONV "1852.0" |
#define | SRS_UL_INTL_INCH "Inch_International" |
#define | SRS_UL_INTL_INCH_CONV "0.0254" |
#define | SRS_UL_INTL_FOOT "Foot_International" |
#define | SRS_UL_INTL_FOOT_CONV "0.3048" |
#define | SRS_UL_INTL_YARD "Yard_International" |
#define | SRS_UL_INTL_YARD_CONV "0.9144" |
#define | SRS_UL_INTL_STAT_MILE "Statute_Mile_International" |
#define | SRS_UL_INTL_STAT_MILE_CONV "1609.344" |
#define | SRS_UL_INTL_FATHOM "Fathom_International" |
#define | SRS_UL_INTL_FATHOM_CONV "1.8288" |
#define | SRS_UL_INTL_CHAIN "Chain_International" |
#define | SRS_UL_INTL_CHAIN_CONV "20.1168" |
#define | SRS_UL_INTL_LINK "Link_International" |
#define | SRS_UL_INTL_LINK_CONV "0.201168" |
#define | SRS_UL_US_INCH "Inch_US_Surveyor" |
#define | SRS_UL_US_INCH_CONV "0.025400050800101603" |
#define | SRS_UL_US_YARD "Yard_US_Surveyor" |
#define | SRS_UL_US_YARD_CONV "0.914401828803658" |
#define | SRS_UL_US_CHAIN "Chain_US_Surveyor" |
#define | SRS_UL_US_CHAIN_CONV "20.11684023368047" |
#define | SRS_UL_US_STAT_MILE "Statute_Mile_US_Surveyor" |
#define | SRS_UL_US_STAT_MILE_CONV "1609.347218694437" |
#define | SRS_UL_INDIAN_YARD "Yard_Indian" |
#define | SRS_UL_INDIAN_YARD_CONV "0.91439523" |
#define | SRS_UL_INDIAN_FOOT "Foot_Indian" |
#define | SRS_UL_INDIAN_FOOT_CONV "0.30479841" |
#define | SRS_UL_INDIAN_CHAIN "Chain_Indian" |
#define | SRS_UL_INDIAN_CHAIN_CONV "20.11669506" |
#define | SRS_UA_DEGREE "degree" |
#define | SRS_UA_DEGREE_CONV "0.0174532925199433" |
#define | SRS_UA_RADIAN "radian" |
#define | SRS_PM_GREENWICH "Greenwich" |
#define | SRS_DN_NAD27 "North_American_Datum_1927" |
#define | SRS_DN_NAD83 "North_American_Datum_1983" |
#define | SRS_DN_WGS72 "WGS_1972" |
#define | SRS_DN_WGS84 "WGS_1984" |
#define | SRS_WGS84_SEMIMAJOR 6378137.0 |
#define | SRS_WGS84_INVFLATTENING 298.257223563 |
Typedefs | |
typedef void * | OGRSpatialReferenceH |
typedef void * | OGRCoordinateTransformationH |
Enumerations | |
enum | OGRAxisOrientation { OAO_Other =0, OAO_North =1, OAO_South =2, OAO_East =3, OAO_West =4, OAO_Up =5, OAO_Down =6 } |
Functions | |
const char * | OSRAxisEnumToName (OGRAxisOrientation eOrientation) |
Return the string representation for the OGRAxisOrientation enumeration. More... | |
OGRSpatialReferenceH CPL_STDCALL | OSRNewSpatialReference (const char *) |
Constructor. More... | |
OGRSpatialReferenceH CPL_STDCALL | OSRCloneGeogCS (OGRSpatialReferenceH) |
Make a duplicate of the GEOGCS node of this OGRSpatialReference object. More... | |
OGRSpatialReferenceH CPL_STDCALL | OSRClone (OGRSpatialReferenceH) |
Make a duplicate of this OGRSpatialReference. More... | |
void CPL_STDCALL | OSRDestroySpatialReference (OGRSpatialReferenceH) |
OGRSpatialReference destructor. More... | |
int | OSRReference (OGRSpatialReferenceH) |
Increments the reference count by one. More... | |
int | OSRDereference (OGRSpatialReferenceH) |
Decrements the reference count by one. More... | |
void | OSRRelease (OGRSpatialReferenceH) |
Decrements the reference count by one, and destroy if zero. More... | |
OGRErr | OSRValidate (OGRSpatialReferenceH) |
Validate SRS tokens. More... | |
OGRErr | OSRFixupOrdering (OGRSpatialReferenceH) |
Correct parameter ordering to match CT Specification. More... | |
OGRErr | OSRFixup (OGRSpatialReferenceH) |
Fixup as needed. More... | |
OGRErr | OSRStripCTParms (OGRSpatialReferenceH) |
Strip OGC CT Parameters. More... | |
OGRErr CPL_STDCALL | OSRImportFromEPSG (OGRSpatialReferenceH, int) |
Initialize SRS based on EPSG GCS or PCS code. More... | |
OGRErr CPL_STDCALL | OSRImportFromEPSGA (OGRSpatialReferenceH, int) |
Initialize SRS based on EPSG GCS or PCS code. More... | |
OGRErr | OSRImportFromWkt (OGRSpatialReferenceH, char **) |
Import from WKT string. More... | |
OGRErr | OSRImportFromProj4 (OGRSpatialReferenceH, const char *) |
Import PROJ.4 coordinate string. More... | |
OGRErr | OSRImportFromESRI (OGRSpatialReferenceH, char **) |
Import coordinate system from ESRI .prj format(s). More... | |
OGRErr | OSRImportFromPCI (OGRSpatialReferenceH hSRS, const char *, const char *, double *) |
Import coordinate system from PCI projection definition. More... | |
OGRErr | OSRImportFromUSGS (OGRSpatialReferenceH, long, long, double *, long) |
Import coordinate system from USGS projection definition. More... | |
OGRErr | OSRImportFromXML (OGRSpatialReferenceH, const char *) |
Import coordinate system from XML format (GML only currently). More... | |
OGRErr | OSRImportFromDict (OGRSpatialReferenceH, const char *, const char *) |
OGRErr | OSRImportFromPanorama (OGRSpatialReferenceH, long, long, long, double *) |
OGRErr | OSRImportFromOzi (OGRSpatialReferenceH, const char *const *) |
OGRErr | OSRImportFromMICoordSys (OGRSpatialReferenceH, const char *) |
Import Mapinfo style CoordSys definition. More... | |
OGRErr | OSRImportFromERM (OGRSpatialReferenceH, const char *, const char *, const char *) |
Create OGR WKT from ERMapper projection definitions. More... | |
OGRErr | OSRImportFromUrl (OGRSpatialReferenceH, const char *) |
Set spatial reference from a URL. More... | |
OGRErr CPL_STDCALL | OSRExportToWkt (OGRSpatialReferenceH, char **) |
Convert this SRS into WKT format. More... | |
OGRErr CPL_STDCALL | OSRExportToPrettyWkt (OGRSpatialReferenceH, char **, int) |
Convert this SRS into a nicely formatted WKT string for display to a person. More... | |
OGRErr CPL_STDCALL | OSRExportToProj4 (OGRSpatialReferenceH, char **) |
Export coordinate system in PROJ.4 format. More... | |
OGRErr | OSRExportToPCI (OGRSpatialReferenceH, char **, char **, double **) |
Export coordinate system in PCI projection definition. More... | |
OGRErr | OSRExportToUSGS (OGRSpatialReferenceH, long *, long *, double **, long *) |
Export coordinate system in USGS GCTP projection definition. More... | |
OGRErr | OSRExportToXML (OGRSpatialReferenceH, char **, const char *) |
Export coordinate system in XML format. More... | |
OGRErr | OSRExportToPanorama (OGRSpatialReferenceH, long *, long *, long *, long *, double *) |
OGRErr | OSRExportToMICoordSys (OGRSpatialReferenceH, char **) |
Export coordinate system in Mapinfo style CoordSys format. More... | |
OGRErr | OSRExportToERM (OGRSpatialReferenceH, char *, char *, char *) |
Convert coordinate system to ERMapper format. More... | |
OGRErr | OSRMorphToESRI (OGRSpatialReferenceH) |
Convert in place to ESRI WKT format. More... | |
OGRErr | OSRMorphFromESRI (OGRSpatialReferenceH) |
Convert in place from ESRI WKT format. More... | |
OGRErr CPL_STDCALL | OSRSetAttrValue (OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue) |
Set attribute value in spatial reference. More... | |
const char *CPL_STDCALL | OSRGetAttrValue (OGRSpatialReferenceH hSRS, const char *pszName, int iChild) |
Fetch indicated attribute of named node. More... | |
OGRErr | OSRSetAngularUnits (OGRSpatialReferenceH, const char *, double) |
Set the angular units for the geographic coordinate system. More... | |
double | OSRGetAngularUnits (OGRSpatialReferenceH, char **) |
Fetch angular geographic coordinate system units. More... | |
OGRErr | OSRSetLinearUnits (OGRSpatialReferenceH, const char *, double) |
Set the linear units for the projection. More... | |
OGRErr | OSRSetTargetLinearUnits (OGRSpatialReferenceH, const char *, const char *, double) |
Set the linear units for the target node. More... | |
OGRErr | OSRSetLinearUnitsAndUpdateParameters (OGRSpatialReferenceH, const char *, double) |
Set the linear units for the projection. More... | |
double | OSRGetLinearUnits (OGRSpatialReferenceH, char **) |
Fetch linear projection units. More... | |
double | OSRGetTargetLinearUnits (OGRSpatialReferenceH, const char *, char **) |
Fetch linear projection units. More... | |
double | OSRGetPrimeMeridian (OGRSpatialReferenceH, char **) |
Fetch prime meridian info. More... | |
int | OSRIsGeographic (OGRSpatialReferenceH) |
Check if geographic coordinate system. More... | |
int | OSRIsLocal (OGRSpatialReferenceH) |
Check if local coordinate system. More... | |
int | OSRIsProjected (OGRSpatialReferenceH) |
Check if projected coordinate system. More... | |
int | OSRIsCompound (OGRSpatialReferenceH) |
Check if the coordinate system is compound. More... | |
int | OSRIsGeocentric (OGRSpatialReferenceH) |
Check if geocentric coordinate system. More... | |
int | OSRIsVertical (OGRSpatialReferenceH) |
Check if vertical coordinate system. More... | |
int | OSRIsSameGeogCS (OGRSpatialReferenceH, OGRSpatialReferenceH) |
Do the GeogCS'es match? More... | |
int | OSRIsSameVertCS (OGRSpatialReferenceH, OGRSpatialReferenceH) |
Do the VertCS'es match? More... | |
int | OSRIsSame (OGRSpatialReferenceH, OGRSpatialReferenceH) |
Do these two spatial references describe the same system ? More... | |
OGRErr | OSRSetLocalCS (OGRSpatialReferenceH hSRS, const char *pszName) |
Set the user visible LOCAL_CS name. More... | |
OGRErr | OSRSetProjCS (OGRSpatialReferenceH hSRS, const char *pszName) |
Set the user visible PROJCS name. More... | |
OGRErr | OSRSetGeocCS (OGRSpatialReferenceH hSRS, const char *pszName) |
Set the user visible PROJCS name. More... | |
OGRErr | OSRSetWellKnownGeogCS (OGRSpatialReferenceH hSRS, const char *pszName) |
Set a GeogCS based on well known name. More... | |
OGRErr CPL_STDCALL | OSRSetFromUserInput (OGRSpatialReferenceH hSRS, const char *) |
Set spatial reference from various text formats. More... | |
OGRErr | OSRCopyGeogCSFrom (OGRSpatialReferenceH hSRS, const OGRSpatialReferenceH hSrcSRS) |
Copy GEOGCS from another OGRSpatialReference. More... | |
OGRErr | OSRSetTOWGS84 (OGRSpatialReferenceH hSRS, double, double, double, double, double, double, double) |
Set the Bursa-Wolf conversion to WGS84. More... | |
OGRErr | OSRGetTOWGS84 (OGRSpatialReferenceH hSRS, double *, int) |
Fetch TOWGS84 parameters, if available. More... | |
OGRErr | OSRSetCompoundCS (OGRSpatialReferenceH hSRS, const char *pszName, OGRSpatialReferenceH hHorizSRS, OGRSpatialReferenceH hVertSRS) |
Setup a compound coordinate system. More... | |
OGRErr | OSRSetGeogCS (OGRSpatialReferenceH hSRS, const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName, double dfPMOffset, const char *pszUnits, double dfConvertToRadians) |
Set geographic coordinate system. More... | |
OGRErr | OSRSetVertCS (OGRSpatialReferenceH hSRS, const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumType) |
Setup the vertical coordinate system. More... | |
double | OSRGetSemiMajor (OGRSpatialReferenceH, OGRErr *) |
Get spheroid semi major axis. More... | |
double | OSRGetSemiMinor (OGRSpatialReferenceH, OGRErr *) |
Get spheroid semi minor axis. More... | |
double | OSRGetInvFlattening (OGRSpatialReferenceH, OGRErr *) |
Get spheroid inverse flattening. More... | |
OGRErr | OSRSetAuthority (OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszAuthority, int nCode) |
Set the authority for a node. More... | |
const char * | OSRGetAuthorityCode (OGRSpatialReferenceH hSRS, const char *pszTargetKey) |
Get the authority code for a node. More... | |
const char * | OSRGetAuthorityName (OGRSpatialReferenceH hSRS, const char *pszTargetKey) |
Get the authority name for a node. More... | |
OGRErr | OSRSetProjection (OGRSpatialReferenceH, const char *) |
Set a projection name. More... | |
OGRErr | OSRSetProjParm (OGRSpatialReferenceH, const char *, double) |
Set a projection parameter value. More... | |
double | OSRGetProjParm (OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *) |
Fetch a projection parameter value. More... | |
OGRErr | OSRSetNormProjParm (OGRSpatialReferenceH, const char *, double) |
Set a projection parameter with a normalized value. More... | |
double | OSRGetNormProjParm (OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *) |
This function is the same as OGRSpatialReference:: More... | |
OGRErr | OSRSetUTM (OGRSpatialReferenceH hSRS, int nZone, int bNorth) |
Set UTM projection definition. More... | |
int | OSRGetUTMZone (OGRSpatialReferenceH hSRS, int *pbNorth) |
Get utm zone information. More... | |
OGRErr | OSRSetStatePlane (OGRSpatialReferenceH hSRS, int nZone, int bNAD83) |
Set State Plane projection definition. More... | |
OGRErr | OSRSetStatePlaneWithUnits (OGRSpatialReferenceH hSRS, int nZone, int bNAD83, const char *pszOverrideUnitName, double dfOverrideUnit) |
Set State Plane projection definition. More... | |
OGRErr | OSRAutoIdentifyEPSG (OGRSpatialReferenceH hSRS) |
Set EPSG authority info if possible. More... | |
int | OSREPSGTreatsAsLatLong (OGRSpatialReferenceH hSRS) |
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as having lat/long coordinate ordering. More... | |
int | OSREPSGTreatsAsNorthingEasting (OGRSpatialReferenceH hSRS) |
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as having northing/easting coordinate ordering. More... | |
const char * | OSRGetAxis (OGRSpatialReferenceH hSRS, const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation) |
Fetch the orientation of one axis. More... | |
OGRErr | OSRSetAxes (OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation, const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation) |
Set the axes for a coordinate system. More... | |
OGRErr | OSRSetACEA (OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetAE (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetBonne (OGRSpatialReferenceH hSRS, double dfStandardParallel, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetCEA (OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetCS (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEC (OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEckert (OGRSpatialReferenceH hSRS, int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEckertIV (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEckertVI (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEquirectangular (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetEquirectangular2 (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetGS (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetGH (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetIGH (OGRSpatialReferenceH hSRS) |
OGRErr | OSRSetGEOS (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetGaussSchreiberTMercator (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetGnomonic (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetOM (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetHOM (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
Set a Hotine Oblique Mercator projection using azimuth angle. More... | |
OGRErr | OSRSetHOMAC (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
Set an Oblique Mercator projection using azimuth angle. More... | |
OGRErr | OSRSetHOM2PNO (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
Set a Hotine Oblique Mercator projection using two points on projection centerline. More... | |
OGRErr | OSRSetIWMPolyconic (OGRSpatialReferenceH hSRS, double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetKrovak (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetLAEA (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetLCC (OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetLCC1SP (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetLCCB (OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetMC (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetMercator (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetMercator2SP (OGRSpatialReferenceH hSRS, double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetMollweide (OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetNZMG (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetOS (OGRSpatialReferenceH hSRS, double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetOrthographic (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetPolyconic (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetPS (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetRobinson (OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetSinusoidal (OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetStereographic (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetSOC (OGRSpatialReferenceH hSRS, double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetTM (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetTMVariant (OGRSpatialReferenceH hSRS, const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetTMG (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetTMSO (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetTPED (OGRSpatialReferenceH hSRS, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetVDG (OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetWagner (OGRSpatialReferenceH hSRS, int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing) |
OGRErr | OSRSetQSC (OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong) |
OGRErr | OSRSetSCH (OGRSpatialReferenceH hSRS, double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt) |
double | OSRCalcInvFlattening (double dfSemiMajor, double dfSemiMinor) |
Compute inverse flattening from semi-major and semi-minor axis. More... | |
double | OSRCalcSemiMinorFromInvFlattening (double dfSemiMajor, double dfInvFlattening) |
Compute semi-minor axis from semi-major axis and inverse flattening. More... | |
void | OSRCleanup (void) |
Cleanup cached SRS related memory. More... | |
OGRCoordinateTransformationH CPL_STDCALL | OCTNewCoordinateTransformation (OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS) |
void CPL_STDCALL | OCTDestroyCoordinateTransformation (OGRCoordinateTransformationH) |
OGRCoordinateTransformation destructor. More... | |
int CPL_STDCALL | OCTTransform (OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z) |
int CPL_STDCALL | OCTTransformEx (OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z, int *pabSuccess) |
char ** | OPTGetProjectionMethods (void) |
char ** | OPTGetParameterList (const char *pszProjectionMethod, char **ppszUserName) |
C spatial reference system services and defines.
See also: ogr_spatialref.h
#define SRS_DN_NAD27 "North_American_Datum_1927" |
North_American_Datum_1927 datum name
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::exportToUSGS().
#define SRS_DN_NAD83 "North_American_Datum_1983" |
North_American_Datum_1983 datum name
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::exportToUSGS().
#define SRS_DN_WGS72 "WGS_1972" |
WGS_1972 datum name
#define SRS_DN_WGS84 "WGS_1984" |
WGS_1984 datum name
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::exportToUSGS().
#define SRS_PM_GREENWICH "Greenwich" |
Prime meridian Greenwich
Referenced by OGRSpatialReference::GetPrimeMeridian(), and OGRSpatialReference::SetGeogCS().
#define SRS_PP_AZIMUTH "azimuth" |
azimuth projection parameter
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::IsAngularParameter(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOMAC(), and OGRSpatialReference::SetKrovak().
#define SRS_PP_CENTRAL_MERIDIAN "central_meridian" |
central_meridian projection parameter
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::FindProjParm(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::IsAngularParameter(), OGRSpatialReference::IsLongitudeParameter(), OGRSpatialReference::SetBonne(), OGRSpatialReference::SetCEA(), OGRSpatialReference::SetCS(), OGRSpatialReference::SetEckert(), OGRSpatialReference::SetEckertIV(), OGRSpatialReference::SetEckertVI(), OGRSpatialReference::SetEquirectangular(), OGRSpatialReference::SetEquirectangular2(), OGRSpatialReference::SetGaussSchreiberTMercator(), OGRSpatialReference::SetGEOS(), OGRSpatialReference::SetGH(), OGRSpatialReference::SetGnomonic(), OGRSpatialReference::SetGS(), OGRSpatialReference::SetIWMPolyconic(), OGRSpatialReference::SetLCC(), OGRSpatialReference::SetLCC1SP(), OGRSpatialReference::SetLCCB(), OGRSpatialReference::SetMercator(), OGRSpatialReference::SetMercator2SP(), OGRSpatialReference::SetMollweide(), OGRSpatialReference::SetNZMG(), OGRSpatialReference::SetOrthographic(), OGRSpatialReference::SetOS(), OGRSpatialReference::SetPolyconic(), OGRSpatialReference::SetPS(), OGRSpatialReference::SetQSC(), OGRSpatialReference::SetSOC(), OGRSpatialReference::SetStereographic(), OGRSpatialReference::SetTM(), OGRSpatialReference::SetTMG(), OGRSpatialReference::SetTMSO(), OGRSpatialReference::SetTMVariant(), OGRSpatialReference::SetUTM(), and OGRSpatialReference::SetVDG().
#define SRS_PP_FALSE_EASTING "false_easting" |
false_easting projection parameter
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetAE(), OGRSpatialReference::SetBonne(), OGRSpatialReference::SetCEA(), OGRSpatialReference::SetCS(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetEckert(), OGRSpatialReference::SetEckertIV(), OGRSpatialReference::SetEckertVI(), OGRSpatialReference::SetEquirectangular(), OGRSpatialReference::SetEquirectangular2(), OGRSpatialReference::SetGaussSchreiberTMercator(), OGRSpatialReference::SetGEOS(), OGRSpatialReference::SetGH(), OGRSpatialReference::SetGnomonic(), OGRSpatialReference::SetGS(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOM2PNO(), OGRSpatialReference::SetHOMAC(), OGRSpatialReference::SetIWMPolyconic(), OGRSpatialReference::SetKrovak(), OGRSpatialReference::SetLAEA(), OGRSpatialReference::SetLCC(), OGRSpatialReference::SetLCC1SP(), OGRSpatialReference::SetLCCB(), OGRSpatialReference::SetMC(), OGRSpatialReference::SetMercator(), OGRSpatialReference::SetMercator2SP(), OGRSpatialReference::SetMollweide(), OGRSpatialReference::SetNZMG(), OGRSpatialReference::SetOrthographic(), OGRSpatialReference::SetOS(), OGRSpatialReference::SetPolyconic(), OGRSpatialReference::SetPS(), OGRSpatialReference::SetRobinson(), OGRSpatialReference::SetSinusoidal(), OGRSpatialReference::SetSOC(), OGRSpatialReference::SetStatePlane(), OGRSpatialReference::SetStereographic(), OGRSpatialReference::SetTM(), OGRSpatialReference::SetTMG(), OGRSpatialReference::SetTMSO(), OGRSpatialReference::SetTMVariant(), OGRSpatialReference::SetTPED(), OGRSpatialReference::SetUTM(), OGRSpatialReference::SetVDG(), and OGRSpatialReference::SetWagner().
#define SRS_PP_FALSE_NORTHING "false_northing" |
false_northing projection parameter
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetAE(), OGRSpatialReference::SetBonne(), OGRSpatialReference::SetCEA(), OGRSpatialReference::SetCS(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetEckert(), OGRSpatialReference::SetEckertIV(), OGRSpatialReference::SetEckertVI(), OGRSpatialReference::SetEquirectangular(), OGRSpatialReference::SetEquirectangular2(), OGRSpatialReference::SetGaussSchreiberTMercator(), OGRSpatialReference::SetGEOS(), OGRSpatialReference::SetGH(), OGRSpatialReference::SetGnomonic(), OGRSpatialReference::SetGS(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOM2PNO(), OGRSpatialReference::SetHOMAC(), OGRSpatialReference::SetIWMPolyconic(), OGRSpatialReference::SetKrovak(), OGRSpatialReference::SetLAEA(), OGRSpatialReference::SetLCC(), OGRSpatialReference::SetLCC1SP(), OGRSpatialReference::SetLCCB(), OGRSpatialReference::SetMC(), OGRSpatialReference::SetMercator(), OGRSpatialReference::SetMercator2SP(), OGRSpatialReference::SetMollweide(), OGRSpatialReference::SetNZMG(), OGRSpatialReference::SetOrthographic(), OGRSpatialReference::SetOS(), OGRSpatialReference::SetPolyconic(), OGRSpatialReference::SetPS(), OGRSpatialReference::SetRobinson(), OGRSpatialReference::SetSinusoidal(), OGRSpatialReference::SetSOC(), OGRSpatialReference::SetStatePlane(), OGRSpatialReference::SetStereographic(), OGRSpatialReference::SetTM(), OGRSpatialReference::SetTMG(), OGRSpatialReference::SetTMSO(), OGRSpatialReference::SetTMVariant(), OGRSpatialReference::SetTPED(), OGRSpatialReference::SetUTM(), OGRSpatialReference::SetVDG(), and OGRSpatialReference::SetWagner().
#define SRS_PP_FIPSZONE "fipszone" |
fipszone projection parameter
#define SRS_PP_LANDSAT_NUMBER "landsat_number" |
landsat_number projection parameter
#define SRS_PP_LATITUDE_OF_1ST_POINT "Latitude_Of_1st_Point" |
Latitude_Of_1st_Point projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::SetIWMPolyconic(), and OGRSpatialReference::SetTPED().
#define SRS_PP_LATITUDE_OF_2ND_POINT "Latitude_Of_2nd_Point" |
Latitude_Of_2nd_Point projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::SetIWMPolyconic(), and OGRSpatialReference::SetTPED().
#define SRS_PP_LATITUDE_OF_CENTER "latitude_of_center" |
latitude_of_center projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::FindProjParm(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetAE(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOM2PNO(), OGRSpatialReference::SetHOMAC(), OGRSpatialReference::SetKrovak(), OGRSpatialReference::SetLAEA(), OGRSpatialReference::SetMC(), and OGRSpatialReference::SetSOC().
#define SRS_PP_LATITUDE_OF_ORIGIN "latitude_of_origin" |
latitude_of_origin projection parameter
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::FindProjParm(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetCS(), OGRSpatialReference::SetEquirectangular(), OGRSpatialReference::SetEquirectangular2(), OGRSpatialReference::SetGaussSchreiberTMercator(), OGRSpatialReference::SetGnomonic(), OGRSpatialReference::SetLCC(), OGRSpatialReference::SetLCC1SP(), OGRSpatialReference::SetLCCB(), OGRSpatialReference::SetMercator(), OGRSpatialReference::SetMercator2SP(), OGRSpatialReference::SetNZMG(), OGRSpatialReference::SetOrthographic(), OGRSpatialReference::SetOS(), OGRSpatialReference::SetPolyconic(), OGRSpatialReference::SetPS(), OGRSpatialReference::SetQSC(), OGRSpatialReference::SetStereographic(), OGRSpatialReference::SetTM(), OGRSpatialReference::SetTMG(), OGRSpatialReference::SetTMSO(), OGRSpatialReference::SetTMVariant(), OGRSpatialReference::SetUTM(), and OGRSpatialReference::SetWagner().
#define SRS_PP_LATITUDE_OF_POINT_1 "latitude_of_point_1" |
latitude_of_point_1 projection parameter
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetHOM2PNO().
#define SRS_PP_LATITUDE_OF_POINT_2 "latitude_of_point_2" |
latitude_of_point_2 projection parameter
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetHOM2PNO().
#define SRS_PP_LATITUDE_OF_POINT_3 "latitude_of_point_3" |
latitude_of_point_3 projection parameter
#define SRS_PP_LONGITUDE_OF_1ST_POINT "Longitude_Of_1st_Point" |
Longitude_Of_1st_Point projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetTPED().
#define SRS_PP_LONGITUDE_OF_2ND_POINT "Longitude_Of_2nd_Point" |
Longitude_Of_2nd_Point projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetTPED().
#define SRS_PP_LONGITUDE_OF_CENTER "longitude_of_center" |
longitude_of_center projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::FindProjParm(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetAE(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOMAC(), OGRSpatialReference::SetKrovak(), OGRSpatialReference::SetLAEA(), OGRSpatialReference::SetMC(), OGRSpatialReference::SetRobinson(), and OGRSpatialReference::SetSinusoidal().
#define SRS_PP_LONGITUDE_OF_ORIGIN "longitude_of_origin" |
longitude_of_origin projection parameter
Referenced by OGRSpatialReference::FindProjParm().
#define SRS_PP_LONGITUDE_OF_POINT_1 "longitude_of_point_1" |
longitude_of_point_1 projection parameter
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetHOM2PNO().
#define SRS_PP_LONGITUDE_OF_POINT_2 "longitude_of_point_2" |
longitude_of_point_2 projection parameter
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetHOM2PNO().
#define SRS_PP_LONGITUDE_OF_POINT_3 "longitude_of_point_3" |
longitude_of_point_3 projection parameter
#define SRS_PP_PATH_NUMBER "path_number" |
path_number projection parameter
#define SRS_PP_PEG_POINT_HEADING "peg_point_heading" |
peg_point_heading projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSCH().
#define SRS_PP_PEG_POINT_HEIGHT "peg_point_height" |
peg_point_height projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSCH().
#define SRS_PP_PEG_POINT_LATITUDE "peg_point_latitude" |
peg_point_latitude projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSCH().
#define SRS_PP_PEG_POINT_LONGITUDE "peg_point_longitude" |
peg_point_longitude projection parameter
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSCH().
#define SRS_PP_PERSPECTIVE_POINT_HEIGHT "perspective_point_height" |
perspective_point_height projection parameter
#define SRS_PP_PSEUDO_STD_PARALLEL_1 "pseudo_standard_parallel_1" |
pseudo_standard_parallel_1 projection parameter
Referenced by OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetKrovak().
#define SRS_PP_RECTIFIED_GRID_ANGLE "rectified_grid_angle" |
rectified_grid_angle projection parameter
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::IsAngularParameter(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetHOM(), and OGRSpatialReference::SetHOMAC().
#define SRS_PP_SATELLITE_HEIGHT "satellite_height" |
satellite_height projection parameter
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::IsLinearParameter(), and OGRSpatialReference::SetGEOS().
#define SRS_PP_SCALE_FACTOR "scale_factor" |
scale_factor projection parameter
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetGaussSchreiberTMercator(), OGRSpatialReference::SetHOM(), OGRSpatialReference::SetHOM2PNO(), OGRSpatialReference::SetHOMAC(), OGRSpatialReference::SetKrovak(), OGRSpatialReference::SetLCC1SP(), OGRSpatialReference::SetMercator(), OGRSpatialReference::SetOS(), OGRSpatialReference::SetPS(), OGRSpatialReference::SetStereographic(), OGRSpatialReference::SetTM(), OGRSpatialReference::SetTMSO(), OGRSpatialReference::SetTMVariant(), and OGRSpatialReference::SetUTM().
#define SRS_PP_STANDARD_PARALLEL_1 "standard_parallel_1" |
standard_parallel_1 projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetBonne(), OGRSpatialReference::SetCEA(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetEquirectangular2(), OGRSpatialReference::SetLCC(), OGRSpatialReference::SetLCCB(), and OGRSpatialReference::SetMercator2SP().
#define SRS_PP_STANDARD_PARALLEL_2 "standard_parallel_2" |
standard_parallel_2 projection parameter
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), OGRSpatialReference::SetACEA(), OGRSpatialReference::SetEC(), OGRSpatialReference::SetLCC(), and OGRSpatialReference::SetLCCB().
#define SRS_PP_ZONE "zone" |
zone projection parameter
#define SRS_PT_AITOFF "Aitoff" |
Aitoff projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_ALBERS_CONIC_EQUAL_AREA "Albers_Conic_Equal_Area" |
Albers_Conic_Equal_Area projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetACEA().
#define SRS_PT_AZIMUTHAL_EQUIDISTANT "Azimuthal_Equidistant" |
Azimuthal_Equidistant projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetAE().
#define SRS_PT_BONNE "Bonne" |
Cylindrical_Equal_Area projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetBonne().
#define SRS_PT_CASSINI_SOLDNER "Cassini_Soldner" |
Cassini_Soldner projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetCS().
#define SRS_PT_CRASTER_PARABOLIC "Craster_Parabolic" |
Craster_Parabolic projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_CYLINDRICAL_EQUAL_AREA "Cylindrical_Equal_Area" |
Cylindrical_Equal_Area projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetCEA().
#define SRS_PT_ECKERT_I "Eckert_I" |
Eckert_I projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetEckert().
#define SRS_PT_ECKERT_II "Eckert_II" |
Eckert_II projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetEckert().
#define SRS_PT_ECKERT_III "Eckert_III" |
Eckert_III projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetEckert().
#define SRS_PT_ECKERT_IV "Eckert_IV" |
Eckert_IV projection
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::SetEckert(), and OGRSpatialReference::SetEckertIV().
#define SRS_PT_ECKERT_V "Eckert_V" |
Eckert_V projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetEckert().
#define SRS_PT_ECKERT_VI "Eckert_VI" |
Eckert_VI projection
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::SetEckert(), and OGRSpatialReference::SetEckertVI().
#define SRS_PT_EQUIDISTANT_CONIC "Equidistant_Conic" |
Equidistant_Conic projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetEC().
#define SRS_PT_EQUIRECTANGULAR "Equirectangular" |
#define SRS_PT_GALL_STEREOGRAPHIC "Gall_Stereographic" |
Gall_Stereographic projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetGS().
#define SRS_PT_GAUSSSCHREIBERTMERCATOR "Gauss_Schreiber_Transverse_Mercator" |
Gauss_Schreiber_Transverse_Mercator projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetGaussSchreiberTMercator().
#define SRS_PT_GEOSTATIONARY_SATELLITE "Geostationary_Satellite" |
Geostationary_Satellite projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetGEOS().
#define SRS_PT_GNOMONIC "Gnomonic" |
Gnomonic projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetGnomonic().
#define SRS_PT_GOODE_HOMOLOSINE "Goode_Homolosine" |
Goode_Homolosine projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetGH().
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR "Hotine_Oblique_Mercator" |
Hotine_Oblique_Mercator projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetHOM().
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER "Hotine_Oblique_Mercator_Azimuth_Center" |
Hotine_Oblique_Mercator_Azimuth_Center projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetHOMAC().
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN "Hotine_Oblique_Mercator_Two_Point_Natural_Origin" |
Hotine_Oblique_Mercator_Two_Point_Natural_Origin projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetHOM2PNO().
#define SRS_PT_IGH "Interrupted_Goode_Homolosine" |
Interrupted_Goode_Homolosine projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetIGH().
#define SRS_PT_IMW_POLYCONIC "International_Map_of_the_World_Polyconic" |
International_Map_of_the_World_Polyconic projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetIWMPolyconic().
#define SRS_PT_KROVAK "Krovak" |
Krovak projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetKrovak().
#define SRS_PT_LABORDE_OBLIQUE_MERCATOR "Laborde_Oblique_Mercator" |
Laborde_Oblique_Mercator projection
#define SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA "Lambert_Azimuthal_Equal_Area" |
Lambert_Azimuthal_Equal_Area projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetLAEA().
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP "Lambert_Conformal_Conic_1SP" |
Lambert_Conformal_Conic_1SP projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::morphFromESRI(), and OGRSpatialReference::SetLCC1SP().
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP "Lambert_Conformal_Conic_2SP" |
Lambert_Conformal_Conic_2SP projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), and OGRSpatialReference::SetLCC().
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM "Lambert_Conformal_Conic_2SP_Belgium" |
Lambert_Conformal_Conic_2SP_Belgium projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetLCCB().
#define SRS_PT_LOXIMUTHAL "Loximuthal" |
Loximuthal projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_MERCATOR_1SP "Mercator_1SP" |
Mercator_1SP projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetMercator().
#define SRS_PT_MERCATOR_2SP "Mercator_2SP" |
Mercator_2SP projection
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetMercator2SP().
#define SRS_PT_MERCATOR_AUXILIARY_SPHERE "Mercator_Auxiliary_Sphere" |
Mercator_Auxiliary_Sphere is used used by ESRI to mean EPSG:3875
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::importFromESRI(), and OGRSpatialReference::morphFromESRI().
#define SRS_PT_MILLER_CYLINDRICAL "Miller_Cylindrical" |
Miller_Cylindrical projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetMC().
#define SRS_PT_MOLLWEIDE "Mollweide" |
Mollweide projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetMollweide().
#define SRS_PT_NEW_ZEALAND_MAP_GRID "New_Zealand_Map_Grid" |
New_Zealand_Map_Grid projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetNZMG().
#define SRS_PT_OBLIQUE_STEREOGRAPHIC "Oblique_Stereographic" |
Oblique_Stereographic projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetOS().
#define SRS_PT_ORTHOGRAPHIC "Orthographic" |
Orthographic projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetOrthographic().
#define SRS_PT_POLAR_STEREOGRAPHIC "Polar_Stereographic" |
Polar_Stereographic projection
Referenced by OGRSpatialReference::AutoIdentifyEPSG(), OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::morphFromESRI(), OGRSpatialReference::morphToESRI(), and OGRSpatialReference::SetPS().
#define SRS_PT_POLYCONIC "Polyconic" |
Polyconic projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetPolyconic().
#define SRS_PT_QSC "Quadrilateralized_Spherical_Cube" |
Quadrilateralized_Spherical_Cube projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetQSC().
#define SRS_PT_QUARTIC_AUTHALIC "Quartic_Authalic" |
Quartic_Authalic projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_ROBINSON "Robinson" |
#define SRS_PT_SCH "Spherical_Cross_Track_Height" |
Spherical_Cross_Track_Height projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSCH().
#define SRS_PT_SINUSOIDAL "Sinusoidal" |
#define SRS_PT_STEREOGRAPHIC "Stereographic" |
Stereographic projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetStereographic().
#define SRS_PT_SWISS_OBLIQUE_CYLINDRICAL "Swiss_Oblique_Cylindrical" |
Swiss_Oblique_Cylindrical projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetSOC().
#define SRS_PT_TRANSVERSE_MERCATOR "Transverse_Mercator" |
Transverse_Mercator projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), OGRSpatialReference::GetUTMZone(), OGRSpatialReference::ImportFromESRIWisconsinWKT(), OGRSpatialReference::SetTM(), and OGRSpatialReference::SetUTM().
#define SRS_PT_TRANSVERSE_MERCATOR_MI_21 "Transverse_Mercator_MapInfo_21" |
Transverse_Mercator_MapInfo_21 projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_TRANSVERSE_MERCATOR_MI_22 "Transverse_Mercator_MapInfo_22" |
Transverse_Mercator_MapInfo_22 projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_TRANSVERSE_MERCATOR_MI_23 "Transverse_Mercator_MapInfo_23" |
Transverse_Mercator_MapInfo_23 projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_TRANSVERSE_MERCATOR_MI_24 "Transverse_Mercator_MapInfo_24" |
Transverse_Mercator_MapInfo_24 projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_TRANSVERSE_MERCATOR_MI_25 "Transverse_Mercator_MapInfo_25" |
Transverse_Mercator_MapInfo_25 projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED "Transverse_Mercator_South_Orientated" |
Transverse_Mercator_South_Orientated projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetTMSO().
#define SRS_PT_TUNISIA_MINING_GRID "Tunisia_Mining_Grid" |
Tunisia_Mining_Grid projection
Referenced by OGRSpatialReference::SetTMG().
#define SRS_PT_TWO_POINT_EQUIDISTANT "Two_Point_Equidistant" |
Two_Point_Equidistant projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetTPED().
#define SRS_PT_VANDERGRINTEN "VanDerGrinten" |
VanDerGrinten projection
Referenced by OGRSpatialReference::exportToPCI(), OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetVDG().
#define SRS_PT_WAGNER_I "Wagner_I" |
Wagner_I projection
Referenced by OGRSpatialReference::exportToPanorama(), OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_II "Wagner_II" |
Wagner_II projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_III "Wagner_III" |
Wagner_III projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_IV "Wagner_IV" |
Wagner_IV projection
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_V "Wagner_V" |
Wagner_V projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_VI "Wagner_VI" |
Wagner_VI projection
Referenced by OGRSpatialReference::exportToProj4(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WAGNER_VII "Wagner_VII" |
Wagner_VII projection
Referenced by OGRSpatialReference::exportToProj4(), OGRSpatialReference::exportToUSGS(), and OGRSpatialReference::SetWagner().
#define SRS_PT_WINKEL_I "Winkel_I" |
Winkel_I projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_WINKEL_II "Winkel_II" |
Winkel_II projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_PT_WINKEL_TRIPEL "Winkel_Tripel" |
Winkel_Tripel projection
Referenced by OGRSpatialReference::exportToProj4().
#define SRS_UA_DEGREE "degree" |
Angular unit degree
Referenced by OGRSpatialReference::Fixup(), OGRSpatialReference::importFromPCI(), and OGRSpatialReference::SetGeogCS().
#define SRS_UA_DEGREE_CONV "0.0174532925199433" |
Angular unit degree conversion factor to radians
Referenced by OGRSpatialReference::CloneGeogCS(), OGRSpatialReference::Fixup(), OGRSpatialReference::GetAngularUnits(), OGRSpatialReference::importFromPCI(), OGRSpatialReference::IsSameGeogCS(), and OGRSpatialReference::SetGeogCS().
#define SRS_UA_RADIAN "radian" |
Angular unit radian
#define SRS_UL_CENTIMETER "Centimeter" |
Linear unit Decimeter
#define SRS_UL_CENTIMETER_CONV "0.01" |
Linear unit Decimeter conversion factor to meter
#define SRS_UL_CHAIN "Chain" /* based on US Foot */ |
Linear unit Chain
#define SRS_UL_CHAIN_CONV "20.116684023368047" |
Linear unit Chain conversion factor to meter
#define SRS_UL_DECIMETER "Decimeter" |
Linear unit Decimeter
#define SRS_UL_DECIMETER_CONV "0.1" |
Linear unit Decimeter conversion factor to meter
#define SRS_UL_FOOT "Foot (International)" /* or just "FOOT"? */ |
Linear unit Foot (International)
Referenced by OGRSpatialReference::importFromPCI().
#define SRS_UL_FOOT_CONV "0.3048" |
Linear unit Foot (International) conversion factor to meter
Referenced by OGRSpatialReference::importFromPCI().
#define SRS_UL_INDIAN_CHAIN "Chain_Indian" |
Linear unit Chain_Indian
#define SRS_UL_INDIAN_CHAIN_CONV "20.11669506" |
Linear unit Chain_Indian conversion factor to meter
#define SRS_UL_INDIAN_FOOT "Foot_Indian" |
Linear unit Foot_Indian
#define SRS_UL_INDIAN_FOOT_CONV "0.30479841" |
Linear unit Foot_Indian conversion factor to meter
#define SRS_UL_INDIAN_YARD "Yard_Indian" |
Linear unit Yard_Indian
#define SRS_UL_INDIAN_YARD_CONV "0.91439523" |
Linear unit Yard_Indian conversion factor to meter
#define SRS_UL_INTL_CHAIN "Chain_International" |
Linear unit Chain_International
#define SRS_UL_INTL_CHAIN_CONV "20.1168" |
Linear unit Chain_International conversion factor to meter
#define SRS_UL_INTL_FATHOM "Fathom_International" |
Linear unit Fathom_International
#define SRS_UL_INTL_FATHOM_CONV "1.8288" |
Linear unit Fathom_International conversion factor to meter
#define SRS_UL_INTL_FOOT "Foot_International" |
Linear unit Foot_International
#define SRS_UL_INTL_FOOT_CONV "0.3048" |
Linear unit Foot_International conversion factor to meter
#define SRS_UL_INTL_INCH "Inch_International" |
Linear unit Inch_International
#define SRS_UL_INTL_INCH_CONV "0.0254" |
Linear unit Inch_International conversion factor to meter
#define SRS_UL_INTL_LINK "Link_International" |
Linear unit Link_International
#define SRS_UL_INTL_LINK_CONV "0.201168" |
Linear unit Link_International conversion factor to meter
#define SRS_UL_INTL_NAUT_MILE "Nautical_Mile_International" |
Linear unit Nautical_Mile_International
#define SRS_UL_INTL_NAUT_MILE_CONV "1852.0" |
Linear unit Nautical_Mile_International conversion factor to meter
#define SRS_UL_INTL_STAT_MILE "Statute_Mile_International" |
Linear unit Statute_Mile_International
#define SRS_UL_INTL_STAT_MILE_CONV "1609.344" |
Linear unit Statute_Mile_Internationalconversion factor to meter
#define SRS_UL_INTL_YARD "Yard_International" |
Linear unit Yard_International
#define SRS_UL_INTL_YARD_CONV "0.9144" |
Linear unit Yard_International conversion factor to meter
#define SRS_UL_KILOMETER "Kilometer" |
Linear unit Kilometer
#define SRS_UL_KILOMETER_CONV "1000." |
Linear unit Kilometer conversion factor to meter
#define SRS_UL_LINK "Link" /* Based on US Foot */ |
Linear unit Link
#define SRS_UL_LINK_Clarke "Link_Clarke" |
Linear unit Link_Clarke
#define SRS_UL_LINK_Clarke_CONV "0.2011661949" |
Linear unit Link_Clarke conversion factor to meter
#define SRS_UL_LINK_CONV "0.20116684023368047" |
Linear unit Link conversion factor to meter
#define SRS_UL_METER "Meter" |
Linear unit Meter
Referenced by OGRSpatialReference::Fixup(), OGRSpatialReference::importFromERM(), OGRSpatialReference::importFromESRI(), OGRSpatialReference::importFromOzi(), OGRSpatialReference::importFromPanorama(), OGRSpatialReference::importFromPCI(), OGRSpatialReference::importFromUSGS(), OGRSpatialReference::importFromWMSAUTO(), OGRSpatialReference::SetStatePlane(), and OGRSpatialReference::SetUTM().
#define SRS_UL_MILLIMETER "Millimeter" |
Linear unit Millimeter
#define SRS_UL_MILLIMETER_CONV "0.001" |
Linear unit Millimeter conversion factor to meter
#define SRS_UL_NAUTICAL_MILE "Nautical Mile" |
Linear unit Nautical Mile
#define SRS_UL_NAUTICAL_MILE_CONV "1852.0" |
Linear unit Nautical Mile conversion factor to meter
#define SRS_UL_ROD "Rod" /* based on US Foot */ |
Linear unit Rod
#define SRS_UL_ROD_CONV "5.02921005842012" |
Linear unit Rod conversion factor to meter
#define SRS_UL_US_CHAIN "Chain_US_Surveyor" |
Linear unit Chain_US_Surveyor
#define SRS_UL_US_CHAIN_CONV "20.11684023368047" |
Linear unit Chain_US_Surveyor conversion factor to meter
#define SRS_UL_US_FOOT "Foot_US" /* or "US survey foot" from EPSG */ |
Linear unit Foot
Referenced by OGRSpatialReference::importFromERM(), OGRSpatialReference::importFromESRI(), OGRSpatialReference::importFromPCI(), and OGRSpatialReference::SetStatePlane().
#define SRS_UL_US_FOOT_CONV "0.3048006096012192" |
Linear unit Foot conversion factor to meter
Referenced by OGRSpatialReference::importFromERM(), OGRSpatialReference::importFromESRI(), OGRSpatialReference::importFromPCI(), OGRSpatialReference::importFromWMSAUTO(), and OGRSpatialReference::SetStatePlane().
#define SRS_UL_US_INCH "Inch_US_Surveyor" |
Linear unit Inch_US_Surveyor
#define SRS_UL_US_INCH_CONV "0.025400050800101603" |
Linear unit Inch_US_Surveyor conversion factor to meter
#define SRS_UL_US_STAT_MILE "Statute_Mile_US_Surveyor" |
Linear unit Statute_Mile_US_Surveyor
#define SRS_UL_US_STAT_MILE_CONV "1609.347218694437" |
Linear unit Statute_Mile_US_Surveyor conversion factor to meter
#define SRS_UL_US_YARD "Yard_US_Surveyor" |
Linear unit Yard_US_Surveyor
#define SRS_UL_US_YARD_CONV "0.914401828803658" |
Linear unit Yard_US_Surveyor conversion factor to meter
#define SRS_WGS84_INVFLATTENING 298.257223563 |
Inverse flattening of the WGS84 ellipsoid
Referenced by OGRSpatialReference::GetInvFlattening(), OGRSpatialReference::importFromPCI(), and OGRSpatialReference::importFromProj4().
#define SRS_WGS84_SEMIMAJOR 6378137.0 |
Semi-major axis of the WGS84 ellipsoid
Referenced by OGRSpatialReference::GetSemiMajor(), OGRSpatialReference::importFromPCI(), and OGRSpatialReference::importFromProj4().
#define SRS_WKT_WGS84 "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]" |
WGS 84 geodetic (long/lat) WKT / EPSG:4326 with long,lat ordering
Referenced by OGRSpatialReference::GetWGS84SRS(), and OGRSpatialReference::SetWellKnownGeogCS().
typedef void* OGRCoordinateTransformationH |
Opaque type for a coordinate transformation object
typedef void* OGRSpatialReferenceH |
Opaque type for a Spatial Reference object
enum OGRAxisOrientation |
void CPL_STDCALL OCTDestroyCoordinateTransformation | ( | OGRCoordinateTransformationH | hCT | ) |
OGRCoordinateTransformation destructor.
This function is the same as OGRCoordinateTransformation::DestroyCT()
hCT | the object to delete |
OGRCoordinateTransformationH CPL_STDCALL OCTNewCoordinateTransformation | ( | OGRSpatialReferenceH | hSourceSRS, |
OGRSpatialReferenceH | hTargetSRS | ||
) |
Create transformation object.
This is the same as the C++ function OGRCreateCoordinateTransformation().
Input spatial reference system objects are assigned by copy (calling clone() method) and no ownership transfer occurs.
OCTDestroyCoordinateTransformation() should be used to destroy transformation objects.
The PROJ.4 library must be available at run-time.
hSourceSRS | source spatial reference system. |
hTargetSRS | target spatial reference system. |
References OGRCreateCoordinateTransformation().
int CPL_STDCALL OCTTransform | ( | OGRCoordinateTransformationH | hTransform, |
int | nCount, | ||
double * | x, | ||
double * | y, | ||
double * | z | ||
) |
Transform an array of points
hTransform | Transformation object |
nCount | Number of points |
x | Array of nCount x values. |
y | Array of nCount y values. |
z | Array of nCount z values. |
References VALIDATE_POINTER1.
int CPL_STDCALL OCTTransformEx | ( | OGRCoordinateTransformationH | hTransform, |
int | nCount, | ||
double * | x, | ||
double * | y, | ||
double * | z, | ||
int * | pabSuccess | ||
) |
Transform an array of points
hTransform | Transformation object |
nCount | Number of points |
x | Array of nCount x values. |
y | Array of nCount y values. |
z | Array of nCount z values. |
pabSuccess | Output array of nCount value that will be set to TRUE/FALSE |
References VALIDATE_POINTER1.
char** OPTGetParameterList | ( | const char * | pszProjectionMethod, |
char ** | ppszUserName | ||
) |
Fetch the parameters for a given projection method.
pszProjectionMethod | internal name of projection methods to fetch the parameters for, such as "Transverse_Mercator" (SRS_PT_TRANSVERSE_MERCATOR). |
ppszUserName | pointer in which to return a user visible name for the projection name. The returned string should not be modified or freed by the caller. Legal to pass in NULL if user name not required. |
References CPLCalloc(), CSLAddString(), and EQUAL.
char** OPTGetProjectionMethods | ( | void | ) |
Fetch list of possible projection methods.
References CSLAddString(), and EQUAL.
OGRErr OSRAutoIdentifyEPSG | ( | OGRSpatialReferenceH | hSRS | ) |
Set EPSG authority info if possible.
This function is the same as OGRSpatialReference::AutoIdentifyEPSG().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
const char* OSRAxisEnumToName | ( | OGRAxisOrientation | eOrientation | ) |
double OSRCalcInvFlattening | ( | double | dfSemiMajor, |
double | dfSemiMinor | ||
) |
Compute inverse flattening from semi-major and semi-minor axis.
dfSemiMajor | Semi-major axis length. |
dfSemiMinor | Semi-minor axis length. |
References CPLE_IllegalArg, and CPLError().
Referenced by OGRSpatialReference::importFromESRI(), OGRSpatialReference::importFromPCI(), OGRSpatialReference::importFromProj4(), and OGRSpatialReference::importFromUSGS().
double OSRCalcSemiMinorFromInvFlattening | ( | double | dfSemiMajor, |
double | dfInvFlattening | ||
) |
Compute semi-minor axis from semi-major axis and inverse flattening.
dfSemiMajor | Semi-major axis length. |
dfInvFlattening | Inverse flattening or 0 for sphere. |
References CPLE_IllegalArg, and CPLError().
Referenced by OGRSpatialReference::exportToPCI(), and OGRSpatialReference::GetSemiMinor().
void OSRCleanup | ( | void | ) |
Cleanup cached SRS related memory.
This function will attempt to cleanup any cache spatial reference related information, such as cached tables of coordinate systems.
OGRSpatialReferenceH CPL_STDCALL OSRClone | ( | OGRSpatialReferenceH | hSRS | ) |
Make a duplicate of this OGRSpatialReference.
This function is the same as OGRSpatialReference::Clone()
References VALIDATE_POINTER1.
OGRSpatialReferenceH CPL_STDCALL OSRCloneGeogCS | ( | OGRSpatialReferenceH | hSource | ) |
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
This function is the same as OGRSpatialReference::CloneGeogCS().
References VALIDATE_POINTER1.
OGRErr OSRCopyGeogCSFrom | ( | OGRSpatialReferenceH | hSRS, |
const OGRSpatialReferenceH | hSrcSRS | ||
) |
Copy GEOGCS from another OGRSpatialReference.
This function is the same as OGRSpatialReference::CopyGeogCSFrom()
< Failure
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
int OSRDereference | ( | OGRSpatialReferenceH | hSRS | ) |
Decrements the reference count by one.
This function is the same as OGRSpatialReference::Dereference()
References VALIDATE_POINTER1.
void CPL_STDCALL OSRDestroySpatialReference | ( | OGRSpatialReferenceH | hSRS | ) |
OGRSpatialReference destructor.
This function is the same as OGRSpatialReference::~OGRSpatialReference() and OGRSpatialReference::DestroySpatialReference()
hSRS | the object to delete |
int OSREPSGTreatsAsLatLong | ( | OGRSpatialReferenceH | hSRS | ) |
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as having lat/long coordinate ordering.
This function is the same as OGRSpatialReference::OSREPSGTreatsAsLatLong().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
int OSREPSGTreatsAsNorthingEasting | ( | OGRSpatialReferenceH | hSRS | ) |
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as having northing/easting coordinate ordering.
This function is the same as OGRSpatialReference::EPSGTreatsAsNorthingEasting().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToERM | ( | OGRSpatialReferenceH | hSRS, |
char * | pszProj, | ||
char * | pszDatum, | ||
char * | pszUnits | ||
) |
Convert coordinate system to ERMapper format.
This function is the same as OGRSpatialReference::exportToERM().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToMICoordSys | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszReturn | ||
) |
Export coordinate system in Mapinfo style CoordSys format.
This method is the equivalent of the C++ method OGRSpatialReference::exportToMICoordSys
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToPanorama | ( | OGRSpatialReferenceH | hSRS, |
long * | piProjSys, | ||
long * | piDatum, | ||
long * | piEllips, | ||
long * | piZone, | ||
double * | padfPrjParams | ||
) |
Export coordinate system in "Panorama" GIS projection definition.
See OGRSpatialReference::exportToPanorama()
< Failure
< Failure
< Failure
< Failure
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToPCI | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszProj, | ||
char ** | ppszUnits, | ||
double ** | ppadfPrjParams | ||
) |
Export coordinate system in PCI projection definition.
This function is the same as OGRSpatialReference::exportToPCI().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRExportToPrettyWkt | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszReturn, | ||
int | bSimplify | ||
) |
Convert this SRS into a nicely formatted WKT string for display to a person.
This function is the same as OGRSpatialReference::exportToPrettyWkt().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRExportToProj4 | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszReturn | ||
) |
Export coordinate system in PROJ.4 format.
This function is the same as OGRSpatialReference::exportToProj4().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToUSGS | ( | OGRSpatialReferenceH | hSRS, |
long * | piProjSys, | ||
long * | piZone, | ||
double ** | ppadfPrjParams, | ||
long * | piDatum | ||
) |
Export coordinate system in USGS GCTP projection definition.
This function is the same as OGRSpatialReference::exportToUSGS().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRExportToWkt | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszReturn | ||
) |
Convert this SRS into WKT format.
This function is the same as OGRSpatialReference::exportToWkt().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRExportToXML | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszRawXML, | ||
const char * | pszDialect | ||
) |
Export coordinate system in XML format.
This function is the same as OGRSpatialReference::exportToXML().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRFixup | ( | OGRSpatialReferenceH | hSRS | ) |
Fixup as needed.
This function is the same as OGRSpatialReference::Fixup().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRFixupOrdering | ( | OGRSpatialReferenceH | hSRS | ) |
Correct parameter ordering to match CT Specification.
This function is the same as OGRSpatialReference::FixupOrdering().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
double OSRGetAngularUnits | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszName | ||
) |
Fetch angular geographic coordinate system units.
This function is the same as OGRSpatialReference::GetAngularUnits()
References VALIDATE_POINTER1.
const char* CPL_STDCALL OSRGetAttrValue | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszKey, | ||
int | iChild | ||
) |
Fetch indicated attribute of named node.
This function is the same as OGRSpatialReference::GetAttrValue()
References VALIDATE_POINTER1.
const char* OSRGetAuthorityCode | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey | ||
) |
Get the authority code for a node.
This function is the same as OGRSpatialReference::GetAuthorityCode().
References VALIDATE_POINTER1.
const char* OSRGetAuthorityName | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey | ||
) |
Get the authority name for a node.
This function is the same as OGRSpatialReference::GetAuthorityName().
References VALIDATE_POINTER1.
const char* OSRGetAxis | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey, | ||
int | iAxis, | ||
OGRAxisOrientation * | peOrientation | ||
) |
Fetch the orientation of one axis.
This method is the equivalent of the C++ method OGRSpatialReference::GetAxis
References VALIDATE_POINTER1.
double OSRGetInvFlattening | ( | OGRSpatialReferenceH | hSRS, |
OGRErr * | pnErr | ||
) |
Get spheroid inverse flattening.
This function is the same as OGRSpatialReference::GetInvFlattening()
References VALIDATE_POINTER1.
double OSRGetLinearUnits | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszName | ||
) |
Fetch linear projection units.
This function is the same as OGRSpatialReference::GetLinearUnits()
References VALIDATE_POINTER1.
double OSRGetNormProjParm | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName, | ||
double | dfDefaultValue, | ||
OGRErr * | pnErr | ||
) |
This function is the same as OGRSpatialReference::
This function is the same as OGRSpatialReference::GetNormProjParm()
References VALIDATE_POINTER1.
double OSRGetPrimeMeridian | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszName | ||
) |
Fetch prime meridian info.
This function is the same as OGRSpatialReference::GetPrimeMeridian()
References VALIDATE_POINTER1.
double OSRGetProjParm | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName, | ||
double | dfDefaultValue, | ||
OGRErr * | pnErr | ||
) |
Fetch a projection parameter value.
This function is the same as OGRSpatialReference::GetProjParm()
References VALIDATE_POINTER1.
double OSRGetSemiMajor | ( | OGRSpatialReferenceH | hSRS, |
OGRErr * | pnErr | ||
) |
Get spheroid semi major axis.
This function is the same as OGRSpatialReference::GetSemiMajor()
References VALIDATE_POINTER1.
double OSRGetSemiMinor | ( | OGRSpatialReferenceH | hSRS, |
OGRErr * | pnErr | ||
) |
Get spheroid semi minor axis.
This function is the same as OGRSpatialReference::GetSemiMinor()
References VALIDATE_POINTER1.
double OSRGetTargetLinearUnits | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey, | ||
char ** | ppszName | ||
) |
Fetch linear projection units.
This function is the same as OGRSpatialReference::GetTargetLinearUnits()
References VALIDATE_POINTER1.
OGRErr OSRGetTOWGS84 | ( | OGRSpatialReferenceH | hSRS, |
double * | padfCoeff, | ||
int | nCoeffCount | ||
) |
Fetch TOWGS84 parameters, if available.
This function is the same as OGRSpatialReference::GetTOWGS84().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
int OSRGetUTMZone | ( | OGRSpatialReferenceH | hSRS, |
int * | pbNorth | ||
) |
Get utm zone information.
This is the same as the C++ method OGRSpatialReference::GetUTMZone()
References VALIDATE_POINTER1.
OGRErr OSRImportFromDict | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszDictFile, | ||
const char * | pszCode | ||
) |
Read SRS from WKT dictionary.
This method will attempt to find the indicated coordinate system identity in the indicated dictionary file. If found, the WKT representation is imported and used to initialize this OGRSpatialReference.
More complete information on the format of the dictionary files can be found in the epsg.wkt file in the GDAL data tree. The dictionary files are searched for in the "GDAL" domain using CPLFindFile(). Normally this results in searching /usr/local/share/gdal or somewhere similar.
This method is the same as the C++ method OGRSpatialReference::importFromDict().
hSRS | spatial reference system handle. |
pszDictFile | the name of the dictionary file to load. |
pszCode | the code to lookup in the dictionary. |
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRImportFromEPSG | ( | OGRSpatialReferenceH | hSRS, |
int | nCode | ||
) |
Initialize SRS based on EPSG GCS or PCS code.
This function is the same as OGRSpatialReference::importFromEPSG().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRImportFromEPSGA | ( | OGRSpatialReferenceH | hSRS, |
int | nCode | ||
) |
Initialize SRS based on EPSG GCS or PCS code.
This function is the same as OGRSpatialReference::importFromEPSGA().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromERM | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszProj, | ||
const char * | pszDatum, | ||
const char * | pszUnits | ||
) |
Create OGR WKT from ERMapper projection definitions.
This function is the same as OGRSpatialReference::importFromERM().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromESRI | ( | OGRSpatialReferenceH | hSRS, |
char ** | papszPrj | ||
) |
Import coordinate system from ESRI .prj format(s).
This function is the same as the C++ method OGRSpatialReference::importFromESRI().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromMICoordSys | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszCoordSys | ||
) |
Import Mapinfo style CoordSys definition.
This method is the equivalent of the C++ method OGRSpatialReference::importFromMICoordSys
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromOzi | ( | OGRSpatialReferenceH | hSRS, |
const char *const * | papszLines | ||
) |
Import coordinate system from OziExplorer projection definition.
This function will import projection definition in style, used by OziExplorer software.
Note: another version of this function with a different signature existed in GDAL 1.X.
hSRS | spatial reference object. |
papszLines | Map file lines. This is an array of strings containing the whole OziExplorer .MAP file. The array is terminated by a NULL pointer. |
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromPanorama | ( | OGRSpatialReferenceH | hSRS, |
long | iProjSys, | ||
long | iDatum, | ||
long | iEllips, | ||
double * | padfPrjParams | ||
) |
Import coordinate system from "Panorama" GIS projection definition.
See OGRSpatialReference::importFromPanorama()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromPCI | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszProj, | ||
const char * | pszUnits, | ||
double * | padfPrjParams | ||
) |
Import coordinate system from PCI projection definition.
This function is the same as OGRSpatialReference::importFromPCI().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromProj4 | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszProj4 | ||
) |
Import PROJ.4 coordinate string.
This function is the same as OGRSpatialReference::importFromProj4().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromUrl | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszUrl | ||
) |
Set spatial reference from a URL.
This function is the same as OGRSpatialReference::importFromUrl()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromUSGS | ( | OGRSpatialReferenceH | hSRS, |
long | iProjsys, | ||
long | iZone, | ||
double * | padfPrjParams, | ||
long | iDatum | ||
) |
Import coordinate system from USGS projection definition.
This function is the same as OGRSpatialReference::importFromUSGS().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromWkt | ( | OGRSpatialReferenceH | hSRS, |
char ** | ppszInput | ||
) |
Import from WKT string.
This function is the same as OGRSpatialReference::importFromWkt().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRImportFromXML | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszXML | ||
) |
Import coordinate system from XML format (GML only currently).
This function is the same as OGRSpatialReference::importFromXML().
< Failure
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
int OSRIsCompound | ( | OGRSpatialReferenceH | hSRS | ) |
Check if the coordinate system is compound.
This function is the same as OGRSpatialReference::IsCompound().
References VALIDATE_POINTER1.
int OSRIsGeocentric | ( | OGRSpatialReferenceH | hSRS | ) |
Check if geocentric coordinate system.
This function is the same as OGRSpatialReference::IsGeocentric().
References VALIDATE_POINTER1.
int OSRIsGeographic | ( | OGRSpatialReferenceH | hSRS | ) |
Check if geographic coordinate system.
This function is the same as OGRSpatialReference::IsGeographic().
References VALIDATE_POINTER1.
int OSRIsLocal | ( | OGRSpatialReferenceH | hSRS | ) |
Check if local coordinate system.
This function is the same as OGRSpatialReference::IsLocal().
References VALIDATE_POINTER1.
int OSRIsProjected | ( | OGRSpatialReferenceH | hSRS | ) |
Check if projected coordinate system.
This function is the same as OGRSpatialReference::IsProjected().
References VALIDATE_POINTER1.
int OSRIsSame | ( | OGRSpatialReferenceH | hSRS1, |
OGRSpatialReferenceH | hSRS2 | ||
) |
Do these two spatial references describe the same system ?
This function is the same as OGRSpatialReference::IsSame().
References VALIDATE_POINTER1.
int OSRIsSameGeogCS | ( | OGRSpatialReferenceH | hSRS1, |
OGRSpatialReferenceH | hSRS2 | ||
) |
Do the GeogCS'es match?
This function is the same as OGRSpatialReference::IsSameGeogCS().
References VALIDATE_POINTER1.
int OSRIsSameVertCS | ( | OGRSpatialReferenceH | hSRS1, |
OGRSpatialReferenceH | hSRS2 | ||
) |
Do the VertCS'es match?
This function is the same as OGRSpatialReference::IsSameVertCS().
References VALIDATE_POINTER1.
int OSRIsVertical | ( | OGRSpatialReferenceH | hSRS | ) |
Check if vertical coordinate system.
This function is the same as OGRSpatialReference::IsVertical().
References VALIDATE_POINTER1.
OGRErr OSRMorphFromESRI | ( | OGRSpatialReferenceH | hSRS | ) |
Convert in place from ESRI WKT format.
This function is the same as the C++ method OGRSpatialReference::morphFromESRI().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRMorphToESRI | ( | OGRSpatialReferenceH | hSRS | ) |
Convert in place to ESRI WKT format.
This function is the same as the C++ method OGRSpatialReference::morphToESRI().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRSpatialReferenceH CPL_STDCALL OSRNewSpatialReference | ( | const char * | pszWKT | ) |
Constructor.
This function is the same as OGRSpatialReference::OGRSpatialReference()
< Success
References OGRSpatialReference::importFromWkt(), and OGRERR_NONE.
int OSRReference | ( | OGRSpatialReferenceH | hSRS | ) |
Increments the reference count by one.
This function is the same as OGRSpatialReference::Reference()
References VALIDATE_POINTER1.
void OSRRelease | ( | OGRSpatialReferenceH | hSRS | ) |
Decrements the reference count by one, and destroy if zero.
This function is the same as OGRSpatialReference::Release()
References VALIDATE_POINTER0.
OGRErr OSRSetACEA | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfStdP2, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetAE | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetAngularUnits | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszUnits, | ||
double | dfInRadians | ||
) |
Set the angular units for the geographic coordinate system.
This function is the same as OGRSpatialReference::SetAngularUnits()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr CPL_STDCALL OSRSetAttrValue | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszPath, | ||
const char * | pszValue | ||
) |
Set attribute value in spatial reference.
This function is the same as OGRSpatialReference::SetNode()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetAuthority | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey, | ||
const char * | pszAuthority, | ||
int | nCode | ||
) |
Set the authority for a node.
This function is the same as OGRSpatialReference::SetAuthority().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetAxes | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey, | ||
const char * | pszXAxisName, | ||
OGRAxisOrientation | eXAxisOrientation, | ||
const char * | pszYAxisName, | ||
OGRAxisOrientation | eYAxisOrientation | ||
) |
Set the axes for a coordinate system.
This method is the equivalent of the C++ method OGRSpatialReference::SetAxes
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetBonne | ( | OGRSpatialReferenceH | hSRS, |
double | dfStandardParallel, | ||
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetCEA | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetCompoundCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName, | ||
OGRSpatialReferenceH | hHorizSRS, | ||
OGRSpatialReferenceH | hVertSRS | ||
) |
Setup a compound coordinate system.
This function is the same as OGRSpatialReference::SetCompoundCS()
< Failure
< Failure
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetCS | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEC | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfStdP2, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEckert | ( | OGRSpatialReferenceH | hSRS, |
int | nVariation, | ||
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEckertIV | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEckertVI | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEquirectangular | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetEquirectangular2 | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfPseudoStdParallel1, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr CPL_STDCALL OSRSetFromUserInput | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszDef | ||
) |
Set spatial reference from various text formats.
This function is the same as OGRSpatialReference::SetFromUserInput()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetGaussSchreiberTMercator | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetGeocCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName | ||
) |
Set the user visible PROJCS name.
This function is the same as OGRSpatialReference::SetGeocCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetGeogCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszGeogName, | ||
const char * | pszDatumName, | ||
const char * | pszSpheroidName, | ||
double | dfSemiMajor, | ||
double | dfInvFlattening, | ||
const char * | pszPMName, | ||
double | dfPMOffset, | ||
const char * | pszAngularUnits, | ||
double | dfConvertToRadians | ||
) |
Set geographic coordinate system.
This function is the same as OGRSpatialReference::SetGeogCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetGEOS | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfSatelliteHeight, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetGH | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetGnomonic | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetGS | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetHOM | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfAzimuth, | ||
double | dfRectToSkew, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
Set a Hotine Oblique Mercator projection using azimuth angle.
Hotine Oblique Mercator using azimuth angle
This is the same as the C++ method OGRSpatialReference::SetHOM()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetHOM2PNO | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfLat1, | ||
double | dfLong1, | ||
double | dfLat2, | ||
double | dfLong2, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
Set a Hotine Oblique Mercator projection using two points on projection centerline.
Hotine Oblique Mercator using two points on centerline
This is the same as the C++ method OGRSpatialReference::SetHOM2PNO()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetHOMAC | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfAzimuth, | ||
double | dfRectToSkew, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
Set an Oblique Mercator projection using azimuth angle.
This is the same as the C++ method OGRSpatialReference::SetHOMAC()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetIGH | ( | OGRSpatialReferenceH | hSRS | ) |
OGRErr OSRSetIWMPolyconic | ( | OGRSpatialReferenceH | hSRS, |
double | dfLat1, | ||
double | dfLat2, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
International Map of the World Polyconic
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetKrovak | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfAzimuth, | ||
double | dfPseudoStdParallelLat, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetLAEA | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetLCC | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfStdP2, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetLCC1SP | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetLCCB | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfStdP2, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetLinearUnits | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszUnits, | ||
double | dfInMeters | ||
) |
Set the linear units for the projection.
This function is the same as OGRSpatialReference::SetLinearUnits()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetLinearUnitsAndUpdateParameters | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszUnits, | ||
double | dfInMeters | ||
) |
Set the linear units for the projection.
This function is the same as OGRSpatialReference::SetLinearUnitsAndUpdateParameters()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetLocalCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName | ||
) |
Set the user visible LOCAL_CS name.
This function is the same as OGRSpatialReference::SetLocalCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetMC | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetMercator | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetMercator2SP | ( | OGRSpatialReferenceH | hSRS, |
double | dfStdP1, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetMollweide | ( | OGRSpatialReferenceH | hSRS, |
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetNormProjParm | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszParmName, | ||
double | dfValue | ||
) |
Set a projection parameter with a normalized value.
This function is the same as OGRSpatialReference::SetNormProjParm()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetNZMG | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetOM | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfAzimuth, | ||
double | dfRectToSkew, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
Oblique Mercator (aka HOM (variant B)
OGRErr OSRSetOrthographic | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetOS | ( | OGRSpatialReferenceH | hSRS, |
double | dfOriginLat, | ||
double | dfCMeridian, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetPolyconic | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetProjCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName | ||
) |
Set the user visible PROJCS name.
This function is the same as OGRSpatialReference::SetProjCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetProjection | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszProjection | ||
) |
Set a projection name.
This function is the same as OGRSpatialReference::SetProjection()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetProjParm | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszParmName, | ||
double | dfValue | ||
) |
Set a projection parameter value.
This function is the same as OGRSpatialReference::SetProjParm()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetPS | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetQSC | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong | ||
) |
OGRErr OSRSetRobinson | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetSCH | ( | OGRSpatialReferenceH | hSRS, |
double | dfPegLat, | ||
double | dfPegLong, | ||
double | dfPegHeading, | ||
double | dfPegHgt | ||
) |
OGRErr OSRSetSinusoidal | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetSOC | ( | OGRSpatialReferenceH | hSRS, |
double | dfLatitudeOfOrigin, | ||
double | dfCentralMeridian, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetStatePlane | ( | OGRSpatialReferenceH | hSRS, |
int | nZone, | ||
int | bNAD83 | ||
) |
Set State Plane projection definition.
This function is the same as OGRSpatialReference::SetStatePlane().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetStatePlaneWithUnits | ( | OGRSpatialReferenceH | hSRS, |
int | nZone, | ||
int | bNAD83, | ||
const char * | pszOverrideUnitName, | ||
double | dfOverrideUnit | ||
) |
Set State Plane projection definition.
This function is the same as OGRSpatialReference::SetStatePlane().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetStereographic | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetTargetLinearUnits | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszTargetKey, | ||
const char * | pszUnits, | ||
double | dfInMeters | ||
) |
Set the linear units for the target node.
This function is the same as OGRSpatialReference::SetTargetLinearUnits()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetTM | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
Transverse Mercator
Special processing available for Transverse Mercator with GDAL >= 1.10 and PROJ >= 4.8 : see OGRSpatialReference::exportToProj4().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetTMG | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetTMSO | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetTMVariant | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszVariantName, | ||
double | dfCenterLat, | ||
double | dfCenterLong, | ||
double | dfScale, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetTOWGS84 | ( | OGRSpatialReferenceH | hSRS, |
double | dfDX, | ||
double | dfDY, | ||
double | dfDZ, | ||
double | dfEX, | ||
double | dfEY, | ||
double | dfEZ, | ||
double | dfPPM | ||
) |
Set the Bursa-Wolf conversion to WGS84.
This function is the same as OGRSpatialReference::SetTOWGS84().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetTPED | ( | OGRSpatialReferenceH | hSRS, |
double | dfLat1, | ||
double | dfLong1, | ||
double | dfLat2, | ||
double | dfLong2, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetUTM | ( | OGRSpatialReferenceH | hSRS, |
int | nZone, | ||
int | bNorth | ||
) |
Set UTM projection definition.
This is the same as the C++ method OGRSpatialReference::SetUTM()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetVDG | ( | OGRSpatialReferenceH | hSRS, |
double | dfCenterLong, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetVertCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszVertCSName, | ||
const char * | pszVertDatumName, | ||
int | nVertDatumType | ||
) |
Setup the vertical coordinate system.
This function is the same as OGRSpatialReference::SetVertCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRSetWagner | ( | OGRSpatialReferenceH | hSRS, |
int | nVariation, | ||
double | dfCenterLat, | ||
double | dfFalseEasting, | ||
double | dfFalseNorthing | ||
) |
OGRErr OSRSetWellKnownGeogCS | ( | OGRSpatialReferenceH | hSRS, |
const char * | pszName | ||
) |
Set a GeogCS based on well known name.
This function is the same as OGRSpatialReference::SetWellKnownGeogCS()
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRStripCTParms | ( | OGRSpatialReferenceH | hSRS | ) |
Strip OGC CT Parameters.
This function is the same as OGRSpatialReference::StripCTParms().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.
OGRErr OSRValidate | ( | OGRSpatialReferenceH | hSRS | ) |
Validate SRS tokens.
This function is the same as the C++ method OGRSpatialReference::Validate().
< Failure
References OGRERR_FAILURE, and VALIDATE_POINTER1.