Skip to main content
Solved

Tile raster - ignoring those will only null data

  • March 23, 2016
  • 2 replies
  • 15 views

Forum|alt.badge.img

Is it possible to tile a raster but only export those tiles that actually contain data?

i have a DTM which when tiled produces many empty ascii grid files which i don't want.

ASCII Grid > Raster Tiler > RasterMinMaxExtractor > Tiled_X.asc

Best answer by david_r

Hi

You can use the RasterBandMinMaxExtractor:

If _band{n}.min = _band{n}.max then that band could be considered empty.

David

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • Best Answer
  • March 23, 2016

Hi

You can use the RasterBandMinMaxExtractor:

If _band{n}.min = _band{n}.max then that band could be considered empty.

David


Forum|alt.badge.img
  • Author
  • March 23, 2016

Hi

You can use the RasterBandMinMaxExtractor:

If _band{n}.min = _band{n}.max then that band could be considered empty.

David

@david_r Thanks i was almost there had been playing with a tester.