C# Class Mapsui.Utilities.ProjectionHelper

Show file Open project: pauldendulk/Mapsui

Public Methods

Method Description
GetCrsType ( string crs ) : CrsType
GetTransformedBoundingBox ( ITransformation transformatiom, BoundingBox extent, string fromCRS, string toCRS ) : BoundingBox
NeedsTransform ( ITransformation transformation, string fromCRS, string toCRS ) : bool
ToEpsgCode ( string crs ) : int
ToStandardizedCRS ( string crs ) : string

Private Methods

Method Description
IsProjectionInfoAvailable ( ITransformation transformation, string fromCRS, string toCRS ) : bool
IsTransformationNeeded ( string fromCRS, string toCRS ) : bool
IsTransformationSupported ( ITransformation transformation, string fromCRS, string toCRS ) : bool

Method Details

GetCrsType() public static method

public static GetCrsType ( string crs ) : CrsType
crs string
return CrsType

GetTransformedBoundingBox() public static method

public static GetTransformedBoundingBox ( ITransformation transformatiom, BoundingBox extent, string fromCRS, string toCRS ) : BoundingBox
transformatiom ITransformation
extent BoundingBox
fromCRS string
toCRS string
return BoundingBox

NeedsTransform() public static method

public static NeedsTransform ( ITransformation transformation, string fromCRS, string toCRS ) : bool
transformation ITransformation
fromCRS string
toCRS string
return bool

ToEpsgCode() public static method

public static ToEpsgCode ( string crs ) : int
crs string
return int

ToStandardizedCRS() public static method

public static ToStandardizedCRS ( string crs ) : string
crs string
return string