[GRASS-dev] Strange import of .asc

2013-01-14 Thread Paolo Cavallini
Hi all. Importing an .asc file (with -o) results in a raster which is not aligend with the original. When vectorizing it, the vector is aligned with the original, not with the imported one. Original file and GRASS Location, with imported raster and resulting vector, here: https://www.dropbox.com

Re: [GRASS-dev] Strange import of .asc

2013-01-14 Thread Helmut Kudrnovsky
Hi Paolo, >Importing an .asc file (with -o) results in a raster which is not aligend with the >original. >Anyone confirms? gdalinfo 23B07.asc Driver: AAIGrid/Arc/Info ASCII Grid Files: 23B07.asc Size is 1640, 1240 Coordinate System is `' Origin = (1568780.000,4896020.000)

Re: [GRASS-dev] Strange import of .asc

2013-01-14 Thread Paolo Cavallini
Il 14/01/2013 15:51, Helmut Kudrnovsky ha scritto: > Hi Paolo, > the extent seems to be the same? yes - have you tired displaying it under the vector? additionally, in qgis-dev I get errors querying the raster: 168 bytes expected but 320 byte were read from qgis.d.rast thanks a lot for your h

Re: [GRASS-dev] Strange import of .asc

2013-01-14 Thread Helmut Kudrnovsky
>yes - have you tired displaying it under the vector? yes, the newly imported raster and also your raster delivered with the location are aligned with the vector. I've also tested a raster link with r.external, this linked is also aligned to the vector. HTH - best regards Helmut -- View

Re: [GRASS-dev] Strange import of .asc

2013-01-15 Thread Paolo Cavallini
Il 14/01/2013 20:17, Helmut Kudrnovsky ha scritto: >> yes - have you tired displaying it under the vector? > > yes, the newly imported raster and also your raster delivered with the > location are aligned with the vector. > > I've also tested a raster link with r.external, this linked is also al

Re: [GRASS-dev] Strange import of .asc

2013-01-15 Thread Paolo Cavallini
Il 14/01/2013 20:17, Helmut Kudrnovsky ha scritto: >> yes - have you tired displaying it under the vector? > > yes, the newly imported raster and also your raster delivered with the > location are aligned with the vector. > > I've also tested a raster link with r.external, this linked is also al

Re: [GRASS-dev] Strange import of .asc

2013-01-15 Thread Helmut Kudrnovsky
> I get this strange artifact (both on GRASS and on QGIS GUIs) here on my side it's aligned, see attached screenshot (your vector and an imported raster of your asc-file). screenshot.png >I suppose as a consequence of >this,

Re: [GRASS-dev] Strange import of .asc

2013-01-15 Thread Paulo van Breugel
Hi Paolo I have imported your layers in grass 6.4 and the vector and both the rasters (original and the asci after import) align perfectly well. I tried the same in grass 7.0, with the same result. Cheers, Paulo On 01/15/2013 10:43 AM, Paolo Cavallini wrote: Il 14/01/2013 20:17, Helmut

Re: [GRASS-dev] Strange import of .asc

2013-01-15 Thread Paolo Cavallini
Il 15/01/2013 14:42, Paulo van Breugel ha scritto: > Hi Paolo > > I have imported your layers in grass 6.4 and the vector and both the rasters > (original and the asci after import) align perfectly well. I tried the same > in grass > 7.0, with the same result. Thanks a lot to both of you for che

Re: [GRASS-dev] Strange import of .asc

2013-01-18 Thread Radim Blazek
On Tue, Jan 15, 2013 at 10:27 AM, Paolo Cavallini wrote: > Il 14/01/2013 20:17, Helmut Kudrnovsky ha scritto: >>> yes - have you tired displaying it under the vector? >> >> yes, the newly imported raster and also your raster delivered with the >> location are aligned with the vector. >> >> I've al

Re: [GRASS-dev] Strange import of .asc

2013-01-18 Thread Paolo Cavallini
Il 18/01/2013 11:55, Radim Blazek ha scritto: > > GRASS GUI? Could you try with pure GRASS d.mon, d.rast, d.vect? The > problem could be the same as in QGIS, lost window precision. > It was in fact a QGIS bug, beautifully fixed by Radim. Thanks, and sorry for the noise. -- Paolo Cavallini - Fauna