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.

I'm using Arcmap 10, I need to create a raster from contour lines. These contour lines were clipped out with a certain shape with the purpose to modify them only within that shape and then create the raster from these modified contour lines. The problem is that when I come to the TopoToRaster step, the resulting raster is rectangular, while I'd need it with the shape I used for the clipping. How can I do this? Should I change some options in the Spatial Analyst? How?

share|improve this question
2  
Is there any problem with just clipping the resulting raster to the same shape used to clip the contour lines? –  whuber Jun 18 '13 at 14:38
    
I'm not sure about this and it's not easy to me to understand by just observing the results, but I would say that computing a raster (with topo to raster) starting from the same contours, first in a rectangular shape, than in a different shape produces different rasters also for what concerns the common area. I hope I made myself clear (English is not my language). Please let me know your opinion about this. Thank you! –  Michele Cordini Jun 18 '13 at 16:50
    
You might be right--I haven't tested this--but if that is the case, you ought to view the result with the non-rectangular shape as being influenced by an artificial, irrelevant piece of information (the clipping shape). I would therefore be inclined to use the rectangular grid and fair it back into the original grid, as you asked at gis.stackexchange.com/questions/63531/raster-smoothing. –  whuber Jun 18 '13 at 16:53
    
Excuse me, I did'n really get what you mean. In particulat what you mean with "fair it back". I saw that the best solution was to use the "smooth line" tool to work on the contours (of a clipped area), since for my previous question no final solution was proposed (if I well understood), right? thank you again for your tenacity! –  Michele Cordini Jun 18 '13 at 17:38
    
I'm sorry, the answer offered there is not a "best solution": it's not even a solution at all. That question still needs an adequate answer. –  whuber Jun 18 '13 at 17:42

2 Answers 2

simple. before performing raster to topo you need to add a single polygon (input) which will be your desired boundary and change type to boundary (yes there is a dropdown key there) goodluck :)

share|improve this answer

The Clip_management Tool will clip a Raster to a real geometry outline. It is located in the Data Management\Raster Toolset. The 6th parameter is where you define "clipping_Geometry" (polygon perimeter). The default is to clip to an extent. Perhaps you can run Clip_management after TopoToRaster.

share|improve this answer

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.