[GRASS-user] Re: Can't create location from file
Daniel Victoria
daniel.victoria at gmail.com
Sat Jun 16 09:55:18 EDT 2007
Just an update.
I just noticed that grass is looking for the epsg file in
/usr/local/share/proj and it's installed in /usr/share/proj. Could
that be related? Also, the geotiff has several epsg codes in it and
the only one valid is 4326. If I create a location with this EPSG code
all goes fine. If I use the others, a tmp.<somenumber> directory is
created.
Thanks
Daniel
On 6/16/07, Daniel Victoria <daniel.victoria at gmail.com> wrote:
> Hi all,
>
> I installed grass 6.2.1 from the ubuntu packages provide by les-ejk
> and I'm trying to create a location from a MODIS geotiff with no
> success. I select the tif file, click on create location, a black
> screen quickly flashes and Grass tells me it needs to shut down. But
> the location is not created.
>
> The geotiff was created using the Modis Reprojection Tool. gdalinfo on
> the geotiff file gives me:
>
> daniel at mancalinha:~/modis$ gdalinfo importada/lai.2007.01.01.Lai_1km.tif
> Driver: GTiff/GeoTIFF
> Size is 1307, 1196
> Coordinate System is:
> GEOGCS["WGS 84",
> DATUM["WGS_1984",
> SPHEROID["WGS 84",6378137,298.2572235629972,
> AUTHORITY["EPSG","7030"]],
> AUTHORITY["EPSG","6326"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4326"]]
> Origin = (-60.921414118540142,-0.004182589339916)
> Pixel Size = (0.008365178679831,-0.008365178679831)
> Metadata:
> AREA_OR_POINT=Point
> TIFFTAG_SOFTWARE=MODIS Reprojection Tool v3.3a January 2006
> Corner Coordinates:
> Upper Left ( -60.9214141, -0.0041826) ( 60d55'17.09"W, 0d 0'15.06"S)
> Lower Left ( -60.9214141, -10.0089363) ( 60d55'17.09"W, 10d 0'32.17"S)
> Upper Right ( -49.9881256, -0.0041826) ( 49d59'17.25"W, 0d 0'15.06"S)
> Lower Right ( -49.9881256, -10.0089363) ( 49d59'17.25"W, 10d 0'32.17"S)
> Center ( -55.4547699, -5.0065594) ( 55d27'17.17"W, 5d 0'23.61"S)
> Band 1 Block=1307x1 Type=Byte, ColorInterp=Gray
> daniel at mancalinha:~/modis$
>
> Any clues?
> If I try the same with the original hdf file the same problem happens
>
> Thanks
> Daniel
>
More information about the grass-user
mailing list