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.

The default value is 1 and I have salinity values from 33 to 35 and therefore only contours 34 and 35 can be created with the contour interval 1... But I want it smaller so I can see contours 34.1, 34.2, .... 34.9, 35.0.....

share|improve this question
2  
What is the data type of your salinity raster? is it integer? that might explain the problem if any. –  Devdatta Tengshe Feb 8 '13 at 3:12
add comment

2 Answers

The Contour tool in Spatial Analyst will work with any positive number, including decimals, entered into the Contour interval field. If you expand the Show help button at the bottom of the tool dialog box, and click in the Contour interval field, the help dialog will state: "The interval, or distance, between contour lines. This can be any positive number."

In your specific situation, you can simply enter "0.1" as the contour interval and the output will consist of contour lines in one-tenth increments as you describe.

share|improve this answer
    
+1 Welcome to our site! –  whuber Feb 7 '13 at 23:05
    
@whuber Thanks, this place is a great resource. I've made a couple of anonymous contributions in the past, figured I go legitimate and start reaping the rewards! –  JWallace Feb 7 '13 at 23:23
    
I see you have four accounts! Why don't you merge them and collect all your reputation in one place? Go to gis.stackexchange.com/help/user-merge and just fill out the form. –  whuber Feb 7 '13 at 23:41
add comment

I figured out what was causing the Issue. I had already tried entering "0.1" and it did not want to work. I later found out that "0,1" worked because I am working on a laptop with European locale. Most European Locale use comma instead of dot for a decimal separator.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  iant Feb 8 '13 at 13:20
    
@iant How does this not answer the question? It seems to me that it resolves it--especially as the answer comes from the OP! –  whuber Feb 8 '13 at 17:29
    
@whuber - it's more of a comment than an answer –  iant Feb 10 '13 at 16:21
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.