User Tools

Site Tools


thinkgeo.mapsuite.core.tilematrix

ThinkGeo.MapSuite.Core.TileMatrix

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 is the base class inherits from Matrix which describe the Matrix system used for Tilling system.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

TileMatrix(String,Double,Int32,Int32,GeographyUnit,PointShape,MatrixReferenceCorner,Int64,Int64)

  • This is the constructor for the class.
Remarks
  • If you use this constructor, all other properties are caculated via these given parameters.
Parameters
  • id
    • Type:String
    • Description:This parameter specifies the id to set the Matrix.
  • scale
    • Type:Double
    • Description:This parameter specifies the target scale to set the Matrix.
  • tileWidth
    • Type:Int32
    • Description:This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
  • tileHeight
    • Type:Int32
    • Description:This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
  • boundingBoxUnit
    • Description:This parameter specifies the boundingBox Unit to set the Matrix.
  • referencePoint
    • Description:This parameter specifies the reference point location to set the Matrix.
  • referenceCorner
    • Description:This parameter specifies the reference corner to set the Matrix.
  • rowCount
    • Type:Int64
    • Description:This parameter specifies the row count to set the Matrix.
  • columnCount
    • Type:Int64
    • Description:This parameter specifies the column count to set the Matrix.

TileMatrix(String,Double,Int32,Int32,GeographyUnit,RectangleShape,MatrixReferenceCorner)

  • This is the constructor for the class.
Remarks
  • If you use this constructor, all other properties are caculated via these given parameters.
Parameters
  • id
    • Type:String
    • Description:This parameter specifies the id to set the Matrix.
  • scale
    • Type:Double
    • Description:This parameter specifies the target scale to set the Matrix.
  • tileWidth
    • Type:Int32
    • Description:This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
  • tileHeight
    • Type:Int32
    • Description:This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
  • boundingBoxUnit
    • Description:This parameter specifies the boundingBox Unit to set the Matrix.
  • boundingBox
    • Description:This parameter specifies the boundingBox to set the Matrix.
  • referenceCorner
    • Description:This parameter specifies the reference corner to set the Matrix.

TileMatrix(String,Double,Int32,Int32,GeographyUnit,MatrixReferenceCorner)

  • This is the constructor for the class.
Remarks
  • If you use this constructor, all other properties are caculated via these given parameters.
Parameters
  • id
    • Type:String
    • Description:This parameter specifies the id to set the Matrix.
  • scale
    • Type:Double
    • Description:This parameter specifies the target scale to set the Matrix.
  • tileWidth
    • Type:Int32
    • Description:This parameter specifies the tile width(in decimalDegrees) to set the Matrix.
  • tileHeight
    • Type:Int32
    • Description:This parameter specifies the tile height(in decimalDegrees) to set the Matrix.
  • boundingBoxUnit
    • Description:This parameter specifies the boundingBox Unit to set the Matrix.
  • referenceCorner
    • Description:This parameter specifies the reference corner to set the Matrix.

Public Methods

GetAllCells()

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

GetCell(Int64,Int64)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • row
    • Type:Int64
    • Description:N/A
  • column
    • Type:Int64
    • Description:N/A

GetCell(PointShape)

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

GetRowIndex(PointShape)

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

GetColumnIndex(PointShape)

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

GetIntersectingCells(RectangleShape)

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

GetContainedCells(RectangleShape)

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

GetIntersectingRowColumnRange(RectangleShape)

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

GetContainedRowColumnRange(RectangleShape)

  • N/A
Remarks
  • N/A
Return Value
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

GetType()

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

Protected Methods

GetResolutionFromScale(Double)

  • This method will get resolution from scale and can be overridden.
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:Returns the resolution corresponding to the passed in scale.
Parameters
  • scale
    • Type:Double
    • Description:This parameter specifies the target scale to get resolution from.

SetMatrix(String,Double,Double,RectangleShape,MatrixReferenceCorner)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:N/A
  • cellWidth
    • Type:Double
    • Description:N/A
  • cellHeight
    • Type:Double
    • Description:N/A

SetMatrix(String,Double,Double,PointShape,MatrixReferenceCorner,Int64,Int64)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:N/A
  • cellWidth
    • Type:Double
    • Description:N/A
  • cellHeight
    • Type:Double
    • Description:N/A
  • rowCount
    • Type:Int64
    • Description:N/A
  • columnCount
    • Type:Int64
    • Description:N/A

SetMatrix(Double,Double)

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

Finalize()

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

MemberwiseClone()

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

Public Properties

Scale

This property gets or sets the Scale for the TileMatrix.

Remarks

When set a different Scale, it will recaculate the parameters in TileMatrix.

Return Value
  • Type:Double

TileWidth

This property gets or sets the TileWidth for the TileMatrix.

Remarks

When set a different TileWidth, it will recaculate the parameters in TileMatrix.

Return Value
  • Type:Int32

TileHeight

This property gets or sets the TileHeight for the TileMatrix.

Remarks

When set a different TileHeight, it will recaculate the parameters in TileMatrix.

Return Value
  • Type:Int32

BoundingBoxUnit

This property gets or sets the BoundingBoxUnit for the TileMatrix.

Remarks

When set a different BoundingBoxUnit, it will recaculate the parameters in TileMatrix. Also, The default boundingBox value depends on the BoundingBoxUint.

Return Value

CellWidth

N/A

Remarks

N/A

Return Value
  • Type:Double

CellHeight

N/A

Remarks

N/A

Return Value
  • Type:Double

BoundingBox

N/A

Remarks

N/A

Return Value

RowCount

N/A

Remarks

N/A

Return Value
  • Type:Int64

ColumnCount

N/A

Remarks

N/A

Return Value
  • Type:Int64

Id

N/A

Remarks

N/A

Return Value
  • Type:String

Protected Properties

Public Events

thinkgeo.mapsuite.core.tilematrix.txt · Last modified: 2017/03/16 21:59 (external edit)