Hi Hamish<br><br>I have attached the information asked for below. The region is pretty much as I entered it. It is just a test, so I know the resolution is too low for real work. I had some finger trouble with the datum, but it seems to have defaulted to WGS84, which is right. <br>
<br>I see I have two different versions of libgdal installed. Should I uninstall the additional libgdal with "sudo apt-get uninstall ..."? And should gdal-bin and libgdal1-dev be uninstalled as well?<br><br>Thanks <br>
Brendon<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 15 Nov 2008 22:28:31 -0800 (PST)<br>
From: Hamish <<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>><br>
Subject: Re: [GRASS-user] "Error setting region" on Grass startup<br>
</blockquote><div>... <br>brendon wolff-piggott wrote:<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I have installed Grass 6.3 on Ubuntu 8.04 from deb<br>
> <a href="http://les-ejk.cz/ubuntu/" target="_blank">http://les-ejk.cz/ubuntu/</a> hardy multiverse. Every time I<br>
> start Grass and select a location and mapset I get "error setting<br>
> region" and "child process exited abnormally".<br>
><br>
> >From googling around this seems to have to do with Gdal not being<br>
> installed. So I did "sudo apt-get install gdal-bin", based on<br>
> <a href="http://www.perrygeo.net/wordpress/?p=119" target="_blank">http://www.perrygeo.net/wordpress/?p=119</a>.<br>
<br>
right.<br>
<br>
> I still have the same problem in Grass and no plain gdal<br>
> executable in usr/bin (gdalinfo, gdal_translate, gdalwarp etc).<br>
</blockquote><div><br>Just to make this clear - I have all the utilities in brackets<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
what does "g.region -p" from the GRASS terminal prompt say?<br>
</blockquote><div><br>GRASS 6.3.0 (Geographic_WGS84):/usr/bin > g.region -p<br>projection: 3 (Latitude-Longitude)<br>zone: 0<br>datum: ** unknown (default: WGS84) **<br>ellipsoid: wgs84<br>north: 22:07:30.108S<br>
south: 34:50:03.012S<br>west: 16:27:06.804E<br>east: 32:56:41.928E<br>nsres: 0:38:07.6452<br>ewres: 0:49:28.7562<br>rows: 20<br>cols: 20<br>cells: 400<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
what does "dpkg -l | grep gdal" say?<br>
</blockquote><div><br>GRASS 6.3.0 (Geographic_WGS84):/usr/bin > dpkg -l | grep gdal<br>ii gdal-bin 1.5.1-3 Geospatial Data Abstraction Library - Utilit<br>
ii libgdal1-1.4.0 1.4.4-1ubuntu3 Geospatial Data Abstraction Library<br>ii libgdal1-1.4.0-grass 1.4.4-1 GRASS extension for the Geospatial Data Abst<br>
ii libgdal1-1.5.0 1.5.1-3 Geospatial Data Abstraction Library<br>ii libgdal1-dev 1.5.1-3 Geospatial Data Abstraction Library - Develo<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
> Should I uninstall Grass and reinstall, or do I need<br>
> another version of gdal??<br>
<br>
You need the version of GDAL that your grass binaries were built with/for.<br>
you can tell that with ldd, try this from the GRASS terminal prompt:<br>
ldd $GISBASE/lib/libgrass_vect.so | grep gdal</blockquote><div> </div><div>GRASS 6.3.0 (Geographic_WGS84):/usr/bin > ldd $GISBASE/lib/libgrass_vect.so | grep gdal<br> libgdal1.4.0.so.1 => /usr/lib/libgdal1.4.0.so.1 (0xb7a10000) <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Hamish<br>
<br>
</blockquote></div><br>