Jump to content

arcgis raster calculator error

Recommended Posts


I'm new to this board so i dont really know if im right in this thread or if you need more information.

I have to classify a rasterlayer of rivers. So i use the Raster Calculator with the code:

Con("riverclass1", 2,"riverclass1","(Value >= 40000) & (Value < 300000)")

But it gives me the Error: invalid sql statement used.

I only learned java so i dont really know the python syntax. So is the Syntax  wrong or some other stuff broke?

Thank you

Link to post
Share on other sites

hem, try to define data in this case riverclass1 and the condition you want to classified and define the class after it

some example of this Con function :




hope it help

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.



If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist