ThinkGeo.Core.ProjectionConverter
Inheritance Hierarchy
Members Summary
Public Constructors
ProjectionConverter()
Parameters
ProjectionConverter(String,String)
Parameters
internalProjString
Type:String
Description:N/A
externalProjString
Type:String
Description:N/A
ProjectionConverter(Int32,Int32)
Parameters
internalSrid
Type:Int32
Description:N/A
externalSrid
Type:Int32
Description:N/A
ProjectionConverter(String,Int32)
Parameters
internalProjString
Type:String
Description:N/A
externalSrid
Type:Int32
Description:N/A
ProjectionConverter(Int32,String)
Parameters
internalSridString
Type:Int32
Description:N/A
externalProjString
Type:String
Description:N/A
ProjectionConverter(Projection,Projection)
Parameters
Protected Constructors
Public Methods
Open()
This method opens the projection and gets it ready to use. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Type:Void
Description:None
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape,Int32,Int32)
Return Value
Parameters
width
Type:Int32
Description:N/A
height
Type:Int32
Description:N/A
ConvertToExternalProjection(GeoImage,RectangleShape)
Return Value
Parameters
ConvertToExternalProjection(GeoImage,RectangleShape,RectangleShape)
Return Value
Parameters
Close()
This method closes the projection and gets it ready for serialization if necessary. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Type:Void
Description:None
Parameters
ConvertToExternalProjection(Double,Double)
This method returns a projected vertex based on the coordinates passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(BaseShape)
This method returns a projected baseShape based on the BaseShape passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(Feature)
This method returns a projected Feature based on the Feature passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToExternalProjection(IEnumerable<Feature>)
Return Value
Parameters
ConvertToExternalProjection(RectangleShape)
Return Value
Parameters
ConvertToExternalProjection(IEnumerable<Vertex>)
Return Value
Parameters
ConvertToInternalProjection(Double,Double)
This method returns a de-projected vertex based on the coordinates passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(BaseShape)
This method returns a de-projected BaseShape based on the BaseShape passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(Feature)
This method returns a de-projected Feature based on the Feature passed in. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
Parameters
ConvertToInternalProjection(IEnumerable<Vertex>)
This method returns a de-projected vertex based on the coordinates passed in. The de-projection is important because, inside of the FeatureSource, you will in many cases go to and from various projections.
Return Value
Parameters
ConvertToInternalProjection(RectangleShape)
Return Value
Parameters
GetType()
Return Value
Type:Type
Description:N/A
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
Protected Methods
ConvertToExternalProjectionCore(GeoImage,RectangleShape,RectangleShape,Int32,Int32)
Return Value
Parameters
width
Type:Int32
Description:N/A
height
Type:Int32
Description:N/A
OpenCore()
As this is the core version of the Open method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible for getting the projection classes' state ready for doing projections.
Return Value
Type:Void
Description:None
Parameters
CloseCore()
As this is the core version of the Close method, it is intended to be overridden in an inherited version of the class. When overriding, you will be responsible freeing any state you have maintained and getting the class ready for serialization if necessary. Note that the object may be opened again, so you want to make sure you can open and close the object multiple times without any ill effects.
Return Value
Type:Void
Description:None
Parameters
UpdateToExternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
ConvertToExternalProjectionCore(IEnumerable<Vertex>)
Return Value
Parameters
ConvertToInternalProjectionCore(IEnumerable<Vertex>)
This method returns a de-projected vertex based on the coordinates passed in. You will need to override this method for the Projection class. Typically, you can call the projection utility library that has interfaces for dozens of different types of projections. The de-projection is important because, inside of the FeatureSource, you will in many cases go to and from various projections.
Return Value
Parameters
UpdateToInternalProjection(Feature)
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
Public Properties
DecimalDegreeBoundary
Return Value
InternalProjection
Return Value
ExternalProjection
Return Value
IsOpen
This method will reflect whether the projection is opened or closed. It is set in the concrete methods Open and Close, so if you inherit from this class and override OpenCore or CloseCore, you will not need to be concerned with setting this property.
Return Value
CanConvertRasterToExternalProjection
Return Value
Protected Properties
Public Events