Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

2 Answers 2

up vote 3 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
add comment

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
add comment

Your Answer

 
discard

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.