-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS 3.2.3 Bonn and GRASS 7. r.texture does not provide any output. #27967
Comments
Author Name: Giovanni Manghi (@gioman) Can you provide some sample data we can use with this tool?
|
Author Name: Giovanni Manghi (@gioman) it worked here (with a random raster): the output (the tool ask for a folder path) must be specified, then inside the folder the tiff is created but not added to the project automatically. The output for this tool is a folder or a file? |
Author Name: Giovanni Manghi (@gioman) yeah... there are a bunch of GRASS tools that can output multiple rasters... so the solution in Processing is to make the output a folder... |
Author Name: Odysseas Vl (Odysseas Vl) Giovanni Manghi wrote:
Thanks for the input, but I have specified the output folder (C:\Users...\textures). Did you accurately reproduce the issue? Same OS, same QGIS version etc? |
Author Name: Jürgen Fischer (@jef-n)
LOG outputs are like this: Suspicious message "r was unexpected at this time." @
@ LOG outputs are like this: Suspicious message "r was unexpected at this time." Processing algorithm… Algorithm 'r.texture' starting… Input parameters: { '-a' : False, '-s' : False, 'GRASS_REGION_CELLSIZE_PARAMETER' : 0, 'GRASS_REGION_PARAMETER' : None, 'distance' : 1, 'input' : 'C:/Users/.../AppData/Local/Temp/processing_b31ae406d97346319858b8acfa3fe9ea/d40ba480206c44e1855a50ce4442b154/output.tif', 'method' : [0], 'output' : 'C:\Users\...\textures', 'size' : 3 } g.proj -c proj4="+proj=utm +zone=...+datum=WGS84 +units=m +no_defs" r.external input="C:\Users...\AppData\Local\Temp\processing_b31ae406d97346319858b8acfa3fe9ea\d40ba480206c44e1855a50ce4442b154\output.tif" band=1 output="rast_5bc7529c4be7121" --overwrite -o g.region n=...s=...e=...w=... res=0.08917000000001485 r.texture input=rast_5bc7529c4be7121 method="asm" size=3 distance=1 output=output0721b2f6bc07456a8304b894c5bcf6e4 --overwrite for r in $(g.list type=rast pattern='output0721b2f6bc07456a8304b894c5bcf6e4*'); do r.out.gdal -m -t input=${r} output=C:\Users...\textures/${r}.tif --overwrite -c createopt="TFW=YES,COMPRESS=LZW" done Starting GRASS GIS... WARNING: Concurrent mapset locking is not supported on Windows Executing ... C:\OSGEO4~1\bin>chcp 1252 1>NUL C:\OSGEO4~1\bin>g.proj -c proj4="+proj=utm +zone=...+datum=WGS84 +units=m +no_defs" Default region was updated to the new projection, but if you have multiple mapsets g.region -d should be run in each to update the region from the default Projection information updated C:\OSGEO4~1\bin>r.external input="C:\Users...\AppData\Local\Temp\processing_b31ae406d97346319858b8acfa3fe9ea\d40ba480206c44e1855a50ce4442b154\output.tif" band=1 output="rast_5bc7529c4be7121" --overwrite -o Over-riding projection check Reading band 1 of 1... r.external complete. Link to raster map created. C:\OSGEO4~1\bin>g.region n=...s=... e=...w=... res=0.08917000000001485 C:\OSGEO4~1\bin>r.texture input=rast_5bc7529c4be7121 method="asm" size=3 distance=1 output=output0721b2f6bc07456a8304b894c5bcf6e4 --overwrite Reading raster map... Calculating Angular Second Moment... 2..5..8..11..14..17..20..23..26..29..32..35..38..41..44..47..50..53..56..59..62..65..68..71..74..77..80..83..86..89..92..95..98..100 r was unexpected at this time. C:\OSGEO4~1\bin>for r in $(g.list type=rast pattern='output0721b2f6bc07456a8304b894c5bcf6e4*'); do Execution of finished. Cleaning up temporary files... Press any key to continue . . . Starting GRASS GIS... WARNING: Concurrent mapset locking is not supported on Windows Executing ... C:\OSGEO4~1\bin>chcp 1252 1>NUL r was unexpected at this time. C:\OSGEO4~1\bin>for r in $(g.list type=rast pattern='output0721b2f6bc07456a8304b894c5bcf6e4*'); do Execution of finished. Cleaning up temporary files... Press any key to continue . . . Execution completed in 7.08 seconds Results: {'output': 'C:\Users\...\textures'} Loading resulting layers Algorithm 'r.texture' finished |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Odysseas Vl (Odysseas Vl)
Original Redmine Issue: 20146
Affected QGIS version: 3.2.3
Redmine category:processing/grass
QGIS 3.2.3 Bonn and GRASS 7. r.texture does not provide any output. Not in temp folders, not in user defined folders.
I have tried the function in Windows 10 64bit. On the same systems, QGIS 2.18 provided the outputs fine.
LOG outputs are like this:
Suspicious message "r was unexpected at this time."
Related issue(s): #25905 (duplicates), #28102 (duplicates)
Redmine related issue(s): 18009, 20281
The text was updated successfully, but these errors were encountered: