Abstract
In many GIS applications it is important to study the characteristics of a raster data set at multiple resolutions. Often this is done by generating several coarser resolution rasters from a fine resolution raster. In this paper we describe efficient algorithms for different variants of this problem.
Given a raster G of vN × vN cells we first consider the problem of computing for every 2 = µ = vN a raster Gµ of vN/µ × vN/µ cells such that each cell of Gµ stores the average of the values of µ × µ cells of G. We describe an algorithm that solves this problem in T(N) time when the handled data fit in the main memory of the computer. We also provide two algorithms that solve this problem in external memory, that is when the input raster is larger than the main memory. The first external algorithm is very easy to implement and requires O(sort(N)) data block transfers from/to the external memory, and the second algorithm requires only O(scan(N)) transfers, where sort(N) and scan(N) are the number of transfers needed to sort and scan N elements, respectively.
We also study a variant of the problem where instead of the full input raster we handle only a connected subregion of arbitrary shape. For this variant we describe an algorithm that runs in T(U log N) time in internal memory, where U is the size of the output. We show how this algorithm can be adapted to perform efficiently in the external memory using O(sort(U)) data transfers from the disk.
We have also implemented two of the presented algorithms, the O(sort(N)) external memory algorithm for full rasters, and the internal memory algorithm that handles connected subregions, and we demonstrate their efficiency in practice.
Original language | English |
---|---|
Title of host publication | Proceedings of the 20th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACMGIS, Redondo Beach CA, USA, November 6-9, 2012) |
Place of Publication | New York NY |
Publisher | Association for Computing Machinery, Inc |
Pages | 52-60 |
ISBN (Print) | 978-1-4503-1691-0 |
DOIs | |
Publication status | Published - 2012 |
Event | 20th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS 2012) - Redondo Beach, United States Duration: 6 Nov 2012 → 9 Nov 2012 Conference number: 20 http://acmgis2012.cs.umd.edu/ |
Conference
Conference | 20th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS 2012) |
---|---|
Abbreviated title | ACM SIGSPATIAL GIS 2012) |
Country/Territory | United States |
City | Redondo Beach |
Period | 6/11/12 → 9/11/12 |
Internet address |