I want to combine a raster and a vector file. After combining, can I query on the resulting map to obtain a specific area? How?
If you want to identify a common area that exists on both the vector and the raster, I suggest you convert the vector to raster. There are a few things to consider when you do this;
- make the spatial extents of the new raster the same as the original one
- use the same raster cell size.
Then you can identify a common area between the two rasters using a few different techniques. One method is to assign certain values to cells within the new raster. For example you could make your new raster have a value of 1 where the vector object exists, and 0 elsewhere. Then you could multiply the rasters by each other, and the product (a third raster) will give you the intersection.