Error: ERROR 000539: Error running expression: rcexec()
【相关信息】
Article ID: 41859
Software:
ArcGIS for Desktop Advanced 10.1, 10.2
ArcGIS for Desktop Standard 10.1, 10.2
ArcGIS for Desktop Basic 10.1, 10.2
Platforms:
Windows XP, Server 2003, Vista, Server 2008, Windows 7, Server 2012, Server 2008 R2
【错误信息】
When running a Python script exported from ModelBuilder that includes a Raster Calculator function, the code fails because it is not able to run the rcexec() expression. The following error message is returned:
"ERROR 000539: Error running expression: rcexec()"
【错误原因】
This error is due to Raster Calculator not being exposed to Python as a tool. Currently, Raster Calculator is only exposed as a geoprocessing tool in ArcGIS or in ModelBuilder. However, there are a number of different ways to use Raster Calculator functions in Python.
Article ID: 41859
Software:
ArcGIS for Desktop Advanced 10.1, 10.2
ArcGIS for Desktop Standard 10.1, 10.2
ArcGIS for Desktop Basic 10.1, 10.2
Platforms:
Windows XP, Server 2003, Vista, Server 2008, Windows 7, Server 2012, Server 2008 R2
【错误信息】
When running a Python script exported from ModelBuilder that includes a Raster Calculator function, the code fails because it is not able to run the rcexec() expression. The following error message is returned:
"ERROR 000539: Error running expression: rcexec()"
【错误原因】
This error is due to Raster Calculator not being exposed to Python as a tool. Currently, Raster Calculator is only exposed as a geoprocessing tool in ArcGIS or in ModelBuilder. However, there are a number of different ways to use Raster Calculator functions in Python.
2 个回复
易智瑞技术支持
赞同来自:
This example shows how Python can use the Spatial Analyst Math toolset to perform mathematic functions on raster datasets, in a stand-alone script that can be run outside of the arcmap process.
1. Open a Python IDE.
2. Create a Python script using the Math toolset function.
Sample using the Minus function:
3. Run the Python script.
【创建及修改时间】
Created: 12/9/2013
Last Modified: 12/9/2013
【原文链接】
http://support.esri.com/en/kno ... 41859
nfc - GISer
赞同来自:
Operator System is XP sp3,
ArcGIS 10.1
How do I understand It?
要回复问题请先登录或注册
发起人
相关问题
问题状态