Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently resampled a raster file using SAGA's Resampling module. The aim was to widen the extent of the new raster to two decimal places, where the original raster has three decimal places. The resolution of the raster stays the same with 0.02. I take the extent of the original raster and calculate the extent of the additionally needed input-raster from it.

For example - Orginal raster upper left corner:

  • This is what gdalinfo tells me:

    589262.561, 5955004.195
  • What I see with SAGA hard zoom to displayed raster:

    589262.561, 5955004.195
  • What I see in SAGA-Metadata instead:

    589262.571, 5955004.185
  • What I see with Quantum hard zoom to displayed raster:

    589262.561, 5955004.195
  • What I see in Quantum Metadata:

    589262.5609, 5955004.1949

The given numbers of lines and columns are all the same from gdalinfo to SAGA and Quantum. Why is there such a difference in displaying the raster in SAGA?

After resampling with the calculated input grid I get the following:

gdalinfo:         589262.550, 5955004.210
SAGA-zoom:        589262.570., 5955004.190
SAGA-metadata:    589262.56, 5955004.2
Quantum-zoom:     589262.570., 5955004.190
Quantum-metadata: 589262.550, ,5955004.209

Again such differences between displaying the raster and its actual metadata. However, the amounts of lines and columns are identical again, though the other corners also differ slightly.

Is there generally such inaccuracy in these programs? Is it somehow caused by the resampling module? Which information should I believe for further use of the raster?

A lot of information and questions--I would be grateful to get an answer anyway.

share|improve this question
up vote 1 down vote accepted

Okay, i found the following by coincidence in SAGA's "Create Grid System" Module-Description:

"...the module follows the philosophy of SAGA in that the values describing the extent refer to the cell centers..."

With a raster, using a 0.02m²-Resolution, it perfectly explains the "phenomena". So SAGA metadata shows the cell's center, and SAGA-viewer the border - as well as gdalinfo does. Same counts for Quantum GIS i guess. If had paid more attention on the numbers themselves i could have figured out on my own earlier...

Thanks to Volker Wichmann and his' module description.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.