[GRASS-user] problem in getting r.in.gdal to work

Umberto Filippo Minora umbertofilippo at tiscali.it
Wed Aug 13 12:27:07 PDT 2014


Il 13/08/2014 20:52, César Augusto Ramírez Franco ha scritto:
> What does the output of gdalinfo 
> /home/umberto/Documenti/unimi/ppg/summer_at_home/debris/Debris_Mask.tif say? 
> Is it a valid GeoTIFF file?
>
>
> 2014-08-13 13:04 GMT-05:00 Umberto Filippo Minora 
> <umbertofilippo at tiscali.it <mailto:umbertofilippo at tiscali.it>>:
>
>     Il 13/08/2014 19:11, Umberto Filippo Minora ha scritto:
>>     I am having problem in importing tif rasters in GRASS.
>>     When I try a command like
>>
>>         r.in.gdal input= raster1 output= raster2
>>
>>     being "raster1" my .tif file (I can open it in qgis), the console
>>     outputs this message
>>
>>         ERROR 4: `/home/umberto/Documenti/unimi/ppg/summer_at_home/d
>>         ebris/Debris_Mask.tif' not recognised as a supported file
>>         format.
>>
>>     What would be the problem in my case?
>>     I am a very beginner user of GRASS, hope someone could help me.
>>     _______________________________________________
>>     grass-user mailing list
>>     grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
>>     http://lists.osgeo.org/mailman/listinfo/grass-user
>     Sorry, I have to correct my thread.
>     Raster don't open neither in qgis.
>     I think there should be problems in the GDAL dependencies, since I
>     tried to remove and re-install GRASS, qgis, and GDAL for another
>     problem (thus creating this new one in the thread).
>     Would it be a solution to remove everything again and re-install
>     again? Moreover, I performed a GDAL installation in the 2013 using
>     this script <https://gist.github.com/lossyrob/4348503>, and I am
>     used to remove my packages using these command lines from terminal:
>
>         sudo apt-get remove --purge package
>         sudo apt-get autoremove
>         sudo aptutude remove packagename
>
>     Would it be possible that having run that script would consist in
>     some sort of file still remaining un-removed which could create
>     any conflicts?
>     Any help would be really appreciated.
>
>     _______________________________________________
>     grass-user mailing list
>     grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
>
>
> -- 
> *César Augusto Ramírez Franco*
> Laboratorio de Sistemas Complejos Naturales
> Escuela de Geociencias
> Facultad de Ciencias
> Universidad Nacional de Colombia - Sede Medellín
> Teléfono: (57-4) 430 9369 - 300 459 6085
mmm, strange, it gives me

ERROR 4: 
`/home/umberto/Documenti/unimi/ppg/summer_at_home/debris/Debris_Mask.tif' not 
recognised as a supported file format.

gdalinfo failed - unable to open 
'/home/umberto/Documenti/unimi/ppg/summer_at_home/debris/Debris_Mask.tif'.

I guess I modified it somehow (maybe with the same GRASS). Indeed, if I 
do the same with "Debris_Mask_2010.tif" (which is the same type of 
raster but for a different year), I get the output I would expect. I 
will try to recover my original file. Thanks for the fast response.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140813/0d06d617/attachment.html>


More information about the grass-user mailing list