<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> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ok. Thanks. I was testing with a directory containing
5 ECW files. 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. 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> </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.
Looks like we have two quirks to fix: 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> </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> </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> </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. 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'> </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. 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'> </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'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </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> <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'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’ve been doing some testing of MrSID data with the MGOS
2.1 release and Maestro 1.1.0.4358. My MrSID images have embedded
correlation information. When I try to save the feature source, Maestro
throws the following error message “Spatial context extent appears to be
invalid (or default).” 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'> </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'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><?xml version="1.0" encoding="UTF-8"?></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><FeatureSource xmlns:xsi=<a
href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
xmlns:xsd=<a href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd"></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <Provider>OSGeo.Gdal</Provider></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <Parameter></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
<Name>DefaultRasterFileLocation</Name></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>
<Value>%MG_DATA_PATH_ALIAS[casil]%7.5m/sid/</Value></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </Parameter></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <SupplementalSpatialContextInfo></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <Name>Default</Name></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <CoordinateSystem>PROJCS["UTM83-10",GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",500000.000],PARAMETER["false_northing",0.000],PARAMETER["central_meridian",-123.00000000000000],PARAMETER["scale_factor",0.9996],PARAMETER["latitude_of_origin",0.000],UNIT["Meter",1.00000000000000]]</CoordinateSystem></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </SupplementalSpatialContextInfo></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'></FeatureSource></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </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. Does the GDAL provider use a configuration document?
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'> </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. The bounds on the
GetSpatialContexts HTTP op are the bogus/default ones. This is probably a
defect we need to investigate. 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'> </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&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&ACTIVEONLY=0&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'><<</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'>></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&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&ACTIVEONLY=0&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'><<</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'>></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'> </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'><<</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'>></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'></</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'>></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'> </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'><<</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'>></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'></</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'>></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'> </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'></</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'>></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&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=Library%3A%2F%2FRaster%2Fcasil%2F7.5m_sid.FeatureSource&ACTIVEONLY=0&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'><<</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'>></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'> </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'><<</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'>></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'></</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'>></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'> </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'><<</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'>></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'></</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'>></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'> </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'></</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'>></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'> </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'></</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'>></span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </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'> </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> <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 "succeeds as ECW" in my setup.<br>
<br>
The "Value cannot be null" 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 "advanced" 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). I’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
“data files” 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: “GDAL: GDALOPEN
<C:\DATA\ECW_2007/Cornwall_10cm_20-1.aux, this=0146110> succeeds as
HFA” (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’ve
never used Maestro before, but I think I do everything right there too. I
select the GDAL Provider, of “type Single file or folder”, 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'>“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: input”</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 "default: default" in the Schema drop down
and "Image" 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’t make any sense.
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’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'><?xml version="1.0"?></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'><FdoSpatialContextList xmlns:xsi="<a
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"
xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"
xsi:noNamespaceSchemaLocation="FdoSpatialContextList-1.0.0.xsd"></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'>
<ProviderName>OSGeo.Gdal.3.4</ProviderName></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'> <SpatialContext
IsActive="true"></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'>
<Name>Default</Name></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'> <Description>System
generated default FDO Spatial Context</Description></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'>
<CoordinateSystemName>Default</CoordinateSystemName></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'>
<CoordinateSystemWkt>LOCAL_CS["*XY-MT*",LOCAL_DATUM["*X-Y*",10000],UNIT["Meter",
1],AXIS["X",EAST],AXIS["Y",NORTH]]</CoordinateSystemWkt></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'>
<ExtentType>Static</ExtentType></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'> <Extent></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'>
<LowerLeftCoordinate></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'>
<X>-10000000</X></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'>
<Y>-10000000</Y></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'>
</LowerLeftCoordinate></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'>
<UpperRightCoordinate></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'> </span></i><i><span
lang=FR-CA style='font-family:"Calibri","sans-serif";color:red'><X>10000000</X></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'>
<Y>10000000</Y></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'>
</UpperRightCoordinate></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'>
</Extent></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'>
<XYTolerance>0.001</XYTolerance></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'> </span></i><i><span
style='font-family:"Calibri","sans-serif";color:red'><ZTolerance>0.001</ZTolerance></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'> </SpatialContext></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'></FdoSpatialContextList></span></i><o:p></o:p></p>
<pre> <o:p></o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre
style='text-align:center'> <o:p></o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre
style='text-align:center'> <o:p></o:p></pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre
style='text-align:center'> <o:p></o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre
style='text-align:center'> <o:p></o:p></pre><pre style='text-align:center'> <o:p></o:p></pre><pre> <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> <o:p></o:p></pre><pre><o:p> </o:p></pre><pre
style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre><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> <o:p></o:p></pre></div>
</body>
</html>