Can gdal_translate be used in conjunction with a tileindex shapefile to create tiles?
Can gdal_translate be used to cut out a portion of an image and translate it at the same time? Kevin -----Original Message----- From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Behalf Of Ryan Ollerenshaw Sent: Thursday, August 17, 2006 2:23 PM To: [email protected] 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 ... ...
