<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Arthur,<br>
<br>
I assume you are referring to
<a class="moz-txt-link-freetext" 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:
<blockquote
cite="mid:04D8F96AE876024698CDA13DA1C85C5403B16B@005-TK5MPN1-012.MGDADSK.autodesk.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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:"\@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";}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi experts,<o:p></o:p></p>
<p class="MsoNormal"><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. I would like to know if there’s anyone
else who ever met similar issues before.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The map I used 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 “degree”
in ViewOptions, the displayed value from the CursorPosition is
not correct anymore.
<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"><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. 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? Is it
needed for ViewOptions to enhance its function?<o:p></o:p></p>
<p class="MsoNormal"><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"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fusion-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fusion-dev@lists.osgeo.org">fusion-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/fusion-dev">http://lists.osgeo.org/mailman/listinfo/fusion-dev</a>
</pre>
</blockquote>
</body>
</html>