<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Mike,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Yes, that&#8217;s the ticket I&#8217;m talking about. ;-)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Just wonder to know if anyone else met the similar problem and to see if there&#8217;s any workaround.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Arthur<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> fusion-dev-bounces@lists.osgeo.org [mailto:fusion-dev-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Michael Adair<br>
<b>Sent:</b> Friday, August 05, 2011 9:30 PM<br>
<b>To:</b> fusion-dev@lists.osgeo.org<br>
<b>Subject:</b> Re: [fusion-dev] A defect in ViewOptions widget?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Arthur,<br>
<br>
I assume you are referring to <a href="http://trac.osgeo.org/fusion/ticket/467">http://trac.osgeo.org/fusion/ticket/467</a>, I had a quick look at that last week and my guess is that the WKT coming back for the pseudo-mercator is incorrect or not being parsed
 correctly but I haven't got further than that yet. <br>
<br>
Mike<br>
<br>
On 05/08/2011 4:22 AM, Arthur Liu wrote: <o:p></o:p></p>
<p class="MsoNormal">Hi experts,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I meet a strange problem on commercial layer based map, and I think this might be a defect in ViewOptions widget.&nbsp; I would like to know if there&#8217;s anyone else who ever met similar issues before.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">The map I used &nbsp;is defined in Google Mercator(EPSG:900913) and it works fine when I use the default unit(meter) ViewOptions.
<o:p></o:p></p>
<p class="MsoNormal">However, when I change the unit to &#8220;degree&#8221; in ViewOptions, the displayed value from the CursorPosition is not correct anymore.&nbsp;
<o:p></o:p></p>
<p class="MsoNormal">The expected value should be (-119.9707, 40.0646), but the value I get is (-120.7833,44.0925). The longitude value is acceptable while the latitude value is far from the correct value.<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">In ViewOptions widget, it simply does an unit conversion regardless which coordinate system is being used. It just times 0.000009044(degrees per meter pre-defined in fusion.js) based on my original position value to get the result.&nbsp; I have
 little experience about coordinate system, but it seems that EPSG:900913 is flatter than other WGS84 coordinate systems. Is it the cause of this issue?&nbsp; Is it needed for ViewOptions to enhance its function?<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Arthur <o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>fusion-dev mailing list<o:p></o:p></pre>
<pre><a href="mailto:fusion-dev@lists.osgeo.org">fusion-dev@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/fusion-dev">http://lists.osgeo.org/mailman/listinfo/fusion-dev</a><o:p></o:p></pre>
</div>
</body>
</html>