[GRASS-user] GTiff export

Dylan et. al, Can I encourage people to add the kind of information in your website the grass frequently asked questions section? Your link is to a web page that looks like a really useful set of directions but would be hard for outsiders to find.

Just a thought.

Jerry

---- Original message ----

Date: Mon, 18 Dec 2006 11:13:05 -0800
From: Dylan Beaudette <dylan.beaudette@gmail.com>
Subject: Re: [GRASS-user] GTiff export
To: grassuser@grass.itc.it

On Monday 18 December 2006 08:05, Raffaele Morelli wrote:

Hi,

I got two raster files imported in Grass using r.in.gdal, one represents a
dem, the other is a "drape". (the files originated from ArcGIS)
I am setting up a WebGis app (apache, mapserver, php_mapscript) and need a
tiff layer to represent elevation and have a image background to put my
vectors/points on.

I tried to export the dem file with r.out.gdal, but I obtain something
similar to a negative a b/w image with no colors!
Tried several 'createopt' but still with no success.
With Grass6.2 everything looks fine.

Whats' wrong? Should I merge the two raster files first?
I am not a "GIS geek" so any kind of help will be appreciate.

thanx
raffaele

Hi,

I have had similar problems in the past. Here are some ideas that I posted a
while back:
http://casoilresource.lawr.ucdavis.edu/drupal/node/337

Note that r.out.gdal has been updated since I posted these notes. Also- I have
had the best luck using arcinfo (command line) directly to import geotiff
files:

imagegrid * * * *

cheers,

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801

Jerry,

Indeed. I feel the same way. i will work toward migrating much of my notes to
the GRASS wiki in the near future!

cheers,

dylan

On Monday 18 December 2006 11:52, Gerald Nelson wrote:

Dylan et. al, Can I encourage people to add the kind of information in your
website the grass frequently asked questions section? Your link is to a web
page that looks like a really useful set of directions but would be hard
for outsiders to find.

Just a thought.

Jerry

---- Original message ----

>Date: Mon, 18 Dec 2006 11:13:05 -0800
>From: Dylan Beaudette <dylan.beaudette@gmail.com>
>Subject: Re: [GRASS-user] GTiff export
>To: grassuser@grass.itc.it
>
>On Monday 18 December 2006 08:05, Raffaele Morelli wrote:
>> Hi,
>>
>> I got two raster files imported in Grass using r.in.gdal, one represents
>> a dem, the other is a "drape". (the files originated from ArcGIS) I am
>> setting up a WebGis app (apache, mapserver, php_mapscript) and need a
>> tiff layer to represent elevation and have a image background to put my
>> vectors/points on.
>>
>> I tried to export the dem file with r.out.gdal, but I obtain something
>> similar to a negative a b/w image with no colors!
>> Tried several 'createopt' but still with no success.
>> With Grass6.2 everything looks fine.
>>
>> Whats' wrong? Should I merge the two raster files first?
>> I am not a "GIS geek" so any kind of help will be appreciate.
>>
>> thanx
>> raffaele
>
>Hi,
>
>I have had similar problems in the past. Here are some ideas that I posted
> a while back:
>http://casoilresource.lawr.ucdavis.edu/drupal/node/337
>
>Note that r.out.gdal has been updated since I posted these notes. Also- I
> have had the best luck using arcinfo (command line) directly to import
> geotiff files:
>
>imagegrid * * * *
>
>cheers,
>
>--
>Dylan Beaudette
>Soils and Biogeochemistry Graduate Group
>University of California at Davis
>530.754.7341
>
>_______________________________________________
>grassuser mailing list
>grassuser@grass.itc.it
>http://grass.itc.it/mailman/listinfo/grassuser

Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

Gerald Nelson wrote:

>I have had similar problems in the past. Here are some ideas that I
>posted a while back:
>http://casoilresource.lawr.ucdavis.edu/drupal/node/337

-co COMPRESS=DEFLATE \

fwiw, I needed to use COMPRESS=PACKBITS to get ArcView 3.1 to read a
GeoTIFF made with r.out.gdal.

see also the r.out.arc help page examples.

Hamish