Package org.gdal.osr
Class SpatialReference
java.lang.Object
org.gdal.osr.SpatialReference
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
ConstructorsConstructorDescriptionSpatialReference(long cPtr, boolean cMemoryOwn) SpatialReference(String wkt) -
Method Summary
Modifier and TypeMethodDescription__str__()intintclone()Clone()ConvertToOtherProjection(String other_projection) ConvertToOtherProjection(String other_projection, Vector options) intvoiddelete()intintDemoteTo2D(String name) intintbooleanintExportToMICoordSys(String[] argout) intExportToPCI(String[] proj, String[] units, double[] params) ExportToPrettyWkt(int simplify) intExportToPrettyWkt(String[] argout) intExportToPrettyWkt(String[] argout, int simplify) intExportToProj4(String[] argout) intExportToPROJJSON(String[] argout) intExportToPROJJSON(String[] argout, Vector options) intExportToUSGS(int[] code, int[] zone, double[] params, int[] datum) intExportToWkt(String[] argout) intExportToWkt(String[] argout, Vector options) ExportToXML(String dialect) intExportToXML(String[] argout) intExportToXML(String[] argout, String dialect) doubleGetAttrValue(String name) GetAttrValue(String name, int child) GetAuthorityCode(String target_key) GetAuthorityName(String target_key) intintGetAxisName(String target_key, int iAxis) intGetAxisOrientation(String target_key, int iAxis) doublestatic longgetCPtr(SpatialReference obj) int[]GetDataAxisToSRSAxisMapping(SWIGTYPE_p_int nLen, SWIGTYPE_p_p_int pList) doubledoubleGetName()doubleGetNormProjParm(String name) doubleGetNormProjParm(String name, double default_val) doubleGetProjParm(String name) doubleGetProjParm(String name, double default_val) doubledoubledoubleGetTargetLinearUnits(String target_key) double[]intGetTOWGS84(double[] argout) intinthashCode()booleanintImportFromEPSG(int arg) intImportFromEPSGA(int arg) intImportFromERM(String proj, String datum, String units) intImportFromESRI(Vector ppszInput) intImportFromMICoordSys(String pszCoordSys) intImportFromOzi(Vector papszLines) intImportFromPCI(String proj) intImportFromPCI(String proj, String units) intImportFromPCI(String proj, String units, double[] argin) intImportFromProj4(String ppszInput) intImportFromUrl(String url) intImportFromUSGS(int proj_code) intImportFromUSGS(int proj_code, int zone) intImportFromUSGS(int proj_code, int zone, double[] argin) intImportFromUSGS(int proj_code, int zone, double[] argin, int datum_code) intImportFromWkt(String ppszInput) intImportFromXML(String xmlString) intintbooleanintintintIsLocal()intintIsSame(SpatialReference rhs) intIsSame(SpatialReference rhs, Vector options) intintintintintintintPromoteTo3D(String name) intSetACEA(double stdp1, double stdp2, double clat, double clong, double fe, double fn) intSetAE(double clat, double clong, double fe, double fn) intSetAngularUnits(String name, double to_radians) intSetAttrValue(String name, String value) intSetAuthority(String pszTargetKey, String pszAuthority, int nCode) voidSetAxisMappingStrategy(int strategy) intSetBonne(double stdp, double cm, double fe, double fn) intSetCEA(double stdp1, double cm, double fe, double fn) intSetCompoundCS(String name, SpatialReference horizcs, SpatialReference vertcs) voidSetCoordinateEpoch(double coordinateEpoch) intSetCS(double clat, double clong, double fe, double fn) intSetDataAxisToSRSAxisMapping(int[] nList) intSetEC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) intSetEckertIV(double cm, double fe, double fn) intSetEckertVI(double cm, double fe, double fn) intSetEquirectangular(double clat, double clong, double fe, double fn) intSetEquirectangular2(double clat, double clong, double pseudostdparallellat, double fe, double fn) intSetFromUserInput(String name) intSetGaussSchreiberTMercator(double clat, double clong, double sc, double fe, double fn) intintintSetGeogCS(String pszGeogName, String pszDatumName, String pszEllipsoidName, double dfSemiMajor, double dfInvFlattening) intSetGeogCS(String pszGeogName, String pszDatumName, String pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, String pszPMName) intSetGeogCS(String pszGeogName, String pszDatumName, String pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, String pszPMName, double dfPMOffset) intSetGeogCS(String pszGeogName, String pszDatumName, String pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, String pszPMName, double dfPMOffset, String pszUnits) intSetGeogCS(String pszGeogName, String pszDatumName, String pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, String pszPMName, double dfPMOffset, String pszUnits, double dfConvertToRadians) intSetGEOS(double cm, double satelliteheight, double fe, double fn) intSetGH(double cm, double fe, double fn) intSetGnomonic(double clat, double clong, double fe, double fn) intSetGS(double cm, double fe, double fn) intSetHOM(double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) intSetHOM2PNO(double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) intSetIGH()intSetKrovak(double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) intSetLAEA(double clat, double clong, double fe, double fn) intSetLCC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) intSetLCC1SP(double clat, double clong, double scale, double fe, double fn) intSetLCCB(double stdp1, double stdp2, double clat, double clong, double fe, double fn) intSetLinearUnits(String name, double to_meters) intSetLinearUnitsAndUpdateParameters(String name, double to_meters) intSetLocalCS(String pszName) intSetMC(double clat, double clong, double fe, double fn) intSetMercator(double clat, double clong, double scale, double fe, double fn) intSetMercator2SP(double stdp1, double clat, double clong, double fe, double fn) intSetMollweide(double cm, double fe, double fn) intSetNormProjParm(String name, double val) intSetNZMG(double clat, double clong, double fe, double fn) intSetOrthographic(double clat, double clong, double fe, double fn) intSetOS(double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) intSetPolyconic(double clat, double clong, double fe, double fn) intintintSetProjection(String arg) intSetProjParm(String name, double val) intSetPS(double clat, double clong, double scale, double fe, double fn) intSetRobinson(double clong, double fe, double fn) intSetSinusoidal(double clong, double fe, double fn) intSetSOC(double latitudeoforigin, double cm, double fe, double fn) intSetStatePlane(int zone) intSetStatePlane(int zone, int is_nad83) intSetStatePlane(int zone, int is_nad83, String unitsname) intSetStatePlane(int zone, int is_nad83, String unitsname, double units) intSetStereographic(double clat, double clong, double scale, double fe, double fn) intSetTargetLinearUnits(String target, String name, double to_meters) intSetTM(double clat, double clong, double scale, double fe, double fn) intSetTMG(double clat, double clong, double fe, double fn) intSetTMSO(double clat, double clong, double scale, double fe, double fn) intSetTMVariant(String pszVariantName, double clat, double clong, double scale, double fe, double fn) intSetTOWGS84(double p1, double p2, double p3) intSetTOWGS84(double p1, double p2, double p3, double p4, double p5, double p6, double p7) intSetUTM(int zone) intSetUTM(int zone, int north) intSetVDG(double clong, double fe, double fn) intintintintintSetVerticalPerspective(double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) intSetWellKnownGeogCS(String name) toString()intValidate()
-
Constructor Details
-
SpatialReference
public SpatialReference(long cPtr, boolean cMemoryOwn) -
SpatialReference
-
SpatialReference
public SpatialReference()
-
-
Method Details
-
getCPtr
-
delete
public void delete() -
equals
-
clone
-
hashCode
public int hashCode() -
toString
-
ExportToWkt
-
ExportToPrettyWkt
-
ExportToPrettyWkt
-
ExportToProj4
-
ExportToXML
-
ExportToXML
-
ExportToMICoordSys
-
GetTOWGS84
public double[] GetTOWGS84() -
SetTOWGS84
public int SetTOWGS84(double p1, double p2, double p3) -
__str__
-
GetName
-
IsSame
-
IsSame
-
IsSameGeogCS
-
IsSameVertCS
-
IsGeographic
public int IsGeographic() -
IsDerivedGeographic
public int IsDerivedGeographic() -
IsProjected
public int IsProjected() -
IsCompound
public int IsCompound() -
IsGeocentric
public int IsGeocentric() -
IsLocal
public int IsLocal() -
IsVertical
public int IsVertical() -
IsDynamic
public boolean IsDynamic() -
GetCoordinateEpoch
public double GetCoordinateEpoch() -
SetCoordinateEpoch
public void SetCoordinateEpoch(double coordinateEpoch) -
EPSGTreatsAsLatLong
public int EPSGTreatsAsLatLong() -
EPSGTreatsAsNorthingEasting
public int EPSGTreatsAsNorthingEasting() -
SetAuthority
-
GetAttrValue
-
GetAttrValue
-
SetAttrValue
-
SetAngularUnits
-
GetAngularUnits
public double GetAngularUnits() -
GetAngularUnitsName
-
SetTargetLinearUnits
-
SetLinearUnits
-
SetLinearUnitsAndUpdateParameters
-
GetTargetLinearUnits
-
GetLinearUnits
public double GetLinearUnits() -
GetLinearUnitsName
-
GetAuthorityCode
-
GetAuthorityName
-
GetAreaOfUse
-
GetAxisName
-
GetAxesCount
public int GetAxesCount() -
GetAxisOrientation
-
GetAxisMappingStrategy
public int GetAxisMappingStrategy() -
SetAxisMappingStrategy
public void SetAxisMappingStrategy(int strategy) -
GetDataAxisToSRSAxisMapping
-
SetDataAxisToSRSAxisMapping
public int SetDataAxisToSRSAxisMapping(int[] nList) -
SetUTM
public int SetUTM(int zone, int north) -
SetUTM
public int SetUTM(int zone) -
GetUTMZone
public int GetUTMZone() -
SetStatePlane
-
SetStatePlane
-
SetStatePlane
public int SetStatePlane(int zone, int is_nad83) -
SetStatePlane
public int SetStatePlane(int zone) -
AutoIdentifyEPSG
public int AutoIdentifyEPSG() -
SetProjection
-
SetProjParm
-
GetProjParm
-
GetProjParm
-
SetNormProjParm
-
GetNormProjParm
-
GetNormProjParm
-
GetSemiMajor
public double GetSemiMajor() -
GetSemiMinor
public double GetSemiMinor() -
GetInvFlattening
public double GetInvFlattening() -
SetACEA
public int SetACEA(double stdp1, double stdp2, double clat, double clong, double fe, double fn) -
SetAE
public int SetAE(double clat, double clong, double fe, double fn) -
SetBonne
public int SetBonne(double stdp, double cm, double fe, double fn) -
SetCEA
public int SetCEA(double stdp1, double cm, double fe, double fn) -
SetCS
public int SetCS(double clat, double clong, double fe, double fn) -
SetEC
public int SetEC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) -
SetEckertIV
public int SetEckertIV(double cm, double fe, double fn) -
SetEckertVI
public int SetEckertVI(double cm, double fe, double fn) -
SetEquirectangular
public int SetEquirectangular(double clat, double clong, double fe, double fn) -
SetEquirectangular2
public int SetEquirectangular2(double clat, double clong, double pseudostdparallellat, double fe, double fn) -
SetGaussSchreiberTMercator
public int SetGaussSchreiberTMercator(double clat, double clong, double sc, double fe, double fn) -
SetGS
public int SetGS(double cm, double fe, double fn) -
SetGH
public int SetGH(double cm, double fe, double fn) -
SetIGH
public int SetIGH() -
SetGEOS
public int SetGEOS(double cm, double satelliteheight, double fe, double fn) -
SetGnomonic
public int SetGnomonic(double clat, double clong, double fe, double fn) -
SetHOM
public int SetHOM(double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) -
SetHOM2PNO
public int SetHOM2PNO(double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) -
SetKrovak
public int SetKrovak(double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) -
SetLAEA
public int SetLAEA(double clat, double clong, double fe, double fn) -
SetLCC
public int SetLCC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) -
SetLCC1SP
public int SetLCC1SP(double clat, double clong, double scale, double fe, double fn) -
SetLCCB
public int SetLCCB(double stdp1, double stdp2, double clat, double clong, double fe, double fn) -
SetMC
public int SetMC(double clat, double clong, double fe, double fn) -
SetMercator
public int SetMercator(double clat, double clong, double scale, double fe, double fn) -
SetMercator2SP
public int SetMercator2SP(double stdp1, double clat, double clong, double fe, double fn) -
SetMollweide
public int SetMollweide(double cm, double fe, double fn) -
SetNZMG
public int SetNZMG(double clat, double clong, double fe, double fn) -
SetOS
public int SetOS(double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) -
SetOrthographic
public int SetOrthographic(double clat, double clong, double fe, double fn) -
SetPolyconic
public int SetPolyconic(double clat, double clong, double fe, double fn) -
SetPS
public int SetPS(double clat, double clong, double scale, double fe, double fn) -
SetRobinson
public int SetRobinson(double clong, double fe, double fn) -
SetSinusoidal
public int SetSinusoidal(double clong, double fe, double fn) -
SetStereographic
public int SetStereographic(double clat, double clong, double scale, double fe, double fn) -
SetSOC
public int SetSOC(double latitudeoforigin, double cm, double fe, double fn) -
SetTM
public int SetTM(double clat, double clong, double scale, double fe, double fn) -
SetTMVariant
public int SetTMVariant(String pszVariantName, double clat, double clong, double scale, double fe, double fn) -
SetTMG
public int SetTMG(double clat, double clong, double fe, double fn) -
SetTMSO
public int SetTMSO(double clat, double clong, double scale, double fe, double fn) -
SetVDG
public int SetVDG(double clong, double fe, double fn) -
SetVerticalPerspective
public int SetVerticalPerspective(double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) -
SetWellKnownGeogCS
-
SetFromUserInput
-
CopyGeogCSFrom
-
SetTOWGS84
public int SetTOWGS84(double p1, double p2, double p3, double p4, double p5, double p6, double p7) -
HasTOWGS84
public boolean HasTOWGS84() -
GetTOWGS84
public int GetTOWGS84(double[] argout) -
AddGuessedTOWGS84
public int AddGuessedTOWGS84() -
SetLocalCS
-
SetGeogCS
-
SetGeogCS
-
SetGeogCS
-
SetGeogCS
-
SetGeogCS
-
SetProjCS
-
SetProjCS
public int SetProjCS() -
SetGeocCS
-
SetGeocCS
public int SetGeocCS() -
SetVertCS
-
SetVertCS
-
SetVertCS
-
SetVertCS
public int SetVertCS() -
SetCompoundCS
-
ImportFromWkt
-
ImportFromProj4
-
ImportFromUrl
-
ImportFromESRI
-
ImportFromEPSG
public int ImportFromEPSG(int arg) -
ImportFromEPSGA
public int ImportFromEPSGA(int arg) -
ImportFromPCI
-
ImportFromPCI
-
ImportFromPCI
-
ImportFromUSGS
public int ImportFromUSGS(int proj_code, int zone, double[] argin, int datum_code) -
ImportFromUSGS
public int ImportFromUSGS(int proj_code, int zone, double[] argin) -
ImportFromUSGS
public int ImportFromUSGS(int proj_code, int zone) -
ImportFromUSGS
public int ImportFromUSGS(int proj_code) -
ImportFromXML
-
ImportFromERM
-
ImportFromMICoordSys
-
ImportFromOzi
-
ExportToWkt
-
ExportToWkt
-
ExportToPrettyWkt
-
ExportToPrettyWkt
-
ExportToPROJJSON
-
ExportToPROJJSON
-
ExportToProj4
-
ExportToPCI
-
ExportToUSGS
public int ExportToUSGS(int[] code, int[] zone, double[] params, int[] datum) -
ExportToXML
-
ExportToXML
-
ExportToMICoordSys
-
CloneGeogCS
-
Clone
-
Validate
public int Validate() -
MorphToESRI
public int MorphToESRI() -
MorphFromESRI
public int MorphFromESRI() -
ConvertToOtherProjection
-
ConvertToOtherProjection
-
PromoteTo3D
-
PromoteTo3D
public int PromoteTo3D() -
DemoteTo2D
-
DemoteTo2D
public int DemoteTo2D()
-