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 <<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>> 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'm Playing with this function to. The problem is that in XML i get wrong
cordinates for tiff files:
<Location name="E:\Data\ORT10LT-2006\2\">
<Feature name="2146">
<Band name="RGB" number="1">
<Image frame="1" name="2146.tfw">
<Bounds>
<MinX>-10000000</MinX>
<MinY>-10000000</MinY>
<MaxX>10000000</MaxX>
<MaxY>10000000</MaxY>
</Bounds>
</Image>
</Band>
</Feature>
<Feature name="2146">
<Band name="RGB" number="1">
<Image frame="1" name="2146.tif">
<Bounds>
<MinX>-10000000</MinX>
<MinY>-10000000</MinY>
<MaxX>10000000</MaxX>
<MaxY>10000000</MaxY>
</Bounds>
</Image>
</Band>
</Feature>
I think I'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'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's been working fine all along....I'm going to try
reinstalling Maestro. As for my image layer - I've managed to get it
to show up now, but it's totally crazy. If I do a layer preview in
Studio, I see a single image - should be about 6....and it'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'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'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'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's got some coord system stuff in it (in
<fdo:WKT>), and that it's wrong (it's using XY-MT). I'm guessing
this is the problem, but have no idea how to fix it. Here's that
section in the configuration doc:
<gml:baseCRS>
<fdo:WKTCRS gml:id="Default">
<gml:srsName>Default</gml:srsName>
<fdo:WKT>LOCAL_CS["*XY-MT*",LOCAL_DATUM["*X-Y*",10000],UNIT["Meter",
1],AXIS["X",EAST],AXIS["Y",NORTH]]</fdo:WKT>
</fdo:WKTCRS>
</gml:baseCRS>
<gml:definedByConversion
xlink:href=<a href="http://fdo.osgeo.org/coord_conversions#identity" target="_blank">"http://fdo.osgeo.org/coord_conversions#identity"</a> />
<gml:derivedCRSType
codeSpace=<a href="http://fdo.osgeo.org/crs_types" target="_blank">"http://fdo.osgeo.org/crs_types"</a>>geographic</gml:derivedCRSTy
pe> <gml:usesCS
xlink:href=<a href="http://fdo.osgeo.org/cs#default_cartesian" target="_blank">"http://fdo.osgeo.org/cs#default_cartesian"</a> />
</gml:DerivedCRS>
Andrew
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre>Create a new GDal raster (or open an existing).
In the "Type" field select "Composite".
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:
"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"><http://trac.osgeo.org/mapguide/wiki/maestro></a>
will allow you to create these tile indexes in an intuitive GUI."
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"><http://www.gemtec.ca></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"><http://www.gemtec.ca></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"><http://www.gemtec.ca></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>