[mapserver-users] PERL MINSCALE MAXSCALE display control

Daniel Morissette morissette at dmsolutions.ca
Tue Apr 16 10:36:17 PDT 2002


Joe, Steve,

Also note that there was a bug in the 3.5 release of MapServer (that was
there since the beginning of times) which caused this type of problem
with some .qix files.  This has been fixed a little while ago and the
fix is present in the current CVS version.

Try deleting your .qix file if you have one, and if the problem goes
away then you have run into this bug.  You'll have to get a recent
3.6-dev build in which this is fixed.

Daniel



Stephen Woodbridge wrote:
> 
> Joe this sounds like you might have one of the following problems:
> 
> 1) your tileindex is not right
> 2) the extents on your shp file are wrong
> 3) your shp file units or mapfile units or projection are not all
> compatible
> 4) you have an out of data *.qix file
> 
> Try setting up a test mapfile with mimimal data to make it easier to
> diagnose the problem.
> 
> Hope this helps,
>   -Steve
> 
> Joe Bussell wrote:
> >
> > Is there anything about data which could override decalred MINSCALE and
> > MAXSCALE?  I have road data for Los Angeles County and the four
> > surrounding counties.  I declare the layer in my map file and set the
> > scale range to cover every zoom level I am using and I observe an odd
> > behavior.  The default map does not show me the roads in LA, but the
> > surrounding counties display correctly.  When I zoom out all the data is
> > painted.  At any zoom level out away from that point I can observe the
> > road network.  If I try to zoom in the LA roads do not get painted.
> >
> > What are the right questions to ask debugging this?  I have verified
> > that the MAP, LAYER and CLASS definitions are correct in my map file by
> > replacing the DATA value with other randomly selected data sets which do
> > not demonstrate this behavior.  Any insight would be helpful.
> >
> > Cordially,
> >
> > Joe Bussell
> >
> >   ------------------------------------------------------------------------
> >
> >    td.mapName: td.map
> >          Type: Plain Text (text/plain)



More information about the MapServer-users mailing list