C# Class Mapsui.Providers.GeoTiff.GeoTiffProvider

Inheritance: IProvider
Show file Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GeoTiffProvider ( string tiffPath, List noDataColors = null ) : System
GetExtents ( ) : BoundingBox
GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
IsCrsSupported ( string crs ) : bool?

Private Methods

Method Description
ApplyAlphaOnIndexedBitmap ( Bitmap bitmapImage, ICollection colors ) : Bitmap
ApplyAlphaOnNonIndexedBitmap ( Bitmap bitmapImage, IEnumerable colors ) : Bitmap
ApplyColorFilter ( Bitmap bitmapImage, ICollection colors ) : Bitmap
CalculateExtent ( TiffProperties tiffProperties, WorldProperties worldProperties ) : BoundingBox
GetPathWithoutExtension ( string path ) : string
LoadTiff ( string location ) : TiffProperties
LoadWorld ( string location ) : WorldProperties
ReadImageAsStream ( string tiffPath, List noDataColors ) : MemoryStream

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GeoTiffProvider() public method

public GeoTiffProvider ( string tiffPath, List noDataColors = null ) : System
tiffPath string
noDataColors List
return System

GetExtents() public method

public GetExtents ( ) : BoundingBox
return BoundingBox

GetFeaturesInView() public method

public GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
box BoundingBox
resolution double
return IEnumerable

IsCrsSupported() public method

public IsCrsSupported ( string crs ) : bool?
crs string
return bool?