POST
|
Hi Dan, Thanks for your reply and your assistance. I think I have a clearer picture on how the new syntax works in Raster Calculator. Do you have any suggestions on this formula? nbgrs = Con(( �??caca2fm40�?� < 100 ) & ( �??caca2fmc�?� > 100 & �??caca2fmc�?� < 120 ), Abs( �??caca2fm40�?� �?? �??caca2fmc�?� ), 0 ) I still get a "Pythox syntax error: Parsing error" message. What I'm trying to do is find the grid cell values that occupy the same location in 2 raster data layers ("caca3fm40" and "caca2fmc") that match the stated criteria and then perform an Abosolute math process on them (subtraction) and then save the results in a raster named "nbgrs". Thanks again! Best regards, - Craig
... View more
06-03-2011
08:11 AM
|
0
|
0
|
545
|
POST
|
I have a Map Algebra formula that works perfectly in the old Spatial Analyst Raster Calculator in 9.3.1 that has a Python error (Python syntax error: Parsing error : invalid syntax) in 10.0 Not sure if the syntax needs revision or what. I also have multiple rasters being created by the script and wasn't sure how the changes in the new Raster Calculator would handle them. Here is a sample of the formula: [nbgrs] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 100 AND [caca2fmc] < 120 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) [nbgsh] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 120 AND [caca2fmc] < 140 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) [nbshb] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 140 AND [caca2fmc] < 160 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) [nbtbu] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 160 AND [caca2fmc] < 180 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) [nbtbl] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 180 AND [caca2fmc] < 200 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) [nbslb] = CON(( [caca2fm40] < 100 ) AND ( [caca2fmc] > 200 ), ABS( [caca2fm40] - [caca2fmc] ), 0 ) outnonbrn = ( [nbgrs] + [nbgsh] + [nbshb] + [nbtbu] + [nbtbl] + [nbslb] ) Any help would be definitely appreciated! 😄 😞 I've read about why the changes to Raster Calculator were applied to 10.0 which I found troubling (especially when it was stated that most of the user community has accepted and has adapted to the new Raster Calculator). I work in a multi-agency federal government environment with several hundred users and we definitely have not adapted!! This leads me to the fact that this decision was not thought out well and did not have a majority of users in support! :confused:
... View more
06-02-2011
01:53 PM
|
0
|
7
|
654
|
POST
|
Hello All, I've created a couple Map Services and loaded them onto the 'My Contents' location within ArcGIS.com The first one I uploaded a few weeks ago and I was able to use the "Open in ArcGIS.com viewer" to then create a Web Map which ultimately open up in ArcExplorer Online. In ArcExplorer Online I then create queries that allow the user to 'zoom to' the extent of the satisfied query. Yesterday, the second Map Service loaded up to the My Contents section of ArcGIS.com just fine but when I try to open it up using the "Open in ArcGIS.com viewer" option I get an "Error on page" notification from Internet Explorer. I enter just the URL of my map service to view the informational page and then use the open in ArcExplorer Online selection which it does also just fine. The propblem I'm having is that any query I create in ArcExplorer Online won't allow the 'zoom to' feature to work with any query results. Any thoughts? Cheers and thanks for any replies, - Craig
... View more
05-26-2011
12:59 PM
|
0
|
2
|
455
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|