If I add alias (directory with same tiffs) to datasource, map is displayed correctly. I tried to add geo tiff or ecw via composite mode it loses coordinate information to. I was thinking it is problem with world files, but it seems that it is problem in gdal, mapguide maestro or MGOS. <br>
Any Ideas how to solve it?<br><br>P.S. I tried to add tiles data vie php script found in FDO website (rasterconfig.php). same problem too... :(<br><br><br><div class="gmail_quote">On Thu, Jun 12, 2008 at 6:30 PM, Kenneth Skovhede, GEOGRAF A/S &lt;<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000">
I have seen this happen when the images are not accepted by GDAL.<br>
For some reason it does not return an error, but rather some large
values.<br>
<br>
What happens if you try to use a single file (ea. not composite mode)?<br>
Do you get the correct coordinate system?<br>
<br>
If not, you can try to debug with the regular raster debug guide:<br>
<a href="http://trac.osgeo.org/fdo/wiki/FdoGdalNotes" target="_blank">http://trac.osgeo.org/fdo/wiki/FdoGdalNotes</a><div class="Ih2E3d"><br>
<pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br></div>
Danas Augutis skrev:
<div><div></div><div class="Wj3C7c"><blockquote type="cite">
  <pre>I&#39;m Playing with this function to. The problem is that in XML i get wrong 
cordinates for tiff files:

&lt;Location name=&quot;E:\Data\ORT10LT-2006\2\&quot;&gt;
            &lt;Feature name=&quot;2146&quot;&gt;
              &lt;Band name=&quot;RGB&quot; number=&quot;1&quot;&gt;
                &lt;Image frame=&quot;1&quot; name=&quot;2146.tfw&quot;&gt;
                  &lt;Bounds&gt;
                    &lt;MinX&gt;-10000000&lt;/MinX&gt;
                    &lt;MinY&gt;-10000000&lt;/MinY&gt;
                    &lt;MaxX&gt;10000000&lt;/MaxX&gt;
                    &lt;MaxY&gt;10000000&lt;/MaxY&gt;
                  &lt;/Bounds&gt;
                &lt;/Image&gt;
              &lt;/Band&gt;
            &lt;/Feature&gt;
            &lt;Feature name=&quot;2146&quot;&gt;
              &lt;Band name=&quot;RGB&quot; number=&quot;1&quot;&gt;
                &lt;Image frame=&quot;1&quot; name=&quot;2146.tif&quot;&gt;
                  &lt;Bounds&gt;
                    &lt;MinX&gt;-10000000&lt;/MinX&gt;
                    &lt;MinY&gt;-10000000&lt;/MinY&gt;
                    &lt;MaxX&gt;10000000&lt;/MaxX&gt;
                    &lt;MaxY&gt;10000000&lt;/MaxY&gt;
                  &lt;/Bounds&gt;
                &lt;/Image&gt;
              &lt;/Band&gt;
            &lt;/Feature&gt;

I think I&#39;m missing something basic here. Why world files are not detected?
If I add same data using alias, everythink works fine.


On Thursday 12 June 2008 17:08:18 Kenneth Skovhede, GEOGRAF A/S wrote:
  </pre>
  <blockquote type="cite">
    <pre>I don&#39;t think re-installing Maestro will help.
AFAIK MapGuide needs two setups for coordinate systems, one for MapGuide
and one for the WebTier.
Maestro only has access to the WebTier, so everything may work fine, but
you cannot see the coordinate systems.

Regards, Kenneth Skovhede, GEOGRAF A/S

Andrew DeMerchant skrev:
    </pre>
    <blockquote type="cite">
      <pre>Odd, since it&#39;s been working fine all along....I&#39;m going to try
reinstalling Maestro. As for my image layer - I&#39;ve managed to get it
to show up now, but it&#39;s totally crazy. If I do a layer preview in
Studio, I see a single image - should be about 6....and it&#39;s scale is
messed up, because I have to zoom way way out to see it.

Andrew

Kenneth Skovhede, GEOGRAF A/S wrote:
      </pre>
      <blockquote type="cite">
        <pre>I think you are having a problem with MapGuide&#39;s coordinate system:
<a href="http://trac.osgeo.org/mapguide/ticket/582" target="_blank">http://trac.osgeo.org/mapguide/ticket/582</a>
Regards, Kenneth Skovhede, GEOGRAF A/S

Andrew DeMerchant skrev:
        </pre>
        <blockquote type="cite">
          <pre>Ah. Easy....thanks! Now when I did that, of course, my coords system
overrides got messed up and I can&#39;t seem to fix them from Maestro
(or anywhere, so far) - In Maestro, all I get in my coord category
list is Arbitrary X-Y....If I just paste in the correct string,
it&#39;ll take it - but every time I refresh my overrides, it adds a
Default in XY-MT. If I look at the configuration document using
Studio, I see that it&#39;s got some coord system stuff in it (in
&lt;fdo:WKT&gt;), and that it&#39;s wrong (it&#39;s using XY-MT). I&#39;m guessing
this is the problem, but have no idea how to fix it. Here&#39;s that
section in the configuration doc:

     &lt;gml:baseCRS&gt;
      &lt;fdo:WKTCRS gml:id=&quot;Default&quot;&gt;
        &lt;gml:srsName&gt;Default&lt;/gml:srsName&gt;

