[mapserver-users] How to tile a large TIF image?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Apr 18 02:23:23 PDT 2008


Hi,
 
Gdal_translate program has options for you:
 
c:\FWTools>gdal_translate
Usage: gdal_translate [--help-general]
       [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
             CInt16/CInt32/CFloat32/CFloat64}] [-strict]
       [-of format] [-b band] [-outsize xsize[%] ysize[%]]
       [-scale [src_min src_max [dst_min dst_max]]]
       [-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]
       [-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
       [-gcp pixel line easting northing [elevation]]*
       [-mo "META-TAG=VALUE"]* [-quiet] [-sds]
       [-co "NAME=VALUE"]*
       src_dataset dst_dataset
 
By playing with -srcwin or possibly with -outsize and -projwin you should be able to split your image as you wish.  Read more from 
http://gdal.org/gdal_translate.html
 
-Jukka Rahkonen-
 
 



________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Stefan Schwarzer
	Lähetetty: 18. huhtikuuta 2008 12:05
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: [mapserver-users] How to tile a large TIF image?
	
	
	Hi there, 

	I would like to use instead of single large tif image smaller tiles. Although I am well aware of mapserver's and gdal's possibilities to create the shapes for it, I first need to "split" the large tif into 20 or 50 or 100 tiles.

	Can anyone give me a hint with what kind of software this is possible? 

	There is an ArcGIS script, but it doesn't work on my machine ( http://arcscripts.esri.com/details.asp?dbid=13978 ).

	Thanks for any hints,

	Stef

	
	
	 ____________________________________________________________________ 

	  

	  Stefan Schwarzer
	  
	
	  Lean Back and Relax - Enjoy some Nature Photography
	  http://photoblog.la-famille-schwarzer.de <http://photoblog.la-famille-schwarzer.de> 
	
	
	  Appetite for Global Data? UNEP GEO Data Portal:  
	  http://geodata.grid.unep.ch <http://geodata.grid.unep.ch> 
	  ____________________________________________________________________
	
	

	
	




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080418/d2c640d7/attachment.htm>


More information about the MapServer-users mailing list