User Tools

Site Tools


12.0:apis:thinkgeo.core.geotiffrastersource

ThinkGeo.Core.GeoTiffRasterSource

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.Core.RasterSource
      • ThinkGeo.Core.GeoTiffRasterSource

Members Summary

Public Constructors

GeoTiffRasterSource(String)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • imagePathFilename
    • Type:String
    • Description:The image path filename.

GeoTiffRasterSource(String,String)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • imagePathFilename
    • Type:String
    • Description:The image path filename.
  • worldFilePathFilename
    • Type:String
    • Description:The world file path filename.

GeoTiffRasterSource(String,RectangleShape)

  • Initializes a new instance of the class.
Remarks
  • N/A
Parameters
  • imagePathFilename
    • Type:String
    • Description:The image path filename.

Protected Constructors

Public Methods

CloneDeep()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetWorldFileText()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

GetImageWidth()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetImageHeight()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetHorizontalResolution()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single
  • Description:N/A
Parameters

GetVerticalResolution()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single
  • Description:N/A
Parameters

GetBoundingBox()

  • N/A
Remarks
  • N/A
Return Value
Parameters

Open()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetImage(RectangleShape,Int32,Int32)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • canvasWidth
    • Type:Int32
    • Description:N/A
  • canvasHeight
    • Type:Int32
    • Description:N/A

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

Protected Methods

GetImageWidthCore()

  • N/A
Remarks
  • This abstract method is called from the concrete method GetImageWidth. You need to override it if you inherit from the RasterSource to return the width of your image. It returns the width of the image in screen coordinates.
Return Value
  • Type:Int32
  • Description:This method returns the width of the image in screen coordinates.
Parameters

GetImageHeightCore()

  • N/A
Remarks
  • This abstract method is called from the concrete method GetImageHeight. You need to override it if you inherit from the RasterSource to return the height of your image. It returns the height of the image in screen coordinates.
Return Value
  • Type:Int32
  • Description:This method returns the height of the image in screen coordinates.
Parameters

GetBoundingBoxCore()

  • N/A
Remarks
  • This method returns the bounding box of the RasterSource.
Return Value
  • Description:This method returns the bounding box of the RasterSource.
Parameters

OpenCore()

  • N/A
Remarks
  • This protected virtual method is called from the concrete public method Open. The Open method plays an important role, as it is responsible for initializing the RasterSource. Most methods on the RasterSource will throw an exception if the state of the RasterSource is not opened. When the map draws each layer, it will open the RasterSource as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the RasterSource. When implementing this abstract method, consider opening files for file-based sources, connecting to databases in the database-based sources and so on. You will get a chance to close these in the Close method of the RasterSource.
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • This protected virtual method is called from the concrete public method Close. The Close method plays an important role in the life cycle of the RasterSource. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed RasterSource is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetImageCore(RectangleShape,Int32,Int32)

  • N/A
Remarks
  • This method is responsible for returning the image based on the parameters passed in. As the core version of this method is abstract, you will need to override it when creating our own RasterSource.
Return Value
  • Type:GeoImage
  • Description:This method returns an image based on the worldExtent and image width and height.
Parameters
  • worldExtent
    • Description:This parameter represents the worldExtent you want to draw.
  • canvasWidth
    • Type:Int32
    • Description:This parameter represents the width of the image you want to draw.
  • canvasHeight
    • Type:Int32
    • Description:This parameter represents the height of the image you want to draw.

OnOpeningRasterSource(OpeningRasterSourceEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnChangedSourceStatus(ChangedSourceStatusEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnOpenedRasterSource(OpenedRasterSourceEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnClosingRasterSource(ClosingRasterSourceEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnClosedRasterSource(ClosedRasterSourceEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloneDeepCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetWrappingImageLeft(RectangleShape,Double,Double,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • screenWidth
    • Type:Double
    • Description:N/A
  • screenHeight
    • Type:Double
    • Description:N/A

GetWrappingImageRight(RectangleShape,Double,Double,RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • screenWidth
    • Type:Double
    • Description:N/A
  • screenHeight
    • Type:Double
    • Description:N/A

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Public Properties

ImagePathFilename

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

ProjectionConverter

  • N/A
Remarks
  • N/A
Return Value

Projection

  • N/A
Remarks
  • N/A
Return Value

Transparency

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

BlueTranslation

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

RedTranslation

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

GreenTranslation

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

IsNegative

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsGrayscale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

ScaleFactor

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

IsOpen

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Protected Properties

Public Events

OpeningRasterSource

  • N/A
Remarks
  • N/A

Event Arguments:OpeningRasterSourceEventArgs

OpenedRasterSource

  • N/A
Remarks
  • N/A

Event Arguments:OpenedRasterSourceEventArgs

ClosingRasterSource

  • N/A
Remarks
  • N/A

Event Arguments:ClosingRasterSourceEventArgs

ClosedRasterSource

  • N/A
Remarks
  • N/A

Event Arguments:ClosedRasterSourceEventArgs

12.0/apis/thinkgeo.core.geotiffrastersource.txt · Last modified: 2019/09/26 09:37 (external edit)