[mapserver-dev] FW: [mapserver-users] rendering difference between 5.6.3 and 5.6.4

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Jul 13 12:44:40 EDT 2010

An area of brittleness, indeed. Thanks for the fast fix!

-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Alan Boudreault
Sent: Tuesday, July 13, 2010 10:21 AM
To: mapserver-dev at lists.osgeo.org
Cc: Daniel Morissette
Subject: Re: [mapserver-dev] FW: [mapserver-users] rendering difference between 5.6.3 and 5.6.4

The problem is effectively related to that enum order. It seems that MapServer 
doesn't use only the enum name but use the enum integer values (determined by 
the enum order) to get the inchesPerUnit values. There is scale/units code in 
4 different files, I would say that a cleanup should be done to avoid such 
problems in the future.

It's now fixed in trunk and backported in branch 5.6. I'd need someone that 
could get the svn branch 5-6 and confirm that the problem is fixed before 
Daniel prepares the MS 5.6.5 release. Changeset: 

My apologies for any inconvenience I caused >:|


On July 13, 2010 10:36:19 am Daniel Morissette wrote:
> Lime, Steve D (DNR) wrote:
> > Probably related to the issue that Steve W. identified yesterday. Time to
> > start digging folks...
> I think the problem may be related to the patch for the units enum order:
> http://trac.osgeo.org/mapserver/ticket/3413
> The patch (r10243) does not seem to sync the inchesPerUnit[] array in
> mapscale.c...
> Checking...
> Daniel

Alan Boudreault
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org

More information about the mapserver-dev mailing list