Re: how to tile just a region of interest in the image

59 views
Skip to first unread message

Petr Pridal

unread,
May 23, 2013, 4:54:27 PM5/23/13
to mapt...@googlegroups.com
You can clip a part of your input image with any standard GIS software and produce a separate GeoTIFF file and render just this one.

The same can be done with GDAL, command such as gdal_translate (http://www.gdal.org/gdal_translate.html).

See the -srcwin for defining your are in pixel coordinates and the -projwin for defining it it geographical coordinates.

Use of "-of vrt" can be helpful as well. The resulted files are processable with MapTiler or GDAL2TIles.

Petr

On Thursday, May 23, 2013 1:27:00 PM UTC+2, Pop Expangea wrote:
Hello

I have tried maptiler and it is a nice piece of software, very useful

However, I wonder if it is possible to avoid it processing the whole source image, when I am interested in just an area of the image.

Figure out my image covers a large area, but I am only needing a certain part of it (lets say I want the tiles for the city in the center of my image).
Do I have to process the whole image, killing my notebook all the night long to produce 8 GB of tiles ... when I only need 50 MB.

How can I tell maptiler to produce just the tiles covering a certain lat/lon box?  
Is it possible?

(if maptiler cannot do this, I am interested in knowing if gdal2tiles can) 
Reply all
Reply to author
Forward
0 new messages