[mapserver-users] Fwd: Tile of tiles with tif images

Mark Korver mwkorver at gmail.com
Thu Jun 9 13:20:18 EDT 2011


Probably the part of confusion here is that there are several
strategies for increasing speed with raster base-layers.

One is to optimize the TIFS for use with standard WMS queries, the
other is to create a TMS pyramid, which essentially amounts to
pre-generating all the raster tiles before hand.

optimizing WMS with a set of large TIFs involves work with the TIFS
that may include changing the size by cutting them down to a small er
size, changing their internal structure ( internally tiling them )
adding overviews etc.

I don't use it myself, but retile.py is normally used to create a TMS
pyramid, or so I thought.

That means that when you serve these files you are using just HTTP to
access TMSed data, not MapServer.  Because you are not using MapServer
to process anything this is the quickest way to serve rasters to a
browser, same as Google maps etc.

with openlayers client the diff is

var layerName = new OpenLayers.Layer.TMS()

vs

var layerName = new OpenLayers.Layer.WMS()



On Thu, Jun 9, 2011 at 11:04 AM, Fuchs Juan Carlos
<jfuch at indec.mecon.gov.ar> wrote:
> Hi Mark,
>
> Our Goal is to get an image catalog
> with auto zoom´s in a fast delivery via a web browser
> with the tile aproach we deliver fast images with low resolution
> and only the pertinent pieces in an higher resolution...
>
> Thanks for asking, any ideas?
> -JC
>
>
> -----Mensaje original-----
> De: Mark Korver [mailto:mwkorver at gmail.com]
> Enviado el: Jueves, 09 de Junio de 2011 12:10 p.m.
> Para: Juan Carlos Fuchs
> CC: mapserver-users at lists.osgeo.org
> Asunto: Re: [mapserver-users] Fwd: Tile of tiles with tif images
>
>
> As Steve noted, if the input is TIF, then you prob want to be using
> gdaltindex rather than tile4ms.
>
>> Now we want to put them together (the Tiles),
>>  say, first,  all the tiles from the images of the same province,
>>  and later, all the tiles from the provinces of the same projection.
>
> when  re-tile.py does it's work it knows nothing about what province
> some TIF is in.  For you to be able to calculate all the tiles that
> are in the .dbf that are in some province, and I assume you are
> talking about the shapefile index produced when using retile.py, you
> would need to do a spatial query against that dbf using some political
> boundary polygon.
>
> Still, I am not sure what the goal here is.  are you trying to re-tile
> a set of TIFs to create a new group of tiles per province?
>
>
>
> On Thu, Jun 9, 2011 at 9:47 AM, Juan Carlos Fuchs
> <fuchs.juancarlos at gmail.com> wrote:
>> Subject: Tile of tiles with tif images
>> Dear Gentleman:
>>
>> Situation
>> We have a collection of images tiled with re-tile.py.
>> each record of our .dbf points to a diferent part of one tiff image.
>>
>> Now we want to put them together (the Tiles),
>>  say, first,  all the tiles from the images of the same province,
>>  and later, all the tiles from the provinces of the same projection.
>>
>> when we run tile4ms we get the following weird error
>> Aborted. Unable to open
>>
> DBF:/home/jfuch/public_html/wms/Fase8/cbers-2b-cordoba-laborde-168-b-137-4-0
> 2-may-09-img-img-tif
>>
>> If we get things right, each record in our tile file point to a different
>> part of one tiff image, but the shp file has an geometric extend for each
>> image
>> so, why didn´t this work??
>>
>> Is there an other way to get an accelerated access to very huge tiffs
> file,
>> sprengled over an big extension?
>>
>> Thanks in advance
>> Cheers
>> JC
>>
>> --
>> Juan Carlos Fuchs, arqto & mgtr.
>>
>>
>>
>>
>>
>> --
>> Juan Carlos Fuchs, arqto & mgtr.
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list