Skip to content

Projection

Inheritance Hierarchy

  • Object
  • Projection

Members Summary

Public Constructors Summary

Name
Projection()
Projection(Int32)
Projection(String)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
ProjString String N/A
Srid Int32 N/A

Protected Properties Summary

Name Return Type Description
N/A N/A N/A

Public Methods Summary

Name
ConvertEpsgToProjString(Int32)
ConvertEpsgToWkt(Int32)
ConvertProjStringToWkt(String)
ConvertWktToProjString(String)
Equals(Object)
GetBingMapProjString()
GetDecimalDegreesProjString()
GetGeographyUnit(String)
GetGeographyUnitFromProj(String)
GetGeographyUnitFromWkb(String)
GetGoogleMapProjString()
GetHashCode()
GetLatLongProjString()
GetLocalUtmZoneNumber(Double,Double)
GetLocalUtmZoneNumber(Feature,String)
GetLocalUtmZoneNumber(Feature,Int32)
GetLocalUtmZoneNumber(BaseShape,String)
GetLocalUtmZoneNumber(BaseShape,Int32)
GetLocalUtmZoneProjString(Double,Double)
GetLocalUtmZoneProjString(Feature,String)
GetLocalUtmZoneProjString(Feature,Int32)
GetLocalUtmZoneProjString(BaseShape,Projection)
GetLocalUtmZoneProjString(BaseShape,String)
GetLocalUtmZoneProjString(BaseShape,Int32)
GetProjStringByEpsgSrid(Int32)
GetProjStringByEsriSrid(Int32)
GetSphericalMercatorProjString()
GetType()
GetUnit()
GetWgs84ProjString()
ToString()

Protected Methods Summary

Name
Finalize()
MemberwiseClone()

Public Events Summary

Name Event Arguments Description
N/A N/A N/A

Members Detail

Public Constructors

Name
Projection()
Projection(Int32)
Projection(String)

Protected Constructors

Public Properties

ProjString

Summary

N/A

Remarks

N/A

Return Value

String


Srid

Summary

N/A

Remarks

N/A

Return Value

Int32


Protected Properties

Public Methods

ConvertEpsgToProjString(Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
srid Int32 N/A

ConvertEpsgToWkt(Int32)

Summary

This method is a static API to get a Prj string by Epsg number

Remarks

N/A

Return Value

Type Description
String

Parameters

Name Type Description
srid Int32 Epsg number that reprents this projection

ConvertProjStringToWkt(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
projString String N/A

ConvertWktToProjString(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
wkt String N/A

Equals(Object)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

GetBingMapProjString()

Summary

This method is a static API to get a projection used by BingMaps.

Remarks

N/A

Return Value

Type Description
String A text for a projection used by BingMaps , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"

Parameters

Name Type Description
N/A N/A N/A

GetDecimalDegreesProjString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

GetGeographyUnit(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
GeographyUnit N/A

Parameters

Name Type Description
projString String N/A

GetGeographyUnitFromProj(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
GeographyUnit N/A

Parameters

Name Type Description
projString String N/A

GetGeographyUnitFromWkb(String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
GeographyUnit N/A

Parameters

Name Type Description
wkt String N/A

GetGoogleMapProjString()

Summary

This method is a static API to get a projection used by GoogleMap.

Remarks

N/A

Return Value

Type Description
String A text for a projection used by GoogleMap , it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"

Parameters

Name Type Description
N/A N/A N/A

GetHashCode()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetLatLongProjString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

GetLocalUtmZoneNumber(Double,Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
latitude Double N/A
longitude Double N/A

GetLocalUtmZoneNumber(Feature,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
feature Feature N/A
projString String N/A

GetLocalUtmZoneNumber(Feature,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
feature Feature N/A
srid Int32 N/A

GetLocalUtmZoneNumber(BaseShape,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
shape BaseShape N/A
projString String N/A

GetLocalUtmZoneNumber(BaseShape,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
shape BaseShape N/A
srid Int32 N/A

GetLocalUtmZoneProjString(Double,Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
latitude Double N/A
longitude Double N/A

GetLocalUtmZoneProjString(Feature,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
feature Feature N/A
projString String N/A

GetLocalUtmZoneProjString(Feature,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
feature Feature N/A
srid Int32 N/A

GetLocalUtmZoneProjString(BaseShape,Projection)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
shape BaseShape N/A
projection Projection N/A

GetLocalUtmZoneProjString(BaseShape,String)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
shape BaseShape N/A
projString String N/A

GetLocalUtmZoneProjString(BaseShape,Int32)

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
shape BaseShape N/A
srid Int32 N/A

GetProjStringByEpsgSrid(Int32)

Summary

This method is a static API to get a projection text from EPSG(European Petroleum Survey Group).

Remarks

More information about it can reference to EPSG.rtf in the documentation.

Return Value

Type Description
String The project text corresponding to the srid.

Parameters

Name Type Description
srid Int32 The target Srid infromation to get the projection text from.

GetProjStringByEsriSrid(Int32)

Summary

This method is a static API to get a projection text from ERSI.

Remarks

More information about it can reference to ERSI.rtf in the documentation.

Return Value

Type Description
String The project text corresponding to the srid.

Parameters

Name Type Description
srid Int32 The target Srid infromation to get the projection text from.

GetSphericalMercatorProjString()

Summary

This method is a static API to get a projection of SphericalMercator.

Remarks

N/A

Return Value

Type Description
String A text for a SphericalMercator projection, it should like this "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"

Parameters

Name Type Description
N/A N/A N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

GetUnit()

Summary

N/A

Remarks

N/A

Return Value

Type Description
GeographyUnit N/A

Parameters

Name Type Description
N/A N/A N/A

GetWgs84ProjString()

Summary

This method is a static API to get a projection text from WGS84.

Remarks

More information about it can reference to EPSG.rtf in the documentation.

Return Value

Type Description
String The project text corresponding to the srid.

Parameters

Name Type Description
N/A N/A N/A

ToString()

Summary

N/A

Remarks

N/A

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Protected Methods

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

Public Events