Skip to main content
Question

RasterMosaicker resolution


Forum|alt.badge.img

I'm using the RasterMosaicker to create a series of mosaics through zoom levels. This involves sorting rasters corresponding to their scale, so the largest-scale raster always sits at the top. To get the RasterMosaicker to recognise this, I've set Data Values > Overlapping values: Last.

The rasters therefore are sent in to the Mosaicker from smallest-scale (e.g. 1:1000000) to largest-scale (e.g. 1:5000) and the last data point where there are overlaps will always trump.

This works fine, except I noticed that as I went to higher zoom levels the resolution was appalling, and much lower than my larger-scale maps. I investigated and found in this Scenario: "the first image to hit the RasterMosaicker, defines the spacing of the output raster. If the RasterMosaicker is allowed to do the resampling, the resolution output may be undesirable."

So, it seems that if I could sort my maps so that the largest-scale came first, the RasterMosaicker resolution would be right. However, if I sort my maps that way, I am not able to set overlapping values correctly to first, as Last is the only option for sorting. A bit of a catch 22 - if anyone could offer an insight on how to get around this I'd be very grateful. Thanks!

3 replies

takashi
Influencer
  • July 30, 2018

Hi @erinjayaustin, just an idea. Create a copy of raster having your desired resolution and send it to the RasterMosaicker at first, then enter all the rasters in the appropriate order.


Forum|alt.badge.img

In case anyone else has this problem with setting RasterMosaicker resolution, the solution I found was very simple:

- RasterPropertyExtractor to extract the x-spacing and y-spacing of the rasters

- StatisticsCalculator to calculate the minimum value of the x and y spacings

- RasterResampler with Size Specification CellSize, setting the sizes using the calculated statistics (min spacings, which were the same for each feature as I used the Complete output).

The RasterMosaicker then used the minimum spacing (maximum resolution) of the set.


Forum|alt.badge.img
takashi wrote:

Hi @erinjayaustin, just an idea. Create a copy of raster having your desired resolution and send it to the RasterMosaicker at first, then enter all the rasters in the appropriate order.

Thanks @takashi, I think this would have worked and was a good suggestion to get me thinking. Appreciate your help.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings