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 am comparing a raster with a constant value by raster calculator. Now I want to do this in a c# code.

Question

Is there any process to do this kind of raster conditional comparison in .net?

share|improve this question
add comment

2 Answers

I think you're referring to the RasterConditionalOp CoClass

A mechanism for performing conditional operations on rasters.

You might want to bookmark the ArcObjects SDK site for future reference :)

share|improve this answer
    
RasterConditionalOp Coclass has some thing like that. But there is no argument that takes whereClause or does some work based on query. –  Emi Oct 8 '12 at 8:52
    
In python arcpy gives a lot support for raster operation. raster calculator, different spatial analyst methods can be called from python. Can those work done by .net? –  Emi Oct 8 '12 at 8:52
    
Please read the docs. It's on the link on my answer. –  R.K. Oct 8 '12 at 9:12
add comment
up vote 1 down vote accepted

Finally I got my answer. I thought it would be good if I answer the question.

ILogicalOp Interface is the interface for raster comparison. This interface has all method for comparison.

share|improve this answer
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.