[Geomoose-users] Gomoose map window scale not matching Mapserver scale (using MAXSCALEDENOM)

CoFIS web | www.cofis.info coffee at uni-bonn.de
Fri Nov 14 08:33:16 EST 2008


Well, I found, that the first issue can be solved when increasing the screen resolution 
for distance calculation in the configuration.js from 72 to 96dpi (which would correspond 
to the resolution of my screen). Has anyone an idea what resolutions use "most" screens - 
72 or 96?

I assume, that the printing issue has got to do with resolution-dependent scale 
calculation when the images are being printed - just a guess.

Nils

CoFIS web | www.cofis.info schrieb:
> Hi folks,
> I realized that when using MAXSCALEDENOM for a layer in a mapfile, Geomoose will not 
> display this layer at the particular scale set, but only when zooming in slightly more.
> 
> EXAMPLE (applies to FF 3, IE is fine)
> a:
> in the mapfile		MAXSCALEDENOM 1,000,000
> map scale in Geomoose:	1:1,000,000
> Geomoose map window:	layer NOT shown
> 
> b:
> in the mapfile		MAXSCALEDENOM 1,001,000
> map scale in Geomoose:	1,000,000
> Geomoose map window:	layer IS shown
> 
> The equivalent applies to the printing function. Zooming in to a scale where a layer with 
> MAXSCALEDENOM set is being displayed GM will not print that particular layer if the scale 
> which has been set in the mapfile is too close to the current scale of the map window. In 
> comparison to the case above, the difference in the map window scale and the scale set via 
> MAXSCALEDENOM has to be larger in order to print the map (applies to HTML & PDF printing 
> output).
> 
> EXAMPLE (tested with FF 3.0 and IE7)
> c:
> in the mapfile		MAXSCALEDENOM 1,001,000
> map scale in Geomoose:	1:1,000,000
> Geomoose map window:	layer IS shown
> Printing result:	layer NOT printed
> 
> EXAMPLE d:
> in the mapfile		MAXSCALEDENOM 1,001,000
> map scale in Geomoose:	1:900,000 (sometimes I even have to use a larger scale)
> Geomoose map window:	layer IS shown
> Printing result:	layer IS printed
> 
> I assume that the printing issue is quite confusing for users and would leave them with 
> question marks in their eyes. Has anyone experienced that behavior?. Is this a server-side 
> or client-side problem?
> 
> If it would help, I could post one of my mapfiles as well.
> 
> Thanks for any suggestions,
> Nils
> 

-- 
Center for Development Research
Department of Ecology and Resource Management

Walter-Flex-Strasse 3
53113 Bonn (Germany)

Tel.:   +49 (0) 228 - 73-1793
FAX:    +49 (0) 228 - 73-1889

E-Mail: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de




More information about the Geomoose-users mailing list