gdal_translate question

Aaron Racicot aaronr at ECOTRUST.ORG
Tue Aug 15 11:35:38 PDT 2006


Hi there Jennifer,
Just on the off chance, are you trying to create overviews in your tiff
or are you really trying to create internal tiles?  My suspicion is that
you really just want overviews (aka pyramids in the esri lingo) to speed
up Mapserver rendering...

If that is the case then you should looks at gdaladdo and specify the
levels you want the overviews to be created.  Tiff's should be fine up
to 4 gig.  http://www.remotesensing.org/gdal/gdaladdo.html

If you really do want to use gdal_translate to create internal tiles,
then please post the errors you are getting.

http://mapserver.gis.umn.edu/docs/howto/raster_data/#preprocessing-raste
rs

A

+----------------------------------------+
| Aaron Racicot  | aaronr at ecotrust.org   |
| GIS Programmer | 503.467.0759          |
+----------------------------------------+
| e c o t r u s t                        |
| Jean Vollum Natural Capital Center     |
| 721 NW Ninth Avenue                    |
| Suite 200                              |
| Portland, OR 97209                     |
| www.ecotrust.org                       |
+----------------------------------------+


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Jennifer Shanks
Sent: Monday, August 14, 2006 6:11 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] gdal_translate question


Hello,

I'm experiencing funny output with gdal_translate and I'm hoping 
someone can help me figure out what I might be doing wrong.

I have a 400mb GeoTiff hillshade file.  I'm trying to produce 
internal tiles.  I used this syntax taken from the examples:

gdal_translate -co TILED=YES original.tif tiled.tif

The resulting file has solid grey where there was supposed to be 
hillshade and black where there is no data.

If you need additional information please let me know.  Perhaps I'm 
reaching a file size limitation?

Thanks,
Jennifer


Jennifer Shanks
GreenInfo Network - 1996-2006: A Decade of Mapping the Public Interest
116 New Montgomery  Street   Suite 738  San Francisco CA  94105
PH: (415)979-0343 x306    Fax:  415-979-0371     Web:  www.greeninfo.org



More information about the MapServer-users mailing list