[fdo-internals] writing fdo provider
Robert Fortin
robert.fortin at autodesk.com
Tue Jun 17 11:30:50 EDT 2008
Dave,
If it is not of private matter, can I ask what format your provider is targeting to read (and write?)
Robert
-----Original Message-----
From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Dave Brett
Sent: Tuesday, June 17, 2008 12:21 AM
To: fdo-internals at lists.osgeo.org
Subject: Re: [fdo-internals] writing fdo provider
Found solution within provider. When click "Test Connection" within studio
is clicked the SetConnectionString() method is called. Since my provider
does not need to maintain a connection I set the connection state to
FdoConnectState_Closed in the GetConnectionState() method. The code now
executes as expected.
Dave Brett wrote:
>
> I am currently writing a provider to work with MGE. Things look good
> while running the unit tests. However when using the provider within MGE
> Studio and I click "Test Connection" I get "An exception occurred in FDO
> component. The connection is already open. " error. In my provider code
> I have explicitly set the connection state to FdoConnectionState_Closed
> anywhere the connection state is returned however the error never changes
> within MGE Studio.
>
> I am have been looking to the WMS and GDAL providers as examples of how to
> implement things correctly, but haven't found what I am missing.
>
> Does anyone know which method(s) MGE calls to get the status to display in
> Studio?
>
> Thanks
> Dave
>
--
View this message in context: http://www.nabble.com/writing-fdo-provider-tp17875883p17877832.html
Sent from the FDO Internals mailing list archive at Nabble.com.
_______________________________________________
fdo-internals mailing list
fdo-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-internals
More information about the fdo-internals
mailing list