are your production and dev envirronments running the same mapserver version? The scaling applied when resolution!=defresolution was introduced in 5.6 I think.
-- thomas On Thu, Apr 28, 2011 at 16:26, myOpenLayersUName <[email protected]> wrote: > Since you folks are usually so good on this forum, the lack of response to my > previous reply suggests there is something wrong with my question. I'm > guessing there's something about this that I just don't get which is > glaringly obvious to anyone who knows anything about it. I'm hoping someone > can help me understand what might be causing the discrepancy I am seeing > between our two different environments and further, where to look to verify > those differences exist. > > In the map file in question no DEFRESOLUTION is set; so, as I understand the > documentation I have found, it defaults to 72. The RESOLUTION is set in the > map file to 96. Since the DEFRESOLUTION and RESOLUTION are different, "the > symbology in the layer definitions will be adjusted by a factor > corresponding to RESOLUTION/DEFRESOLUTION. More specifically, this is done > by multiplying the layer->scalefactor value by the resolution/defresolution > ratio in msPrepareImage()." Finally, the documentation suggests that these > parameters will affect size (for symbols and labels)...sure sounds like it's > related to my problem. > > However, as the map file is the same on both machines (extracted directly > from our source control), there has to be something different about the > MapServer configuration itself that is causing the factor computed "by > multiplying the layer->scalefactor value by the resolution/defresolution > ratio" to come up with different values on the different machines and > drawing the symbols and labels different sizes. Somewhere along the way, > some value is being used that is different and I'm trying to identify what > and where that might be so I can make sure they are the same. > > If any of this suggests that I have a completely wrong understanding of this > stuff, please let me know where I can find a more detailed explanation. Or, > if this is the wrong track, I'd appreciate being pointed in another > direction. As it is at the moment, I'm completely stuck. > > Cheers, > jtm > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Font-Symbol-size-change-with-different-MapServer-tp6310467p6313449.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
