Problems with more than one raster file

Pierre Cardinal pierre.cardinal at sympatico.ca
Thu Sep 21 18:21:41 EDT 2006


I can't have more than one raster file in the configuration document. The viewer is blank when I have more than one raster file and I have the following message:

System.Net.WebException: The remote server returned an error: (559) MgFdoException.
   at Autodesk.MapGuide.Studio.Site.Comm.RequestManager.ExecutePendingGetRequestToString(Operation operation)
   at Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String resourceId, String provider, String connectionString)
   at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection()
   at Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.TestConnectionControl.buttonTestConnection_Click(Object sender, EventArgs e)


The configuration document gives a good result with:

<Location name="%MG_DATA_FILE_PATH%">
<Feature name="31H05-010-3025.tif">
<Band name="RGB" number="1">
<Image name="31H05-010-3025.tif" frame="1">
<Georeference>
    <InsertionPointX>289152.000000</InsertionPointX>
    <InsertionPointY>5032294.680566</InsertionPointY>
    <ResolutionX>1.222778</ResolutionX>
    <ResolutionY>1.234043</ResolutionY>
    <RotationX>0.000000</RotationX>
    <RotationY>0.000000</RotationY>
</Georeference>
</Image>
</Band>
</Feature>
</Location>

but not with:

<Location name="%MG_DATA_FILE_PATH%">
<Feature name="31H05-010-3025.tif">
<Band name="RGB" number="1">
<Image name="31H05-010-3025.tif" frame="1">
<Georeference><InsertionPointX>289152.000000</InsertionPointX>
    <InsertionPointY>5032294.680566</InsertionPointY>
    <ResolutionX>1.222778</ResolutionX>
    <ResolutionY>1.234043</ResolutionY>
    <RotationX>0.000000</RotationX>
    <RotationY>0.000000</RotationY>
</Georeference>
</Image>
</Band>
</Feature>
<Feature name="31H05-010-3026.tif">
<Band name="RGB" number="2">
<Image name="31H05-010-3026.tif" frame="1">
<Georeference>
    <InsertionPointX>290129.000000</InsertionPointX>
    <InsertionPointY>5032282.821534</InsertionPointY>
    <ResolutionX>1.204182</ResolutionX>
    <ResolutionY>1.204506</ResolutionY>
    <RotationX>0.000000</RotationX>
    <RotationY>0.000000</RotationY>
</Georeference>
</Image>
</Band>
</Feature>
</Location>


Regards,

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060921/72b06001/attachment.html


More information about the Mapguide_users mailing list