<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 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @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:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.m1
        {mso-style-name:m1;
        color:blue;}
span.t1
        {mso-style-name:t1;
        color:#990000;}
span.b1
        {mso-style-name:b1;
        font-family:"Courier New";
        color:red;
        font-weight:bold;
        text-decoration:none none;}
span.tx1
        {mso-style-name:tx1;
        font-weight:bold;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Kenneth,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ok.&nbsp; Thanks.&nbsp; I was testing with a directory containing
5 ECW files.&nbsp; However, I did not see a config document generated, ie.,
there was nothing present in the resource repository when I tried
EnumerateResourceData against the ECW feature source.&nbsp; Very strange.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I will try to dig into this with a debug build later today.&nbsp;
Looks like we have two quirks to fix: &nbsp;generation of extents and the
missing config doc.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Trevor<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
Kenneth Skovhede, GEOGRAF A/S [mailto:ks@geograf.dk] <br>
<b>Sent:</b> December 11, 2009 1:02 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Cc:</b> Trevor Wekel<br>
<b>Subject:</b> Re: [mapguide-users] MGOS 2.1 - ECW<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi Trevor.<br>
<br>
The message reported by Maestro is a warning, because it can see that the
extents are invalid.<br>
I think 2.0.2 returned the correct bounds, so perhaps a change after that
resulted in this problem.<br>
IIRC, the coordinate system was also returned correctly in 2.0.2.<br>
<br>
In 2.0.2 (and 2.1), the XY-M and default extents was returned by the provider
if you gave it an empty folder.<br>
I would think it should throw an error because no files were loaded.<br>
<br>
The config document is optional (afaik) but is created if you use a composite
set of ECW files.<br>
<br>
<br>
<o:p></o:p></p>

<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Trevor Wekel skrev: <o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Oops... The original message was regarding ECW imagery.&nbsp; So
I performed the same sequence of steps with a directory of ECW images and got
the same result.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As a side note, it looks as though full color orthophoto ECW
imagery seems to be about 2x faster than the same imagery in MrSID format when
displayed under GDAL.&nbsp; Many months ago, I also noticed the same ECW/MrSID
behaviour when using the Autodesk Raster Provider.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Trevor</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
Trevor Wekel <br>
<b>Sent:</b> December 10, 2009 4:31 PM<br>
<b>To:</b> 'MapGuide Users Mail List'<br>
<b>Subject:</b> RE: [mapguide-users] MGOS 2.1 - ECW</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Kenneth,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;ve been doing some testing of MrSID data with the MGOS
2.1 release and Maestro 1.1.0.4358.&nbsp; My MrSID images have embedded
correlation information.&nbsp; When I try to save the feature source, Maestro
throws the following error message &#8220;Spatial context extent appears to be
invalid (or default).&#8221;&nbsp; I save the resource despite the error.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Using the HTML test pages, the resource is correctly generated
with the coordinate system override. </span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&lt;FeatureSource xmlns:xsi=<a
href="http://www.w3.org/2001/XMLSchema-instance">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</a>
xmlns:xsd=<a href="http://www.w3.org/2001/XMLSchema">&quot;http://www.w3.org/2001/XMLSchema&quot;</a>
xsi:noNamespaceSchemaLocation=&quot;FeatureSource-1.0.0.xsd&quot;&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; &lt;Provider&gt;OSGeo.Gdal&lt;/Provider&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; &lt;Parameter&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;
&lt;Name&gt;DefaultRasterFileLocation&lt;/Name&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;
&lt;Value&gt;%MG_DATA_PATH_ALIAS[casil]%7.5m/sid/&lt;/Value&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; &lt;/Parameter&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; &lt;SupplementalSpatialContextInfo&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;Name&gt;Default&lt;/Name&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;CoordinateSystem&gt;PROJCS[&quot;UTM83-10&quot;,GEOGCS[&quot;LL83&quot;,DATUM[&quot;NAD83&quot;,SPHEROID[&quot;GRS1980&quot;,6378137.000,298.25722210]],PRIMEM[&quot;Greenwich&quot;,0],UNIT[&quot;Degree&quot;,0.017453292519943295]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAMETER[&quot;false_easting&quot;,500000.000],PARAMETER[&quot;false_northing&quot;,0.000],PARAMETER[&quot;central_meridian&quot;,-123.00000000000000],PARAMETER[&quot;scale_factor&quot;,0.9996],PARAMETER[&quot;latitude_of_origin&quot;,0.000],UNIT[&quot;Meter&quot;,1.00000000000000]]&lt;/CoordinateSystem&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp; &lt;/SupplementalSpatialContextInfo&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&lt;/FeatureSource&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>However, I notice there is no config document associated with
the resource.&nbsp; Does the GDAL provider use a configuration document?&nbsp;
If so, should Maestro be generating one?</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Also, it looks as though the spatial contexts are not being
returned correctly for my MrSID images.&nbsp; The bounds on the
GetSpatialContexts HTTP op are the bogus/default ones.&nbsp; This is probably a
defect we need to investigate.&nbsp; The imagery does appear if the bounds of
the map extents are set correctly but this could be a non-obvious problem to
overcome for new users.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:windowtext'><a
href="http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GETSPATIALCONTEXTS&amp;VERSION=1.0.0&amp;LOCALE=en&amp;CLIENTAGENT=MapGuide+Developer&amp;RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&amp;ACTIVEONLY=0&amp;FORMAT=text%2Fxml"><b><span
style='font-family:"Courier New";color:red'>-</span></b></a> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Extent</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:windowtext'><a
href="http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GETSPATIALCONTEXTS&amp;VERSION=1.0.0&amp;LOCALE=en&amp;CLIENTAGENT=MapGuide+Developer&amp;RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&amp;ACTIVEONLY=0&amp;FORMAT=text%2Fxml"><b><span
style='font-family:"Courier New";color:red'>-</span></b></a> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>LowerLeftCoordinate</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>X</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'>-10000000</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>X</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Y</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'>-10000000</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Y</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-12.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>LowerLeftCoordinate</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:windowtext'><a
href="http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GETSPATIALCONTEXTS&amp;VERSION=1.0.0&amp;LOCALE=en&amp;CLIENTAGENT=MapGuide+Developer&amp;RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&amp;ACTIVEONLY=0&amp;FORMAT=text%2Fxml"><b><span
style='font-family:"Courier New";color:red'>-</span></b></a> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>UpperRightCoordinate</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>X</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'>10000000</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>X</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-24.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;&lt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Y</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'>10000000</span></b><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Y</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-12.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>UpperRightCoordinate</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='text-indent:-12.0pt'><b><span style='font-size:10.0pt;
font-family:"Courier New";color:red'>&nbsp;</span></b><span style='font-size:
10.0pt;font-family:"Verdana","sans-serif";color:windowtext'> </span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&lt;/</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#990000'>Extent</span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:blue'>&gt;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Trevor</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Kenneth Skovhede, GEOGRAF A/S<br>
<b>Sent:</b> December 10, 2009 12:47 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] MGOS 2.1 - ECW</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>The GDAL provider is a little
special, in that it never reports errors.<br>
Instead it returns the default extent, as you have in your xml below.<br>
<br>
Sometimes (perhaps an MG bug or a specific format issue?), the default extents
are also<br>
returned for perfectly valid data, making it impossible to detect errors :(.<br>
<br>
The only way to see the data, is to set up a map with the correct coordinate
system and<br>
extents. Then add the layer and preview the map.<br>
<br>
The GDALOPEN message you get means that the file was read correctly.<br>
I'm not sure what aux or HFA has to do with ECW though.<br>
IIRC (90% certain :)), it reports &quot;succeeds as ECW&quot; in my setup.<br>
<br>
The &quot;Value cannot be null&quot; could be the indicator, but since you can
get<br>
the schema, I suspect that it is working anyway.<br>
<br>
In Maestro (the latest preview), there is a bug with the coordinate system
override,<br>
you need to use the &quot;advanced&quot; editor, or the coordsys override is
not set (there is an issue registered).<br>
<br>
<br>
<o:p></o:p></p>

<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Denis Lalonde skrev: <o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><span style='font-family:"Calibri","sans-serif"'>I
currently have several XP based laptops running MGOS 2.02 (IIS, PHP) and one
server (MGOS 1.2, IIS, PHP). All of the maps on each were authored using Studio
and each have a 1.05Gb ECW displaying correctly.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><span style='font-family:"Calibri","sans-serif"'>However,
I can not seem to get the same ECW to run correctly with MGOS 2.1 on another
new XP laptop (IIS, PHP). &nbsp;I&#8217;ve tried using both Studio 2009 as well
as Maestro to no avail.</span><o:p></o:p></p>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>With
studio, I use the GDAL provider and connect to an external data source via a
pre-configured alias (C:\Data\ECW_2007). I then select the ECW via the
&#8220;data files&#8221; and then do a coordinate override. When I add the
layer using this data source and preview it, nothing appears.</span><o:p></o:p></p>

</div>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>No errors
show up in the log show up and running in debug mode shows no errors. I only
get messages of type: &#8220;GDAL: GDALOPEN
&lt;C:\DATA\ECW_2007/Cornwall_10cm_20-1.aux, this=0146110&gt; succeeds as
HFA&#8221; (I think that means no errors...correct?).</span><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:10.0pt'><span style='font-family:"Calibri","sans-serif"'>I&#8217;ve
never used Maestro before, but I think I do everything right there too. I
select the GDAL Provider, of &#8220;type Single file or folder&#8221;, point to
my .ecw in the Aliased folder and override the Coordinate System to UTM83-18.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><span style='font-family:"Calibri","sans-serif"'>When
I create a layer for this datasource however, I get this message:</span><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&#8220;Failed to read schema from data source.</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>The operation gave the error message: Value
cannot be null.</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>Parameter name: &nbsp;input&#8221;</span></i><o:p></o:p></p>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>After that
message shows up, I select &quot;default: default&quot; in the Schema drop down
and &quot;Image&quot; automatically appears in the Raster drop down.</span><o:p></o:p></p>

</div>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>If I check
the XML of the datasource, the extents shown don&#8217;t make any sense.
&nbsp;This is apparent when I preview a map with the ECW because the map is
centered at 0X, 0Y. Why is that? (See XML below)</span><o:p></o:p></p>

</div>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>I&#8217;ve
tried repeating everything several times, without success. I really need this
to work. What has changed that this doesn't work anymore?</span><o:p></o:p></p>

</div>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><span style='font-family:"Calibri","sans-serif"'>If anyone
wants to test drive the ECW, I can make it available for download. Let me know.</span><o:p></o:p></p>

</div>

<div style='margin-bottom:10.0pt'>

<p class=MsoNormal><i><span style='font-family:"Calibri","sans-serif";
color:red'>&lt;?xml version=&quot;1.0&quot;?&gt;</span></i><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&lt;FdoSpatialContextList xmlns:xsi=&quot;<a
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;
xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot;
xsi:noNamespaceSchemaLocation=&quot;FdoSpatialContextList-1.0.0.xsd&quot;&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;
&lt;ProviderName&gt;OSGeo.Gdal.3.4&lt;/ProviderName&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp; &lt;SpatialContext
IsActive=&quot;true&quot;&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;Name&gt;Default&lt;/Name&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp; &lt;Description&gt;System
generated default FDO Spatial Context&lt;/Description&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;CoordinateSystemName&gt;Default&lt;/CoordinateSystemName&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;CoordinateSystemWkt&gt;LOCAL_CS[&quot;*XY-MT*&quot;,LOCAL_DATUM[&quot;*X-Y*&quot;,10000],UNIT[&quot;Meter&quot;,
1],AXIS[&quot;X&quot;,EAST],AXIS[&quot;Y&quot;,NORTH]]&lt;/CoordinateSystemWkt&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;ExtentType&gt;Static&lt;/ExtentType&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp; &lt;Extent&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;LowerLeftCoordinate&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;X&gt;-10000000&lt;/X&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;Y&gt;-10000000&lt;/Y&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&lt;/LowerLeftCoordinate&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;UpperRightCoordinate&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></i><i><span
lang=FR-CA style='font-family:"Calibri","sans-serif";color:red'>&lt;X&gt;10000000&lt;/X&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span lang=FR-CA
style='font-family:"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;Y&gt;10000000&lt;/Y&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span lang=FR-CA
style='font-family:"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/UpperRightCoordinate&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span lang=FR-CA
style='font-family:"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;/Extent&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span lang=FR-CA
style='font-family:"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp;
&lt;XYTolerance&gt;0.001&lt;/XYTolerance&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span lang=FR-CA
style='font-family:"Calibri","sans-serif";color:red'>&nbsp;&nbsp;&nbsp; </span></i><i><span
style='font-family:"Calibri","sans-serif";color:red'>&lt;ZTolerance&gt;0.001&lt;/ZTolerance&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&nbsp; &lt;/SpatialContext&gt;</span></i><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:10.0pt'><i><span style='font-family:
"Calibri","sans-serif";color:red'>&lt;/FdoSpatialContextList&gt;</span></i><o:p></o:p></p>

<pre>&nbsp;<o:p></o:p></pre><pre style='text-align:center'>&nbsp;<o:p></o:p></pre><pre
style='text-align:center'>&nbsp;<o:p></o:p></pre><pre style='text-align:center'>&nbsp;<o:p></o:p></pre><pre
style='text-align:center'>&nbsp;<o:p></o:p></pre><pre style='text-align:center'><o:p>&nbsp;</o:p></pre><pre
style='text-align:center'>

<hr size=4 width="90%" align=center>

</pre><pre style='text-align:center'><o:p>&nbsp;</o:p></pre><pre
style='text-align:center'><o:p>&nbsp;</o:p></pre><pre style='text-align:center'>&nbsp; <o:p></o:p></pre><pre
style='text-align:center'>&nbsp;<o:p></o:p></pre><pre style='text-align:center'>&nbsp;<o:p></o:p></pre><pre
style='text-align:center'>&nbsp;<o:p></o:p></pre><pre style='text-align:center'>&nbsp;<o:p></o:p></pre><pre>&nbsp;<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapguide-users mailing list<o:p></o:p></pre><pre><a
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre
style='text-align:center'>

<hr size=4 width="90%" align=center>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapguide-users mailing list<o:p></o:p></pre><pre><a
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre></div>

</body>

</html>