最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

QGIS raster generation with defined grid - Stack Overflow

programmeradmin1浏览0评论

Is there a way in QGIS to define a grid and generate separate tiff files for every grid cell? Like in this matter:

  • Open XYZ Tiles -> OpenStreetMap.
  • Use a tool to define a grid over the interesting area.
  • Generate a separate tiff file for every sell, using a selected Projection and Scale

Visualization of the idea:

  • Is there a existing QGIS tool for this?
  • Is there a existing QGIS plugin for this?
  • Do I have to create a custom script or plug-in for this task?
  • Is there a existing tool to "split"/"warp" a big tiff to amount of X and Y columns and rows to create smaller tiff files. (Problem is when creating big maps, for example whole Sweden)

Is there a way in QGIS to define a grid and generate separate tiff files for every grid cell? Like in this matter:

  • Open XYZ Tiles -> OpenStreetMap.
  • Use a tool to define a grid over the interesting area.
  • Generate a separate tiff file for every sell, using a selected Projection and Scale

Visualization of the idea:

  • Is there a existing QGIS tool for this?
  • Is there a existing QGIS plugin for this?
  • Do I have to create a custom script or plug-in for this task?
  • Is there a existing tool to "split"/"warp" a big tiff to amount of X and Y columns and rows to create smaller tiff files. (Problem is when creating big maps, for example whole Sweden)
Share Improve this question edited Mar 13 at 6:31 JoeliP asked Mar 13 at 6:17 JoeliPJoeliP 333 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Once you've created your desired grid using the "Create Grid" tool, you can use the "Split Vector Layer" tool and create a separate layer for each polygon.

When you've done that, you can execute a batch process of WhiteboxTools "ClipRasterToPolygon", selecting your raster as the Input File (fill down), then select all the files you've just created in the "Input Vector Polygon File".

For the output file set the name then in the "autofill" options Autofill Mode "Fill with parameter values". Parameter to use as "Input Vector Polygon File".

Hopefully that works for you. Might take a little while to clip everything.

发布评论

评论列表(0)

  1. 暂无评论