[mapserver-users] areas of high res

Wendell Turner wendell at enflight.com
Tue Feb 2 18:34:05 EST 2010


On Tue, Feb 02, 2010 at 06:23:01PM -0500, Christopher Schmidt wrote:
> On Tue, Feb 02, 2010 at 03:10:40PM -0800, TC Haddad wrote:
> > use two different tile indexes and use  MIN- and MAXSCALEDENOM to control
> > when they are each used.

Is that done by listing the higher res layer items after the
lower res itesm in the arguments to gdaltindex?  That appears
to work, but is it loading tiles twice where the high res
areas are?

P.s., thanks for all the responses.

> Or just don't use min/max at all, and just paint over the lower res 
> layers with the higher res layers.
> 
> -- Chris 
> 
> > 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
> > >
> 
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
> -- 
> Christopher Schmidt
> MetaCarta


More information about the mapserver-users mailing list