2

I rasterized a shape. The resulting raster (lets call it raster 1) has a different extent.

I made a virtual raster with the original polygon and I tried to multiply the virtual raster with raster 1 selecting the virtual raster's extent using raster calc... but I can't get the raster 1 to change the extent... does anyone know how to fix that?

In the picture, the blue part shows the difference between the original vector and the resulting raster. In the picture, the blue part shows the difference between the original vector and the resulting raster

closed as off-topic by neogeomat, xunilk, BERA, whyzar, Dan C May 25 '18 at 13:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – neogeomat, xunilk, BERA, whyzar, Dan C
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Does the image not cover all of the vector? You used GDAL_Rasterize to create the raster? Did the raster exist prior to this operation? According to the docs, if you use -te xmin ymin xmax ymax with -tr CellX CellY in georeferenced coordinates it should create a raster to fit that. It looks like the rasterize function has covered just the extent of the features to be rasterized. – Michael Stimson Sep 11 '14 at 1:24

Browse other questions tagged or ask your own question.