Agroeye  1.0
Public Member Functions | Public Attributes | List of all members
agroeyepy.Logic.rasterLayerMechanism.RasterFile Class Reference
Inheritance diagram for agroeyepy.Logic.rasterLayerMechanism.RasterFile:
Collaboration diagram for agroeyepy.Logic.rasterLayerMechanism.RasterFile:

Public Member Functions

def __init__ (self, fname, viewArea)
 Open file and read basic information. More...
 
def getQimageData (self, viewSize, viewBoundary, pixSize, viewAreaProj4, viewAreaSpatialReference, viewAreaAsRaster)
 Returns image in of the desired parameters. More...
 
def intersectionToViewAreaCoordinates (self, bound, transformation)
 
def IsPointInViewRange (self, inputPoint, viewBoundary)
 
def getCoor (self, area)
 
def fromCoordinatesToPixels (self, point)
 
def getEnvelope (self, envelopePoints)
 
def getHistogram (self)
 
def setStretchType (self, typeOfstretch)
 
def bandsValuesInPoint (self, qPoint)
 
def askForOverviews (self)
 

Public Attributes

 Dataset
 
 path
 The path of file. More...
 
 name
 Filename of the raster. More...
 
 viewArea
 
 cols
 
 rows
 
 bandsCount
 
 noDataValue
 
 dataTypeInt
 
 dataTypeName
 
 fileFormat
 
 isInt
 
 dataTypeMinValue
 
 dataTypeMaxValue
 
 typeOfStretch
 
 stretchParameters
 
 bands
 Obtain pointers to each layer. More...
 
 processedBands
 
 isVector
 
 nameStyleFullPath
 
 rasterAttributes
 
 dataRange
 
 dataTypeMaxUsed
 
 geoMatrix
 
 originX
 
 originY
 
 pixelSizeX
 
 pixelSizeY
 
 centerX
 
 centerY
 
 coefficientToQImage
 Something. More...
 
 EPSG
 
 EPSGbase
 
 pathLayer
 
 visible
 By default visibility is set ON. More...
 
 icon
 
 srs
 
 proj4
 
 rasterSpatialReference
 
 spatialReferencePrettyWkt
 
 ratio
 Conversion ratio from raster pixel to viewport pixel. More...
 
 offsetX
 
 offsetY
 
 boundary
 
 minXY
 Returns image in of the desired parameters. More...
 
 maxXY
 
 outColumns
 
 outRows
 

Detailed Description

Docu for a class.

More details lower.

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.__init__ (   self,
  fname,
  viewArea 
)

Open file and read basic information.

Parameters
fnameis the input from Dialog Window

Member Function Documentation

§ askForOverviews()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.askForOverviews (   self)

§ bandsValuesInPoint()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.bandsValuesInPoint (   self,
  qPoint 
)

§ fromCoordinatesToPixels()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.fromCoordinatesToPixels (   self,
  point 
)

§ getCoor()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getCoor (   self,
  area 
)
@brief From given polygon area gives the physical coordinations
of each corner provided area
@param area: Area which corners are desirable

§ getEnvelope()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getEnvelope (   self,
  envelopePoints 
)

§ getHistogram()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getHistogram (   self)

§ getQimageData()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getQimageData (   self,
  viewSize,
  viewBoundary,
  pixSize,
  viewAreaProj4,
  viewAreaSpatialReference,
  viewAreaAsRaster 
)

Returns image in of the desired parameters.

Scale of the image, upper-left point and size of the view area must be provided. Using these parameters method returns an image fitting to the appropriate area.

Parameters
ratioratio to produce right size of the image with sides aspect ratio
centralPointCenter of the view area
viewSizeSize of the area where QImage is about to be displayed.

§ intersectionToViewAreaCoordinates()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.intersectionToViewAreaCoordinates (   self,
  bound,
  transformation 
)

§ IsPointInViewRange()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.IsPointInViewRange (   self,
  inputPoint,
  viewBoundary 
)

§ setStretchType()

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.setStretchType (   self,
  typeOfstretch 
)

Member Data Documentation

§ bands

agroeyepy.Logic.rasterLayerMechanism.RasterFile.bands

Obtain pointers to each layer.

§ bandsCount

agroeyepy.Logic.rasterLayerMechanism.RasterFile.bandsCount

§ boundary

agroeyepy.Logic.rasterLayerMechanism.RasterFile.boundary

§ centerX

