[mapguide-users] Re: Simple OGR FDO question

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri Mar 12 03:14:06 EST 2010


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: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jamo
> Sent: Thursday, March 11, 2010 4:10 PM
> To: mapguide-users at lists.osgeo.org
> 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.
>
>
>    


More information about the mapguide-users mailing list