Jump to content

arcgis raster calculator error


Alexey

Recommended Posts

Hi,

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 comment
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 :

http://forums.arcgis.com/threads/21664-con-function-use-in-the-raster-calculator

and

http://forums.arcgis.com/threads/14493-Raster-Calculator-CON-statement

hope it help

Link to comment
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.

Guest
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.

Disable-Adblock.png

 

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