![]() |
Agroeye
1.0
|
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 | |
Docu for a class. More details lower.
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.__init__ | ( | self, | |
| fname, | |||
| viewArea | |||
| ) |
Open file and read basic information.
| fname | is the input from Dialog Window |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.askForOverviews | ( | self | ) |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.bandsValuesInPoint | ( | self, | |
| qPoint | |||
| ) |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.fromCoordinatesToPixels | ( | self, | |
| point | |||
| ) |
| 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
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getEnvelope | ( | self, | |
| envelopePoints | |||
| ) |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.getHistogram | ( | self | ) |
| 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.
| ratio | ratio to produce right size of the image with sides aspect ratio |
| centralPoint | Center of the view area |
| viewSize | Size of the area where QImage is about to be displayed. |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.intersectionToViewAreaCoordinates | ( | self, | |
| bound, | |||
| transformation | |||
| ) |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.IsPointInViewRange | ( | self, | |
| inputPoint, | |||
| viewBoundary | |||
| ) |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.setStretchType | ( | self, | |
| typeOfstretch | |||
| ) |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.bands |
Obtain pointers to each layer.
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.bandsCount |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.boundary |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.centerX |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.centerY |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.coefficientToQImage |
Something.
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.cols |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataRange |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.Dataset |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeInt |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMaxUsed |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMaxValue |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeMinValue |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.dataTypeName |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.EPSG |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.EPSGbase |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.fileFormat |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.geoMatrix |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.icon |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.isInt |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.isVector |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.maxXY |
| 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.
| ratio | ratio to produce right size of the image with sides aspect ratio |
| centralPoint | Center of the view area |
| viewSize | Size of the area where QImage is about to be displayed. |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.name |
Filename of the raster.
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.nameStyleFullPath |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.noDataValue |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.offsetX |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.offsetY |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.originX |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.originY |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.outColumns |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.outRows |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.path |
The path of file.
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.pathLayer |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.pixelSizeX |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.pixelSizeY |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.processedBands |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.proj4 |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.rasterAttributes |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.rasterSpatialReference |
| def agroeyepy.Logic.rasterLayerMechanism.RasterFile.ratio |
Conversion ratio from raster pixel to viewport pixel.
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.rows |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.spatialReferencePrettyWkt |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.srs |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.stretchParameters |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.typeOfStretch |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.viewArea |
| agroeyepy.Logic.rasterLayerMechanism.RasterFile.visible |
By default visibility is set ON.
1.8.12