<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. &nbsp;It is also true that MapServer and OpenLayers do not always agree as to what the scale should be. &nbsp;If I remember correctly OpenLayers assumes 72 DPI and MapServer assumes 75 DPI.</div><div><br></div><div>Here's where things get tricky. &nbsp;GeoMOOSE allows layers to be defined and controlled separately from their originating sources. &nbsp;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. &nbsp;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 &lt;franzzoa@hotmail.com&gt;<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>&nbsp;<br>
&gt; Date: Tue, 4 Aug 2009 13:18:38 +0200<br>&gt; From: coffee@uni-bonn.de<br>&gt; To: franzzoa@hotmail.com<br>&gt; Subject: Re: [Geomoose-users] MAXSCALE / MINSCALE in mapbook not applicable mapfile layers?<br>&gt; <br>&gt; &gt; Dear all,<br>&gt; &gt; <br>&gt; &gt; I am having a similar issue but I am happy that I am not the only one <br>&gt; &gt; having the problem. The changes I make in my mapfile and even mapbook <br>&gt; &gt; does not seem to have any effect in the interface. I suspect a script or <br>&gt; &gt; two needs modification. I am using a mapfile- I want to <br>&gt; &gt; show geographical coordinates, as in longlat. Thanks Coffy<br>&gt; &gt; <br>&gt; &gt; Franz.<br>&gt; &gt; <br>&gt; &gt; AM- Surveys Ltd<br>&gt; &gt; GHana<br>&gt; &gt; <br>&gt; &gt; &gt; Date: Tue, 4 Aug 2009 11:58:31 +0200<br>&gt; &gt; &gt; From: coffee@uni-bonn.de<br>&gt; &gt; &gt; To: geomoose-users@lists.sourceforge.net<br>&gt; &gt; &gt; Subject: [Geomoose-users]
 MAXSCALE / MINSCALE in mapbook not <br>&gt; &gt; applicable mapfile layers?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Dear all,<br>&gt; &gt; &gt; in GM2 I set maxscale / minscale at layer level in my mapbook.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I works perfectly well when using the feature with WMS layers that I<br>&gt; &gt; &gt; include directly into GM without using a mapfile and turns these layers<br>&gt; &gt; &gt; on/off at the specified scale.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; However, when using "maxscale" on layer from a mapfile these settings<br>&gt; &gt; &gt; seem to have no effect other than controlling the use of CSS for<br>&gt; &gt; &gt; inscale/outscale in the catalogue. True or false?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The reason I am asking is that if I set<br>&gt; &gt; &gt; #mapfile<br>&gt; &gt; &gt; ...<br>&gt; &gt; &gt; MAXSCALEDENOM = 5000000<br>&gt; &gt; &gt; ...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; and<br>&gt; &gt; &gt; #mapbook
 catalogue<br>&gt; &gt; &gt; ...<br>&gt; &gt; &gt; &lt;layer ... maxscale="5000000"/&gt;<br>&gt; &gt; &gt; ...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; the two settings seem not to correspond thoroughly. The layer will still<br>&gt; &gt; &gt; be shown on the map but marked as "outscale" in the catalogue when<br>&gt; &gt; &gt; zooming for instance to 1:5000500 (as shown in the GM scale box).<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; In order to make both setting correspond roughly I have to change my<br>&gt; &gt; &gt; mapfile to<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; MAXSCALEDENOM = 5006600<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; which is kinda weird and makes administration a bit more painful.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I got "meters" set as units in both my mapbook &amp; mapfiles? Do I need<br>&gt; &gt; &gt; something else?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thanks,<br>&gt; &gt; &gt; Nils<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; Center for
 Development Research<br>&gt; &gt; &gt; Department of Ecology and Resource Management<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Walter-Flex-Strasse 3<br>&gt; &gt; &gt; 53113 Bonn (Germany)<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Tel.: +49 (0) 228 - 73-1793<br>&gt; &gt; &gt; FAX: +49 (0) 228 - 73-1889<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; E-Mail: coffee@uni-bonn.de<br>&gt; &gt; &gt;<br><span>&gt; &gt; &gt; Web: <a target="_blank" href="http://www.cofis.info/atlas">http://www.cofis.info/atlas</a></span><br><span>&gt; &gt; &gt; <a target="_blank" href="http://www.coffee.uni-bonn.de">http://www.coffee.uni-bonn.de</a></span><br>&gt; &gt; &gt;<br>&gt; &gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------------<br>&gt; &gt; &gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 <br>&gt; &gt; 30-Day<br>&gt; &gt; &gt; trial. Simplify your report design, integration and deployment - and <br>&gt; &gt; focus
 on<br>&gt; &gt; &gt; what you do best, core application coding. Discover what's new with<br><span>&gt; &gt; &gt; Crystal Reports now. <a target="_blank" href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a></span><br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; Geomoose-users mailing list<br>&gt; &gt; &gt; Geomoose-users@lists.sourceforge.net<br><span>&gt; &gt; &gt; <a target="_blank" href="https://lists.sourceforge.net/lists/listinfo/geomoose-users">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a></span><br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Celebrate a decade of Messenger with free winks, emoticons, display <br>&gt; &gt; pics, and more. Get Them Now <br><span>&gt; &gt; &lt;<a target="_blank"
 href="http://clk.atdmt.com/UKM/go/157562755/direct/01/">http://clk.atdmt.com/UKM/go/157562755/direct/01/</a>&gt;</span><br>&gt; <br>&gt; -- <br>&gt; Center for Development Research<br>&gt; Department of Ecology and Resource Management<br>&gt; <br>&gt; Walter-Flex-Strasse 3<br>&gt; 53113 Bonn (Germany)<br>&gt; <br>&gt; Tel.: +49 (0) 228 - 73-1793<br>&gt; FAX: +49 (0) 228 - 73-1889<br>&gt; <br>&gt; E-Mail: coffee@uni-bonn.de<br>&gt; <br><span>&gt; Web: <a target="_blank" href="http://www.cofis.info/atlas">http://www.cofis.info/atlas</a></span><br><span>&gt; <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>