ThinkGeo.MapSuite.Core.Proj4Projection
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This projection class uses the Proj4 to project data from one Srid to another.
Inheritance Hierarchy
Members Summary
Public Constructors
Proj4Projection()
Parameters
Proj4Projection(Int32,Int32)
This constructor allows you to pass in Proj4 srid parameters for the to and from projection. The parameters typically look like 4320 stands for “+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs” and 4604 stands for “ +proj=longlat +ellps=clrk80 +towgs84=174,359,365,0,0,0,0 +no_defs”. You should use this constructor when you know the parameters. If you know the SRID directly you can use the other constructor that takes the SRID.
Parameters
Proj4Projection(String,String)
Parameters
Protected Constructors
Public Methods
Dispose()
Return Value
Type:Void
Description:None
Parameters
CloneDeep()
Return Value
Parameters
Open()
Return Value
Type:Void
Description:N/A
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape)
Return Value
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)
Return Value
Parameters
Close()
Return Value
Type:Void
Description:N/A
Parameters
ConvertToExternalProjection(Double,Double)
Return Value
Parameters
x
Type:Double
Description:N/A
y
Type:Double
Description:N/A
ConvertToExternalProjection(BaseShape)
Return Value
Parameters
ConvertToExternalProjection(Feature)
Return Value
Parameters
ConvertToExternalProjection(RectangleShape)
Return Value
Parameters
ConvertToInternalProjection(Double,Double)
Return Value
Parameters
x
Type:Double
Description:N/A
y
Type:Double
Description:N/A
ConvertToInternalProjection(BaseShape)
Return Value
Parameters
ConvertToInternalProjection(Feature)
Return Value
Parameters
ConvertToInternalProjection(RectangleShape)
Return Value
Parameters
GetInternalGeographyUnit()
Return Value
Parameters
GetExternalGeographyUnit()
Return Value
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
GetBingMapParametersString()
This method is a static API to get a projection used by BingMaps.
Return Value
Parameters
GetSphericalMercatorParametersString()
This method is a static API to get a projection of SphericalMercator.
Return Value
Parameters
GetEpsgParametersString(Int32)
This method is a static API to get a projection text from EPSG(European Petroleum Survey Group).
Return Value
Parameters
GetWgs84ParametersString()
This method is a static API to get a projection text from WGS84.
Return Value
Parameters
GetLatLongParametersString()
Return Value
Type:String
Description:N/A
Parameters
GetDecimalDegreesParametersString()
Return Value
Type:String
Description:N/A
Parameters
GetEsriParametersString(Int32)
This method is a static API to get a projection text from ERSI.
Return Value
Parameters
GetGoogleMapParametersString()
This method is a static API to get a projection used by GoogleMap.
Return Value
Parameters
ConvertEpsgToPrj(Int32)
This method is a static API to get a Prj string by Epsg number
Return Value
Type:String
Description:N/A
Parameters
ConvertProj4ToPrj(String)
Return Value
Type:String
Description:N/A
Parameters
proj4String
Type:String
Description:N/A
ConvertPrjToProj4(String)
Return Value
Type:String
Description:N/A
Parameters
prjString
Type:String
Description:N/A
Protected Methods
OpenCore()
Return Value
Type:Void
Description:None
Parameters
CloseCore()
Return Value
Type:Void
Description:None
Parameters
ConvertToExternalProjectionCore(Double[],Double[])
Return Value
Parameters
ConvertToInternalProjectionCore(Double[],Double[])
Return Value
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
GetInternalGeographyUnitCore()
Return Value
Parameters
GetExternalGeographyUnitCore()
Return Value
Parameters
CloneDeepCore()
Return Value
Parameters
ConvertToExternalProjectionCore(GeoImage,RectangleShape)
Return Value
Parameters
ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape)
Return Value
Parameters
UpdateToExternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
UpdateToInternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
MemoryMode
Return Value
DecimalDegreeBoundary
The default boundary is(-179.9, 89.9, 179.9, -89.9). That means when I want to project a PointShape(-179,91,89.91) out, in fact what it projects is (-179.9,89.9) because of its out of boundary.
Return Value
InternalProjectionParametersString
Return Value
ExternalProjectionParametersString
Gets or sets the Proj4 text parameter for the to projection. This parameter typically look like “+proj=utm +zone=33 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs”.
Return Value
IsOpen
Return Value
CanConvertRasterToExternalProjection
Return Value
Protected Properties
CanReproject
Return Value
Public Events