Geo::GDAL 1.7.0
|
Documentation of the underlying C++ class at www.gdal.org More...
Public Class Methods | |
Geo::OSR::SpatialReference | new (scalar wkt=undef) |
Geo::OSR::SpatialReference | create (hash params) |
Public Object Methods | |
scalar | IsSame (scalar rhs) |
scalar | IsSameGeogCS (scalar rhs) |
scalar | IsGeographic () |
scalar | IsProjected () |
scalar | IsLocal () |
scalar | GetAttrValue (scalar name, scalar child=0) |
SetAttrValue (scalar name, scalar value) | |
SetAngularUnits (scalar name, scalar to_radians) | |
scalar | GetAngularUnits () |
SetLinearUnits (scalar name, scalar to_meters) | |
scalar | GetLinearUnits () |
scalar | GetLinearUnitsName () |
scalar | GetAuthorityCode (scalar target_key) |
scalar | GetAuthorityName (scalar target_key) |
SetUTM (scalar zone, scalar north=1) | |
SetStatePlane (scalar zone, scalar is_nad83=1, scalar unitsname="", scalar units=0.0) | |
AutoIdentifyEPSG () | |
SetProjection (scalar arg) | |
SetProjParm (scalar name, scalar val) | |
scalar | GetProjParm (scalar name, scalar default_val=0.0) |
SetNormProjParm (scalar name, scalar val) | |
scalar | GetNormProjParm (scalar name, scalar default_val=0.0) |
SetACEA (scalar stdp1, scalar stdp2, scalar clat, scalar clong, scalar fe, scalar fn) | |
SetAE (scalar clat, scalar clon, scalar fe, scalar fn) | |
SetCS (scalar clat, scalar clon, scalar fe, scalar fn) | |
SetBonne (scalar clat, scalar clon, scalar fe, scalar fn) | |
SetEC (scalar stdp1, scalar stdp2, scalar clat, scalar clong, scalar fe, scalar fn) | |
SetEckertIV (scalar cm, scalar fe, scalar fn) | |
SetEckertVI (scalar cm, scalar fe, scalar fn) | |
SetEquirectangular (scalar clat, scalar clong, scalar fe, scalar fn) | |
SetGS (scalar cm, scalar fe, scalar fn) | |
SetWellKnownGeogCS (scalar name) | |
SetFromUserInput (scalar name) | |
CopyGeogCSFrom (scalar rhs) | |
SetTOWGS84 (scalar p1, scalar p2, scalar p3, scalar p4=0.0, scalar p5=0.0, scalar p6=0.0, scalar p7=0.0) | |
GetTOWGS84 () | |
SetGeogCS (scalar GeogName, scalar DatumName, scalar EllipsoidName, scalar SemiMajor, scalar InvFlattening, scalar PMName="Greenwich", scalar PMOffset=0.0, scalar Units="degree", scalar ConvertToRadians=0.0174532925199433) | |
SetProjCS (scalar name="unnamed") | |
ImportFromWkt (scalar wkt) | |
ImportFromProj4 (scalar proj4) | |
ImportFromESRI (scalar esri) | |
ImportFromEPSG (scalar epsg_number) | |
ImportFromPCI (scalar proj, scalar units="METRE", listref argin=undef) | |
ImportFromUSGS (scalar proj_code, scalar zone=0, listref argin[15]=undef, scalar datum_code=0) | |
ImportFromXML (scalar xml_string) | |
scalar | AsText () |
scalar | ExportToPrettyWkt (scalar simplify=0) |
scalar | ExportToProj4 () |
list | ExportToPCI () |
list | ExportToUSGS () |
scalar | ExportToXML (scalar dialect="") |
Geo::OSR::SpatialReference | CloneGeogCS () |
Validate () | |
StripCTParms () | |
FixupOrdering () | |
Fixup () | |
MorphToESRI () | |
MorphFromESRI () | |
ImportFromUrl () | |
SetAuthority () | |
SetCEA () | |
SetGEOS () | |
SetGH () | |
SetGnomonic () | |
SetHOM () | |
SetHOM2PNO () | |
SetKrovak () | |
SetLAEA () | |
SetLCC () | |
SetLCC1SP () | |
SetLCCB () | |
SetLocalCS () | |
SetMC () | |
SetMercator () | |
SetMollweide () | |
SetNZMG () | |
SetOS () | |
SetOrthographic () | |
SetPS () | |
SetPolyconic () | |
SetRobinson () | |
SetSOC () | |
SetSinusoidal () | |
SetStereographic () | |
SetTM () | |
SetTMG () | |
SetTMSO () | |
SetTMVariant () | |
SetVDG () |
scalar Geo::OSR::SpatialReference::AsText | ( | ) |
Return a well known text representation of this spatial reference system. An alternative name: ExportToWkt.
Geo::OSR::SpatialReference::AutoIdentifyEPSG | ( | ) |
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::CloneGeogCS | ( | ) |
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 named parameters. This constructor recognizes the following named parameters: WKT, Text, Proj4, ESRI, EPSG, PCI, USGS, XML.
list Geo::OSR::SpatialReference::ExportToPCI | ( | ) |
scalar Geo::OSR::SpatialReference::ExportToPrettyWkt | ( | scalar | simplify = 0 | ) |
scalar Geo::OSR::SpatialReference::ExportToProj4 | ( | ) |
list Geo::OSR::SpatialReference::ExportToUSGS | ( | ) |
scalar Geo::OSR::SpatialReference::ExportToXML | ( | scalar | dialect = "" | ) |
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 |
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::GetTOWGS84 | ( | ) |
Geo::OSR::SpatialReference::ImportFromEPSG | ( | scalar | epsg_number | ) |
Geo::OSR::SpatialReference::ImportFromESRI | ( | scalar | esri | ) |
Geo::OSR::SpatialReference::ImportFromPCI | ( | scalar | proj, |
scalar | units = "METRE" , |
||
listref | argin = undef |
||
) |
proj | |
units | |
argin | = array of 17 numbers |
Geo::OSR::SpatialReference::ImportFromProj4 | ( | scalar | proj4 | ) |
Geo::OSR::SpatialReference::ImportFromUrl | ( | ) |
Geo::OSR::SpatialReference::ImportFromUSGS | ( | scalar | proj_code, |
scalar | zone = 0 , |
||
listref | argin[15] = undef , |
||
scalar | datum_code = 0 |
||
) |
proj_code | |
zone | |
argin | = array of 15 numbers |
datum_code |
Geo::OSR::SpatialReference::ImportFromWkt | ( | scalar | wkt | ) |
Geo::OSR::SpatialReference::ImportFromXML | ( | scalar | xml_string | ) |
scalar Geo::OSR::SpatialReference::IsGeographic | ( | ) |
scalar Geo::OSR::SpatialReference::IsLocal | ( | ) |
scalar Geo::OSR::SpatialReference::IsProjected | ( | ) |
scalar Geo::OSR::SpatialReference::IsSame | ( | scalar | rhs | ) |
rhs | a Geo::OSR::SpatialReference object |
scalar Geo::OSR::SpatialReference::IsSameGeogCS | ( | scalar | rhs | ) |
rhs | a Geo::OSR::SpatialReference object |
Geo::OSR::SpatialReference::MorphFromESRI | ( | ) |
Geo::OSR::SpatialReference::MorphToESRI | ( | ) |
Geo::OSR::SpatialReference Geo::OSR::SpatialReference::new | ( | scalar | wkt = undef | ) |
wkt | well known text |
Geo::OSR::SpatialReference::SetACEA | ( | scalar | stdp1, |
scalar | stdp2, | ||
scalar | clat, | ||
scalar | clong, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetAE | ( | scalar | clat, |
scalar | clon, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetAngularUnits | ( | scalar | name, |
scalar | to_radians | ||
) |
name | |
to_radians |
Geo::OSR::SpatialReference::SetAttrValue | ( | scalar | name, |
scalar | value | ||
) |
name | |
value |
Geo::OSR::SpatialReference::SetAuthority | ( | ) |
Geo::OSR::SpatialReference::SetBonne | ( | scalar | clat, |
scalar | clon, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetCEA | ( | ) |
Geo::OSR::SpatialReference::SetCS | ( | scalar | clat, |
scalar | clon, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetEC | ( | scalar | stdp1, |
scalar | stdp2, | ||
scalar | clat, | ||
scalar | clong, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetEckertIV | ( | scalar | cm, |
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetEckertVI | ( | scalar | cm, |
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetEquirectangular | ( | scalar | clat, |
scalar | clong, | ||
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetFromUserInput | ( | scalar | name | ) |
Geo::OSR::SpatialReference::SetGeogCS | ( | scalar | GeogName, |
scalar | DatumName, | ||
scalar | EllipsoidName, | ||
scalar | SemiMajor, | ||
scalar | InvFlattening, | ||
scalar | PMName = "Greenwich" , |
||
scalar | PMOffset = 0.0 , |
||
scalar | Units = "degree" , |
||
scalar | ConvertToRadians = 0.0174532925199433 |
||
) |
Geo::OSR::SpatialReference::SetGEOS | ( | ) |
Geo::OSR::SpatialReference::SetGH | ( | ) |
Geo::OSR::SpatialReference::SetGnomonic | ( | ) |
Geo::OSR::SpatialReference::SetGS | ( | scalar | cm, |
scalar | fe, | ||
scalar | fn | ||
) |
Geo::OSR::SpatialReference::SetHOM | ( | ) |
Geo::OSR::SpatialReference::SetHOM2PNO | ( | ) |
Geo::OSR::SpatialReference::SetKrovak | ( | ) |
Geo::OSR::SpatialReference::SetLAEA | ( | ) |
Geo::OSR::SpatialReference::SetLCC | ( | ) |
Geo::OSR::SpatialReference::SetLCC1SP | ( | ) |
Geo::OSR::SpatialReference::SetLCCB | ( | ) |
Geo::OSR::SpatialReference::SetLinearUnits | ( | scalar | name, |
scalar | to_meters | ||
) |
name | |
to_meters |
Geo::OSR::SpatialReference::SetLocalCS | ( | ) |
Geo::OSR::SpatialReference::SetMC | ( | ) |
Geo::OSR::SpatialReference::SetMercator | ( | ) |
Geo::OSR::SpatialReference::SetMollweide | ( | ) |
Geo::OSR::SpatialReference::SetNormProjParm | ( | scalar | name, |
scalar | val | ||
) |
name | |
val |
Geo::OSR::SpatialReference::SetNZMG | ( | ) |
Geo::OSR::SpatialReference::SetOrthographic | ( | ) |
Geo::OSR::SpatialReference::SetOS | ( | ) |
Geo::OSR::SpatialReference::SetPolyconic | ( | ) |
Geo::OSR::SpatialReference::SetProjCS | ( | scalar | name = "unnamed" | ) |
Geo::OSR::SpatialReference::SetProjection | ( | scalar | arg | ) |
arg |
Geo::OSR::SpatialReference::SetProjParm | ( | scalar | name, |
scalar | val | ||
) |
name | |
val |
Geo::OSR::SpatialReference::SetPS | ( | ) |
Geo::OSR::SpatialReference::SetRobinson | ( | ) |
Geo::OSR::SpatialReference::SetSinusoidal | ( | ) |
Geo::OSR::SpatialReference::SetSOC | ( | ) |
Geo::OSR::SpatialReference::SetStatePlane | ( | scalar | zone, |
scalar | is_nad83 = 1 , |
||
scalar | unitsname = "" , |
||
scalar | units = 0.0 |
||
) |
zone | |
is_nad83 | |
unitsname | |
units |
Geo::OSR::SpatialReference::SetStereographic | ( | ) |
Geo::OSR::SpatialReference::SetTM | ( | ) |
Geo::OSR::SpatialReference::SetTMG | ( | ) |
Geo::OSR::SpatialReference::SetTMSO | ( | ) |
Geo::OSR::SpatialReference::SetTMVariant | ( | ) |
Geo::OSR::SpatialReference::SetTOWGS84 | ( | scalar | p1, |
scalar | p2, | ||
scalar | p3, | ||
scalar | p4 = 0.0 , |
||
scalar | p5 = 0.0 , |
||
scalar | p6 = 0.0 , |
||
scalar | p7 = 0.0 |
||
) |
Geo::OSR::SpatialReference::SetUTM | ( | scalar | zone, |
scalar | north = 1 |
||
) |
zone | |
north |
Geo::OSR::SpatialReference::SetVDG | ( | ) |
Geo::OSR::SpatialReference::SetWellKnownGeogCS | ( | scalar | name | ) |
Geo::OSR::SpatialReference::StripCTParms | ( | ) |
Geo::OSR::SpatialReference::Validate | ( | ) |