[Chameleon-dev] [Bug 1543] New: wmsparse: dpi value assumed is wrong

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Aug 7 07:46:10 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1543

           Summary: wmsparse: dpi value assumed is wrong
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


In wmsparse the dpi value assumed (72 dpi) is wrong compared to what the OGC
specs say (WMS and SLD). It should be 90.71 dpi (0.28 mm per pixel).

        dMinScale = scaleHintToScaleDenominator( dMinScaleHint, 72 );
        dMaxScale = scaleHintToScaleDenominator( dMaxScaleHint, 72 );

should be:

        dMinScale = scaleHintToScaleDenominator( dMinScaleHint, 90.71 );
        dMaxScale = scaleHintToScaleDenominator( dMaxScaleHint, 90.71 );



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list