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 want to change the shape extent of some shape files, I would like to know how to do it in Qgis, since I rasterized some shapes and when I used the calculator to add them, the resulting raster had deleted zones with null data... What i'm trying to do is to add the boolean rasters of the distribution of species into one, to obtain a single one that shows the # of species in a region....

The first image shows the resulting raster (after I use raster calc to add every raster), the second one is the raster I made of the original shape file I used to clip all of my shapes for the region. When I inspect the resulting raster, I get null values (the blue colored section, so the image seems incomplete...

share|improve this question
up vote 2 down vote accepted

If I understand you correctly: your REAL ISSUE is a difference between extents of RASTERS that you use in Raster calculator. And this difference cause loss of data beyond the extent of the smallest input raster. Of course you may fight it by assigning the same extent for all the shapes (and you will have to use scripting for this). But you should consider another approach: assign uniform extent for rasters. There is a 'How To' on this subject here.

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.