&lt;fdo:WKT&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;/fdo:WKT&gt;
      &lt;/fdo:WKTCRS&gt;
    &lt;/gml:baseCRS&gt;
    &lt;gml:definedByConversion
xlink:href=<a href="http://fdo.osgeo.org/coord_conversions#identity" target="_blank">&quot;http://fdo.osgeo.org/coord_conversions#identity&quot;</a> /&gt;
    &lt;gml:derivedCRSType
codeSpace=<a href="http://fdo.osgeo.org/crs_types" target="_blank">&quot;http://fdo.osgeo.org/crs_types&quot;</a>&gt;geographic&lt;/gml:derivedCRSTy
pe&gt; &lt;gml:usesCS
xlink:href=<a href="http://fdo.osgeo.org/cs#default_cartesian" target="_blank">&quot;http://fdo.osgeo.org/cs#default_cartesian&quot;</a> /&gt;
  &lt;/gml:DerivedCRS&gt;

Andrew

Kenneth Skovhede, GEOGRAF A/S wrote:
          </pre>
          <blockquote type="cite">
            <pre>Create a new GDal raster (or open an existing).
In the &quot;Type&quot; field select &quot;Composite&quot;.

Now add files and folders in the list below.
Regards, Kenneth Skovhede, GEOGRAF A/S

Andrew DeMerchant skrev:
            </pre>
            <blockquote type="cite">
              <pre>The Gdalnotes wiki says:

&quot;With the release of FDOGDAL 3.2.3, Frank has added support for
tile indexes in an XML config file.

MapGuide Maestro <a href="http://trac.osgeo.org/mapguide/wiki/maestro" target="_blank">&lt;http://trac.osgeo.org/mapguide/wiki/maestro&gt;</a>
will allow you to create these tile indexes in an intuitive GUI.&quot;


Where do I find that gui?

Andrew

--
        *Andrew DeMerchant*
*Computer Technologist*
ph.1-877-2GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <a href="http://www.gemtec.ca" target="_blank">&lt;http://www.gemtec.ca&gt;</a>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

---------------------------------------------------------------------
---

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
              </pre>
            </blockquote>
            <pre>----------------------------------------------------------------------
--

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
            </pre>
          </blockquote>
          <pre>--
        *Andrew DeMerchant*
*Computer Technologist*
ph.1-877-2GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <a href="http://www.gemtec.ca" target="_blank">&lt;http://www.gemtec.ca&gt;</a>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-----------------------------------------------------------------------
-

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
          </pre>
        </blockquote>
        <pre>------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
        </pre>
      </blockquote>
      <pre>--
        *Andrew DeMerchant*
*Computer Technologist*
ph.1-877-2GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <a href="http://www.gemtec.ca" target="_blank">&lt;http://www.gemtec.ca&gt;</a>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
      </pre>
    </blockquote>
  </blockquote>
  <pre>_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</div></div></div>

<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>