This is still an issue with 10.0.3.....
Greetings, This issue has been logged as a bug in ArcGIS 10. We will do our best to get a resolution to this issue in an upcoming service pack. Please feel free to let us know about any additional information you feel is relevant to this bug.Here is the bug ID and synopsis: NIM070461: The Region Group tool may produce unexpected output - the data may have an anomaly whereby there are striped bands across the output. This happens when the input is fairly large. Thanks Pavan
Having submitted quite a few bugs to ESRI over the years, I am frankly a bit... jaded... and am now reluctant to submit every little issue I find (of which there are many). However, if I can't find a good work around to an issue, I will still take the time to submit a formal bug fix and repro case... In this case though, I have a good work around (keep scratch raster in GRID format).I did try to post my dataset to this thread, but it is too large (1.9 MB zipped)... A clue that helps: I can repoduce the error with my original dataset that is 8287 cols x 12513 (~30,000 unique values)rows, but when I try to repro with a smaller dataset (4913 cols x 7165 rows and 18,000 unique values - which I created in order to make some repro data small enough to post to the forum), the output result is correct (i.e. I can't reproduce the issue with the smaller dataset). Like Pavan from ESRI said, it seem to only affect "fairly large" datasets.
arcpy.env.scratchWorkspace = r"C:\Temp" junk = arcpy.sa.EucAllocation(roadGrd, "", "", "", "VALUE", "", "") eucAlocGrd = r"C:\Temp\test.gdb\euc_aloc" junk.save(eucAlocGrd) # copies "C:\Temp\raster3" to "C:\Temp\test.gdb\euc_aloc"
arcpy.env.scratchWorkspace = r"C:\Temp" arcpy.env.workspace = r"C:\Temp" junk = arcpy.sa.EucAllocation(roadGrd, "", "", "", "VALUE", "", "") eucAlocGrd = r"outgrid" junk.save(eucAlocGrd) # renames "raster3" to "outgrid"
r"C:\Temp\euc_aloc" = arcpy.sa.EucAllocation(roadGrd, "", "", "", "VALUE", "", "")
arcpy.env.workspace = r"C:\Temp" junk = arcpy.sa.EucAllocation(roadGrd, "", "", "", "VALUE", "", "") eucAlocGrd = r"C:\Temp\euc_aloc" junk.save(eucAlocGrd)
arcpy.env.workspace = r"C:\Temp\test.gdb" junk = arcpy.sa.EucAllocation(roadGrd, "", "", "", "VALUE", "", "") eucAlocGrd = r"C:\Temp\test.gdb\euc_aloc" junk.save(eucAlocGrd) #roadGrd is in Grid format BTW...
Greetings, This issue has been logged as a bug in ArcGIS 10. We will do our best to get a resolution to this issue in an upcoming service pack. Please feel free to let us know about any additional information you feel is relevant to this bug.Here is the bug ID and synopsis: NIM070461: The Region Group tool may produce unexpected output - the data may have an anomaly whereby there are striped bands across the output. This happens when the input is fairly large.
This is true at 9.3 but not at 10.0
generally, reading writing grid format in SA tools is way faster than FGDB raster format. If you use FGDB format stuff, behind the scenes it is formats to grid, runs the SA tool algorithm, and then, writes the grid output back to FGDB raster fromat. There is a lot of time that is potentially lost in all that reformating...
If you create a simple GRID you will not have any kind of mistake.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.