I am running MapGuide Enterprise 2011 on CentOS 5 linux. Using the Autodesk Raster FDO, i loaded a mrsid file (through the "Load file-based data" method). Whenever i try to view the layer with the mrsid file, the server crashes. most of the time it says "Segmentation Fault", but sometimes it just dies without saying anything.
Here's what the error log says when i try to view the layer:
<2011-01-14T10:39:25> 53263248 Autodesk MapGuide Studio v126.96.36.19905 188.8.131.52 Administrator Error: An exception occurred in FDO component. Only MOSAIC(), CLIP() and RESAMPLE() are supported. StackTrace: - MgFeatureServiceHandler.ProcessOperation() line 83 file FeatureServiceHandler.cpp - MgOpSelectFeaturesSpatial.Execute() line 110 file OpSelectFeaturesSpatial.cpp - MgServerSelectFeatures.SelectFeatures() line 266 file ServerSelectFeatures.cpp
I've tried a few other mrsid files with the same problem. TIFF files load fine.
Anyone has any insight on this?
Solved! Go to Solution.
I was able to solve this issue by compiling the latest Gdal and the Gdal FDO instead of the included Autodesk Raster FDO. I had some obstacles figuring out how to compile additional open source FDO in with the included binary Autodesk FDOs. There seems to be no documentation on this, so I would like to share it here, i hope it will help someone else too:
It is possible to compile OS FDO to be used with the Enterprise versions, in the case where you need additional libraries to link to that the enterprise fdo does not provide (eg MrSID for GDAL).
$ ln -s /usr/local/fdo-3.5.0/lib Thirdparty/apache/xml-xalan/c/lib
$ ln -s /usr/local/fdo-3.5.0/lib Thirdparty/apache/xml-xerces/c/lib
$ cd Thirdparty/linux/cppunit
$ ./build_linux --a build --w fdo
$ ./build_linux --a build --w utilities
$ ./build_linux --a build --w <your fdo>
$ ./build_linux --a install --w <your fdo> --m noconfigure
$ ldd /usr/local/fdo-3.5.0/lib/yourlib-3.5.0.so
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register