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 have a grid (in .img format) with pixel values ranging from -10,000 to 10,000, which i would like to contour. but i would like to contour only -3000 to 0 range. is this possible to set this up during contouring? or is there a way i can restrict the raster grid to display only -3000 to 0 before i start contouring?

Using Arc 9.3.1, with one extension (spatial analyst), nothing else.

share|improve this question
2  
Please consider accepting answers to your previous questions. I think GIS SE users will appreciate that. –  radek Feb 23 '12 at 12:06
    
Did you rule out SetNull to set all the values greater than 0 to nodata? I don't have the 9.3 help files here, so you will have to check the exact syntax for your system. –  Dan Patterson Feb 23 '12 at 12:09
    
@radek, how do i accept answers to all my questions? I would love to do that, as all my previous questions got very nice and effective answers from the folks here. including this questions as well. –  gleeks Feb 28 '12 at 1:12
    
@Dan, thanks for that. this is simple yet effective way, exactly what i wanted. –  gleeks Feb 28 '12 at 1:13
add comment

2 Answers 2

up vote 0 down vote accepted

You can also use the Contour List tool if you have access to Spatial Analyst ( http://webhelp.esri.com/arcgiSDEsktop/9.3/index.cfm?TopicName=Contour_List ) or 3D Analyst ( http://webhelp.esri.com/arcgiSDEsktop/9.3/index.cfm?TopicName=contour_list_(3D_Analyst) ) These let you specify custom intervals for your contours, so you can simply use -3000 as your first value and 0 as your last value and then set the values in between to whatever intervals you want.

share|improve this answer
    
@nice one as well, blord. now i have three ways of doing this, each will its own style and advantage. –  gleeks Feb 28 '12 at 1:28
add comment

You can use 'Contour with Barriers' tool from Surface toolset. To specify a range you have to create text file with a line of values:

-3000 0 A B

where A is contour interval and B is indexed contour. The path to this file should be specified in 'File Containing Contour Value Specifications' field.

For example for values:

-3000 0 500 0

a polyline layer will be created with contour interval 500.

You can find more information in the tool help.

share|improve this answer
    
Just to be clear: is it the case that you are not proposing using any barriers at all, but just suggesting this tool because it (almost incidentally) allows user-specified limits on the contour range? (There's nothing the matter with that; I think it's a clever solution.) –  whuber Feb 23 '12 at 15:40
    
@whuber I mentioned this tool as it's flexible and generic. And of course in this case there're no barriers. 'Contour List' tool is also ok when one has to type only several contour values (but it has no option to specify interval). –  Marcin Feb 24 '12 at 7:28
    
thanks, marcin. this is very useful, especially if i have a few sets of contouring range with diff intervals to run in a single grid. –  gleeks Feb 28 '12 at 1:18
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.