[fdo-users] OGR provider in 3.4.0
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Fri Apr 17 07:34:08 EDT 2009
I am trying to use the OGR provider in MGE2010 and it fails with an
unclassified exception.
Digging a little with a custom build of the OGR provider, I can see that
it creates the OgrConnection object
through the CreateConnection API call.
Then without calling any methods on the object, it disposes the object
and returns the
unclassified exception.
The mapguide debug log shows this for "TestConnection":
Error: An unclassified exception occurred.
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
And this for a preview:
Error: An unclassified exception occurred.
StackTrace:
- MgFeatureServiceHandler.ProcessOperation line 83 file
d:\build\testarossa_nightly\build_30.1\ent\os\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpGetClasses.Execute line 105 file
d:\build\testarossa_nightly\build_30.1\ent\os\server\src\services\feature\OpGetClasses.cpp
- MgServerDescribeSchema.GetClasses line 1527 file
d:\build\testarossa_nightly\build_30.1\ent\os\server\src\services\feature\ServerDescribeSchema.cpp
Since the DescribeSchema call fails without ever calling DescribeSchema
on the provider, I thought that the OGRProvider may be missing some
required methods.
I suspect that Rfc23 might be the cause:
http://trac.osgeo.org/fdo/wiki/FDORfc23
This may be a MapGuide error, but I was hoping that someone from the FDO
team had tested the OGR provider with an application that uses
the new schema functions, or could give a hint towards the problem.
Thanks in advance.
--
Regards, Kenneth Skovhede, GEOGRAF A/S
More information about the fdo-users
mailing list