Tiling and Image
Mark Howard
mhoward at AKIMEKA.COM
Thu Aug 17 11:49:52 PDT 2006
Doesn't this make INTRNAL tiles?
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Ryan Ollerenshaw
Sent: Thursday, August 17, 2006 8:23 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Tiling and Image
Ryan Ollerenshaw wrote:
> I have a large global dataset that i would like to break into smaller
> tiles (individual files, not internal tiles). I know this can be done
> with imagemagick but that rout seems rather complicated, isnt there
> some gdal utility out there that i can use.
>
Sorry for yet another repost, solution:
## Create internal tiles
gdal_translate -co TILED=YES old.tif new_tiled.tif
## cut out a chunk of an image, assigning appropriate georeferencing
## as always gdal uses top left and lower right corners of the image
gdal_translate -srcwin 0 0 2000 2000 in.tif out_0_0.tif
gdal_translate -srcwin 2000 0 2000 2000 in.tif out_1_0.tif
...
...
More information about the MapServer-users
mailing list