[mapserver-users] areas of high res

TC Haddad tchaddad at gmail.com
Tue Feb 2 18:10:40 EST 2010


use two different tile indexes and use  MIN- and MAXSCALEDENOM to control
when they are each used.

presumably you already have one tileindex working for the nationwide 500,000
scale images?

so make a second one that is a compound index - looks like the above, but
also includes the footprints of the 250,000 areas (replacing the 500,000
references in those areas). Switch between the two something like this:

LAYER
  NAME "Overview Imagery"
  STATUS OFF
  TYPE RASTER
  TILEINDEX "img_index_500k"
  TILEITEM "PATH"
  MINSCALEDENOM 300001
END

LAYER
  NAME "Detailed Imagery"
  STATUS OFF
  TYPE RASTER
  TILEINDEX "img_index_250k"
  TILEITEM "PATH"
  MAXSCALEDENOM 300000
END








On Tue, Feb 2, 2010 at 1:34 PM, Wendell Turner <wendell at enflight.com> wrote:

The base layer of my map has full coverage of the US at a
> scale of 1:500,000.  That works fine.  I have some areas of
> detail that have tif files at a scale of 1:250,000.  What do
> I put in the mapfile to say 'use high res if available for
> this tile, otherwise use the low res one'?
>
> Thanks,
>
> Wendell
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100202/38225134/attachment.html


More information about the mapserver-users mailing list