Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 need to find size of water area from a raster (jpg) using QGIS 1.8.0-Lisboa. The raster is a Landsat image with gaps of data in it. Raster

I used Polygonize, but the output file shows wrong polygon size exactly where the gaps are. Polygons

Is it because of the gaps in the image? Is there any other way to find size of water from the raster?

Also, after installing QGIS 1.8, Grass 6.4.3 doesn't open. Can not find an answer why?

share|improve this question
I believe there is open-source code written for this in ILWIS. I will have a look through my records and see if I can find it. Aaron - very good advice! :) – David Armstrong May 15 '13 at 15:52
up vote 3 down vote accepted

In 2003 the Landsat 7 ETM sensor had an error in the scan line corrector. The gaps you are observing are a result of this sensor error. There are many ways to correct this issue. Essentially it requires that you find two similar images and fill in the gaps. In other words, there is another preprocessing step that is required. Some resources that may help you:

  1. Filling Gaps in Landsat ETM Images with ENVI
  2. Using interpolation to fill in gaps QGIS. This may work for you since you are only interested in water bodies.
  3. USGS "Dust & Scratches" filter solution using Adobe Photoshop and RGB 3-band image

I should also mention that you may have better success using different ETM bands for your analysis, such as nIR band 4. Since the nIR spectrum is almost entirely absorbed by water, you will likely be able to differentiate water from land much better.

share|improve this answer
Thank you. That is my problem. I don't have all ETM band files, I don't have ENVI or ERDAS and licenses for it. I have only two jpg files one of which is TIR band 4 (I used this file to create polygon). I took it from USGS website. I am also interested in size of vegetation. Any simplest ways to get this information from the raster files? – Sasha May 15 '13 at 15:45
@Sasha What region are you working in? – Aaron May 15 '13 at 15:48
It is Kazakhstan, Korgalzhyn (wetlands) Nature Reserve 50°26′00″N 69°11′20″E – Sasha May 15 '13 at 15:50
Many thanks for the third advice about Photoshop filters! Will try it. – Sasha May 15 '13 at 16:46

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.