Public Class Methods | |
Geo::OSR::SpatialReference | new (scalar wkt=undef) |
Geo::OSR::SpatialReference | create (hash params) |
Public Object Methods | |
Geo::OSR::SpatialReference | Clone () |
Geo::OSR::SpatialReference | CloneGeogCS () |
Export (scalar format) | |
Set (hash params) | |
scalar | IsSame (scalar rs) |
scalar | IsSameGeogCS (scalar rs) |
scalar | IsGeographic () |
scalar | IsProjected () |
scalar | IsLocal () |
scalar | IsCompound () |
scalar | IsGeocentric () |
scalar | IsVertical () |
scalar | IsSameVertCS (scalar rs) |
scalar | GetAttrValue (scalar name, scalar child=0) |
scalar | GetAngularUnits () |
scalar | GetLinearUnits () |
scalar | GetLinearUnitsName () |
scalar | GetAuthorityCode (scalar target_key) |
scalar | GetAuthorityName (scalar target_key) |
scalar | GetProjParm (scalar name, scalar default_val=0.0) |
scalar | GetNormProjParm (scalar name, scalar default_val=0.0) |
CopyGeogCSFrom (scalar rhs) | |
GetTOWGS84 () | |
GetInvFlattening () | |
GetSemiMinor () | |
GetSemiMajor () | |
GetUTMZone () | |
AutoIdentifyEPSG () | |
EPSGTreatsAsLatLong () | |
Validate () | |
StripCTParms () | |
FixupOrdering () | |
Fixup () | |
MorphToESRI () | |
MorphFromESRI () | |
Public Attributes | |
list | PROJECTIONS |
list | PARAMETERS |
Geo::OSR::SpatialReference::AutoIdentifyEPSG | ( | ) |
Set EPSG authority info if possible.
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::Clone | ( | ) |
Make a duplicate of this SpatialReference object.
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::CloneGeogCS | ( | ) |
Make a duplicate of the GEOGCS node of this SpatialReference object.
Geo::OSR::SpatialReference::CopyGeogCSFrom | ( | scalar | rhs | ) |
rhs | Geo::OSR::SpatialReference |
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::create | ( | hash | params | ) |
Create a new spatial reference object using a named parameter. This constructor recognizes the following key words (alternative in parenthesis): WKT (Text), Proj4, ESRI, EPSG, EPSGA, PCI, USGS, GML (XML), URL, ERMapper (ERM), MapInfoCS (MICoordSys). The value depends on the key.
For more information, consult the import methods in OGR documentation.
$sr = Geo::OSR::SpatialReference->create( key => value );
Geo::OSR::SpatialReference::EPSGTreatsAsLatLong | ( | ) |
Returns TRUE if EPSG feels this geographic coordinate system should be treated as having lat/long coordinate ordering.
Geo::OSR::SpatialReference::Export | ( | scalar | format | ) |
Export the spatial reference to a selected format.
format | One of the following. The return value is explained after the format. Other arguments are explained in parenthesis.
|
ExportTo* and AsText methods also exist but are not documented here.
Geo::OSR::SpatialReference::Fixup | ( | ) |
Geo::OSR::SpatialReference::FixupOrdering | ( | ) |
scalar Geo::OSR::SpatialReference::GetAngularUnits | ( | ) |
scalar Geo::OSR::SpatialReference::GetAttrValue | ( | scalar | name, | |
scalar | child = 0 | |||
) |
name | ||
child |
scalar Geo::OSR::SpatialReference::GetAuthorityCode | ( | scalar | target_key | ) |
target_key |
scalar Geo::OSR::SpatialReference::GetAuthorityName | ( | scalar | target_key | ) |
target_key |
Geo::OSR::SpatialReference::GetInvFlattening | ( | ) |
scalar Geo::OSR::SpatialReference::GetLinearUnits | ( | ) |
scalar Geo::OSR::SpatialReference::GetLinearUnitsName | ( | ) |
scalar Geo::OSR::SpatialReference::GetNormProjParm | ( | scalar | name, | |
scalar | default_val = 0.0 | |||
) |
name | ||
default_val |
scalar Geo::OSR::SpatialReference::GetProjParm | ( | scalar | name, | |
scalar | default_val = 0.0 | |||
) |
name | ||
default_val |
Geo::OSR::SpatialReference::GetSemiMajor | ( | ) |
Geo::OSR::SpatialReference::GetSemiMinor | ( | ) |
Geo::OSR::SpatialReference::GetTOWGS84 | ( | ) |
Geo::OSR::SpatialReference::GetUTMZone | ( | ) |
Get UTM zone information.
scalar Geo::OSR::SpatialReference::IsCompound | ( | ) |
scalar Geo::OSR::SpatialReference::IsGeocentric | ( | ) |
scalar Geo::OSR::SpatialReference::IsGeographic | ( | ) |
scalar Geo::OSR::SpatialReference::IsLocal | ( | ) |
scalar Geo::OSR::SpatialReference::IsProjected | ( | ) |
scalar Geo::OSR::SpatialReference::IsSame | ( | scalar | rs | ) |
scalar Geo::OSR::SpatialReference::IsSameGeogCS | ( | scalar | rs | ) |
scalar Geo::OSR::SpatialReference::IsSameVertCS | ( | scalar | rs | ) |
scalar Geo::OSR::SpatialReference::IsVertical | ( | ) |
Geo::OSR::SpatialReference::MorphFromESRI | ( | ) |
Geo::OSR::SpatialReference::MorphToESRI | ( | ) |
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::new | ( | scalar | wkt = undef |
) |
Geo::OSR::SpatialReference::Set | ( | hash | params | ) |
Set a parameter or parameters in the spatial reference object.
params | Named parameters. Recognized keys and respective values are the following.
|
Geo::OSR::SpatialReference::StripCTParms | ( | ) |
Geo::OSR::SpatialReference::Validate | ( | ) |
Some projection parameters known to GDAL
Projections known to GDAL