C# 클래스 MapAround.DataProviders.GDALRasterProvider

Provides access to rasters via GDAL library.

GDAL library is distributed under the terms of X11/ MIT License:

Copyright (c) 2000, Frank Warmerdam Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
상속: IDisposable, IRasterProvider
파일 보기 프로젝트 열기: gkrsu/maparound.example 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the GdalRasterProvider.

GDALRasterProvider ( string fileName ) : System

Initializes a new instance of the MapAround.DataProviders.GDALRasterProvider.

QueryRaster ( int srcX, int srcY, int srcWidth, int srcHeight, int maxDestWidth, int maxDestHeight, MapAround bounds, MapAround receiver ) : void

Retreives a chunk of the raster.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
writePixel ( int x, double intVal, int iPixelSize, int ch, byte row ) : void

메소드 상세

Dispose() 공개 메소드

Disposes the GdalRasterProvider.
public Dispose ( ) : void
리턴 void

GDALRasterProvider() 공개 메소드

Initializes a new instance of the MapAround.DataProviders.GDALRasterProvider.
public GDALRasterProvider ( string fileName ) : System
fileName string Image file name
리턴 System

QueryRaster() 공개 메소드

Retreives a chunk of the raster.
public QueryRaster ( int srcX, int srcY, int srcWidth, int srcHeight, int maxDestWidth, int maxDestHeight, MapAround bounds, MapAround receiver ) : void
srcX int A minimum X coordinate of the querying area
srcY int A minimum Y coordinate of the querying area
srcWidth int A width of the querying area
srcHeight int A height of the querying area
maxDestWidth int A maximum width in pixels of the resulting raster
maxDestHeight int A maximum height in pixels of the resulting raster
bounds MapAround A bounds of querying area on the map
receiver MapAround An object receiving raster
리턴 void