神刀安全网

Karta – Python toolkit for geospatial analysis

Karta simplifies management of in- and out-of-memory digital elevation models, satellite imagery, and land classification maps.

Regularly-spaced grids are represented by RegularGrid , which can be created from Numpy ndarrays and spatial reference information. Grid data is then stored in a chunked and compressed in-memory array for space efficiency, or a simple Numpy ndarray for speed. Grids may also use GeoTiff-backed files for very large data. Experimental support exists for grids with arbitrary spacing, which are represented by WarpedGrid .

Grids can be clipped, resampled, queried at geographical points, and read or written to ESRI ASCII files or to GeoTiff via GDAL. Functions are provided for computing DEM properties such as slope, aspect, and hillshade.

# Read a grid and resample grid = karta.read_gtiff("region_dem_UTM.tif").resize(bbox) grid_100m = grid.resample(100, 100) hs = karta.raster.hillshade(grid_100m)

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Karta – Python toolkit for geospatial analysis

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