<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>This is actually a multifaceted problem that I've been giving some thought to.</div><div><br></div><div>It is correct that in the status quo all the minscale/maxscale settings do is change the way the layer is presented in the catalog. It is also true that MapServer and OpenLayers do not always agree as to what the scale should be. If I remember correctly OpenLayers assumes 72 DPI and MapServer assumes 75 DPI.</div><div><br></div><div>Here's where things get tricky. GeoMOOSE allows layers to be defined and controlled separately from their originating sources. At the same time, an individual "layer" is only part of an image, and only an entire image can be shown or hidden programmatically by GeoMOOSE. This means we could set a minscale/maxscale at the map-source level but
not a useful one at the layer level (as defined in the map-source).</div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> FRANZ OKYERE <franzzoa@hotmail.com><br><b><span style="font-weight: bold;">To:</span></b> coffee@uni-bonn.de; geomoose-users@lists.sourceforge.net<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 4, 2009 6:34:41 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Geomoose-users] MAXSCALE / MINSCALE in mapbook not applicable mapfile layers?<br></font><br>
<style>
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
</style>
<br> <br>
> Date: Tue, 4 Aug 2009 13:18:38 +0200<br>> From: coffee@uni-bonn.de<br>> To: franzzoa@hotmail.com<br>> Subject: Re: [Geomoose-users] MAXSCALE / MINSCALE in mapbook not applicable mapfile layers?<br>> <br>> > Dear all,<br>> > <br>> > I am having a similar issue but I am happy that I am not the only one <br>> > having the problem. The changes I make in my mapfile and even mapbook <br>> > does not seem to have any effect in the interface. I suspect a script or <br>> > two needs modification. I am using a mapfile- I want to <br>> > show geographical coordinates, as in longlat. Thanks Coffy<br>> > <br>> > Franz.<br>> > <br>> > AM- Surveys Ltd<br>> > GHana<br>> > <br>> > > Date: Tue, 4 Aug 2009 11:58:31 +0200<br>> > > From: coffee@uni-bonn.de<br>> > > To: geomoose-users@lists.sourceforge.net<br>> > > Subject: [Geomoose-users]
MAXSCALE / MINSCALE in mapbook not <br>> > applicable mapfile layers?<br>> > ><br>> > > Dear all,<br>> > > in GM2 I set maxscale / minscale at layer level in my mapbook.<br>> > ><br>> > > I works perfectly well when using the feature with WMS layers that I<br>> > > include directly into GM without using a mapfile and turns these layers<br>> > > on/off at the specified scale.<br>> > ><br>> > > However, when using "maxscale" on layer from a mapfile these settings<br>> > > seem to have no effect other than controlling the use of CSS for<br>> > > inscale/outscale in the catalogue. True or false?<br>> > ><br>> > > The reason I am asking is that if I set<br>> > > #mapfile<br>> > > ...<br>> > > MAXSCALEDENOM = 5000000<br>> > > ...<br>> > ><br>> > > and<br>> > > #mapbook
catalogue<br>> > > ...<br>> > > <layer ... maxscale="5000000"/><br>> > > ...<br>> > ><br>> > > the two settings seem not to correspond thoroughly. The layer will still<br>> > > be shown on the map but marked as "outscale" in the catalogue when<br>> > > zooming for instance to 1:5000500 (as shown in the GM scale box).<br>> > ><br>> > > In order to make both setting correspond roughly I have to change my<br>> > > mapfile to<br>> > ><br>> > > MAXSCALEDENOM = 5006600<br>> > ><br>> > > which is kinda weird and makes administration a bit more painful.<br>> > ><br>> > > I got "meters" set as units in both my mapbook & mapfiles? Do I need<br>> > > something else?<br>> > ><br>> > > Thanks,<br>> > > Nils<br>> > ><br>> > > --<br>> > > Center for
Development Research<br>> > > Department of Ecology and Resource Management<br>> > ><br>> > > Walter-Flex-Strasse 3<br>> > > 53113 Bonn (Germany)<br>> > ><br>> > > Tel.: +49 (0) 228 - 73-1793<br>> > > FAX: +49 (0) 228 - 73-1889<br>> > ><br>> > > E-Mail: coffee@uni-bonn.de<br>> > ><br><span>> > > Web: <a target="_blank" href="http://www.cofis.info/atlas">http://www.cofis.info/atlas</a></span><br><span>> > > <a target="_blank" href="http://www.coffee.uni-bonn.de">http://www.coffee.uni-bonn.de</a></span><br>> > ><br>> > > <br>> > ------------------------------------------------------------------------------<br>> > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 <br>> > 30-Day<br>> > > trial. Simplify your report design, integration and deployment - and <br>> > focus
on<br>> > > what you do best, core application coding. Discover what's new with<br><span>> > > Crystal Reports now. <a target="_blank" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a></span><br>> > > _______________________________________________<br>> > > Geomoose-users mailing list<br>> > > Geomoose-users@lists.sourceforge.net<br><span>> > > <a target="_blank" href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a></span><br>> > <br>> > ------------------------------------------------------------------------<br>> > Celebrate a decade of Messenger with free winks, emoticons, display <br>> > pics, and more. Get Them Now <br><span>> > <<a target="_blank"
href="http://clk.atdmt.com/UKM/go/157562755/direct/01/">http://clk.atdmt.com/UKM/go/157562755/direct/01/</a>></span><br>> <br>> -- <br>> Center for Development Research<br>> Department of Ecology and Resource Management<br>> <br>> Walter-Flex-Strasse 3<br>> 53113 Bonn (Germany)<br>> <br>> Tel.: +49 (0) 228 - 73-1793<br>> FAX: +49 (0) 228 - 73-1889<br>> <br>> E-Mail: coffee@uni-bonn.de<br>> <br><span>> Web: <a target="_blank" href="http://www.cofis.info/atlas">http://www.cofis.info/atlas</a></span><br><span>> <a target="_blank" href="http://www.coffee.uni-bonn.de">http://www.coffee.uni-bonn.de</a></span><br><br><br><hr>Internet Explorer 8 - accelerate your Hotmail. <a rel="nofollow" target="_blank" href="http://clk.atdmt.com/UKM/go/134665338/direct/01/">Download Internet Explorer 8</a>
</div></div></blockquote><div style="position:fixed"></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>