agroeyepy.Logic.rasterLayerMechanism.RasterFile.centerX

§ centerY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.centerY

§ coefficientToQImage

agroeyepy.Logic.rasterLayerMechanism.RasterFile.coefficientToQImage

Something.

§ cols

agroeyepy.Logic.rasterLayerMechanism.RasterFile.cols

§ dataRange

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataRange

§ Dataset

agroeyepy.Logic.rasterLayerMechanism.RasterFile.Dataset

§ dataTypeInt

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeInt

§ dataTypeMaxUsed

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMaxUsed

§ dataTypeMaxValue

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMaxValue

§ dataTypeMinValue

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMinValue

§ dataTypeName

agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeName

§ EPSG

agroeyepy.Logic.rasterLayerMechanism.RasterFile.EPSG

§ EPSGbase

agroeyepy.Logic.rasterLayerMechanism.RasterFile.EPSGbase

§ fileFormat

agroeyepy.Logic.rasterLayerMechanism.RasterFile.fileFormat

§ geoMatrix

agroeyepy.Logic.rasterLayerMechanism.RasterFile.geoMatrix

§ icon

agroeyepy.Logic.rasterLayerMechanism.RasterFile.icon

§ isInt

agroeyepy.Logic.rasterLayerMechanism.RasterFile.isInt

§ isVector

agroeyepy.Logic.rasterLayerMechanism.RasterFile.isVector

§ maxXY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.maxXY

§ minXY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.minXY

Returns image in of the desired parameters.

Scale of the image, upper-left point and size of the view area must be provided. Using these parameters method returns an image fitting to the appropriate area.

Parameters
ratioratio to produce right size of the image with sides aspect ratio
centralPointCenter of the view area
viewSizeSize of the area where QImage is about to be displayed.

§ name

agroeyepy.Logic.rasterLayerMechanism.RasterFile.name

Filename of the raster.

§ nameStyleFullPath

agroeyepy.Logic.rasterLayerMechanism.RasterFile.nameStyleFullPath

§ noDataValue

agroeyepy.Logic.rasterLayerMechanism.RasterFile.noDataValue

§ offsetX

agroeyepy.Logic.rasterLayerMechanism.RasterFile.offsetX

§ offsetY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.offsetY

§ originX

agroeyepy.Logic.rasterLayerMechanism.RasterFile.originX

§ originY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.originY

§ outColumns

agroeyepy.Logic.rasterLayerMechanism.RasterFile.outColumns

§ outRows

agroeyepy.Logic.rasterLayerMechanism.RasterFile.outRows

§ path

agroeyepy.Logic.rasterLayerMechanism.RasterFile.path

The path of file.

§ pathLayer

agroeyepy.Logic.rasterLayerMechanism.RasterFile.pathLayer

§ pixelSizeX

agroeyepy.Logic.rasterLayerMechanism.RasterFile.pixelSizeX

§ pixelSizeY

agroeyepy.Logic.rasterLayerMechanism.RasterFile.pixelSizeY

§ processedBands

agroeyepy.Logic.rasterLayerMechanism.RasterFile.processedBands

§ proj4

agroeyepy.Logic.rasterLayerMechanism.RasterFile.proj4

§ rasterAttributes

agroeyepy.Logic.rasterLayerMechanism.RasterFile.rasterAttributes

§ rasterSpatialReference

agroeyepy.Logic.rasterLayerMechanism.RasterFile.rasterSpatialReference

§ ratio

def agroeyepy.Logic.rasterLayerMechanism.RasterFile.ratio

Conversion ratio from raster pixel to viewport pixel.

§ rows

agroeyepy.Logic.rasterLayerMechanism.RasterFile.rows

§ spatialReferencePrettyWkt

agroeyepy.Logic.rasterLayerMechanism.RasterFile.spatialReferencePrettyWkt

§ srs

agroeyepy.Logic.rasterLayerMechanism.RasterFile.srs

§ stretchParameters

agroeyepy.Logic.rasterLayerMechanism.RasterFile.stretchParameters

§ typeOfStretch

agroeyepy.Logic.rasterLayerMechanism.RasterFile.typeOfStretch

§ viewArea

agroeyepy.Logic.rasterLayerMechanism.RasterFile.viewArea

§ visible

agroeyepy.Logic.rasterLayerMechanism.RasterFile.visible

By default visibility is set ON.


The documentation for this class was generated from the following file: