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

How can I overlay a Vector Layer on a Raster Layer and assign NoData Values on the Raster where the Vector Layer does not cover the Raster Layer?

(preferable with ArcGIS)

share|improve this question
up vote 4 down vote accepted

What you are describing can be accomplished using Extract by Mask. For example, the image on the left shows raster imagery with a polygon overlay. The image to the right shows the result of the extract by mask operation. By default, ArcGIS assigns NoData pixels as no-color. For display purposes, I reassigned the NoData pixel color from no-color to black via: Layer Properties > Symbology > Display NoData as "Black".

enter image description here

share|improve this answer
  1. reclassify raster and use nodata in reclassify
  2. convert reclassified raster to vector ( name = x)
  3. clip the vector layer with x : the result is Nodata in vector layer ( vector y)
  4. Erase vector layer with vector y : the result is vector layer without Nodata location.
share|improve this answer
I am sorry. Either I misunderstand your steps or I was not specific enough in my question. What I want in the end is a Raster Layer only having values for the area covered by the vector layer. – ustroetz Mar 20 '13 at 22:50

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.