Error in getting RMS output file with Trend analysis (ArcGIS Pro)

738
3
11-25-2022 02:40 PM
Shwarnali
New Contributor

I am experiencing errors when I am trying to obtain surface trends with RMS output file in ArcGIS Pro Spatial Analyst tool.  However, there is no problem obtaining trend raster without RMS outfile file. Howe can I solve the issue?

Here is the following error:

Trend
=====================
Parameters

Input point features pnt_elevation
Z value field RASTERVALU
Output raster E:\Project6.2\Project6.gdb\Trend2
Output cell size 0.220765384089202
Polynomial order 2
Type of regression LINEAR
Output RMS file E:\Project6.2\rms2.TXT
=====================
Messages

Start Time: Friday, November 25, 2022 4:20:53 PM
ERROR 010328: Syntax error at or near symbol ).
ERROR 010267: Syntax error in parsing grid expression.
Failed to execute (Trend).
Failed at Friday, November 25, 2022 4:20:53 PM (Elapsed Time: 0.29 seconds)

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

Moved to the Arcgis Spatial Analyst Question space


... sort of retired...
0 Kudos
DanPatterson
MVP Esteemed Contributor

Try a different folder than ... E:\Project6.2\rms2.TXT

punctuation in file paths can cause issues.

But you might want to specify your inputs, if this is the tool you are using

Trend (Spatial Analyst)—ArcGIS Pro | Documentation


... sort of retired...
0 Kudos
PrashantThapaliya
New Contributor

I was also having the same issue, I had space in the file path.

Solution - The path of the text file should not have any spaces or punctuation.

0 Kudos