Hmm, yes that seems to be the problem.
Unfortunately the OGR dll in MGOS 2.1 does not link to the gdal16.dll
(not sure about the MGEP2010),
so you have to build both the gdal and the fdo-ogr dll.
Regards, Kenneth Skovhede, GEOGRAF A/S
On 11-03-2010 23:03, Traian Stanev wrote:
I'm not 100% sure, but I think GDAL/OGR (not the FDO provider, GDAL itself)
needs to be compiled with some specific settings in order to have KML support.
You may have to replace the GDAL DLL for FDO with one that has KML support
compiled in it.
Traian
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jamo
Sent: Thursday, March 11, 2010 4:10 PM
To: [email protected]
Subject: [mapguide-users] Re: Simple OGR FDO question
Kenneth.
I thought it would be that easy however ... I get the following error when
testing the connection in maestro
2010-03-12T07:00:17> 3188 MapGuide Maestro v2.0.0.4586
172.16.40.28
Administrator
Error: An exception occurred in FDO component.
Connect failed:
StackTrace:
- MgFeatureServiceHandler.ProcessOperation() line 83 file
d:\build\testarossa_nightly\build_30.1\ent\os\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpTestFeatureSourceConnection.Execute() line 100 file
d:\build\testarossa_nightly\build_30.1\ent\os\server\src\services\feature\OpTestFeatureSourceConnection.cpp
- MgFdoConnectionManager.Open() line 900 file
d:\Build\Testarossa_Nightly\BUILD_30.1\Ent\OS\Server\src\Common\Manager\FdoConnectionManager.cpp
The file in question can be found in this google earth network link
http://www.marinetraffic.com/ais/ge.aspx
which calls this page http://marinetraffic2.aegean.gr/ais/getkml.aspx
I have extracted the kml document form the kmz prior to testing in mapguide.
any thoughts?
Jason.
I'm using Mapguide Enterprise 2010 Do I have to recompile the SL.King.KML
provider to function with my version of FDO? I haven't tried the provider
yet but I'm not sure on how the FDO versions effect seperate providers built
for different versions of FDO.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users