[fdo-users] SDE Error - Cant fine feature class
surrounded
Rob.Sosnowski at itd.idaho.gov
Mon Oct 20 08:21:04 EDT 2008
Hi Tony, never too many questions,
I'm not using MapGuide; rather I serve the data up on top of a MS
Virtual Earth map. I use the FDO libraries as the core, but also some
FWTools, serving up GIS functionality through web services. We use MS
SQL Server 2005. Regarding the feature classes, they are small -
largest one has approximately 30,000 features.
From: Tony [mailto:ml-user+64542-1977749538 at n2.nabble.com]
Sent: Friday, October 17, 2008 3:04 PM
To: Rob Sosnowski
Subject: RE: [fdo-users] SDE Error - Cant fine feature class
great news
how is the performance using 9.2 are you using MGOS or MGE ( if so
what version)
what database are you using with SDE. and how many feature classes you
have
sorry to many questions here but i am just trying to compare my server
with yours to see if i am doing anything differently
thanks
Tony
surrounded wrote:
Hi Tony,
Using 9.2. I hear that FDO 3.4, due out near the end of this year (I
believe), will support ArcSDE 9.3. Rob
From: Tony [mailto:ml-user+64542-1977749538 at n2.nabble.com]
Sent: Thursday, October 16, 2008 5:14 PM
To: Rob Sosnowski
Subject: Re: [fdo-users] SDE Error - Cant fine feature class
what SDE version are you using
Tony
RESOLVED: I used:
//OSGeo.FDO.Commands.Schema.IDescribeSchema pDS =
(OSGeo.FDO.Commands.Schema.IDescribeSchema)connection.CreateCommand(OSGe
o.FDO.Commands.CommandType.CommandType_DescribeSchema);
//OSGeo.FDO.Schema.FeatureSchemaCollection pFSC = pDS.Execute();
to create a FeatureScheamCollection. From this I was able to get the
correct FeatureClass name. I used
the FeatureClass name in sel.SetFeatureClassName("xxxx")
WORKS FINE NOW.
surrounded wrote:
I establish a connection to SDE enterprise geodatabase:
I use the following code to access the feature class:
connection = getSDEConnection("OSGeo.ArcSDE.3.3");
OSGeo.FDO.Commands.Feature.ISelect sel =
(OSGeo.FDO.Commands.Feature.ISelect
connection.CreateCommand(OSGeo.FDO.Commands.CommandType.CommandType_Sele
ct);
sel.SetFeatureClassName("Cities");
reader = sel.Execute();
On the sel.Execute I get the following error:
Feature class 'Cities' not found in schema.
Any ideas on why this is happening....Thanks
________________________________
View message @
http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p13432
09.html
To unsubscribe from SDE Error - Cant fine feature class, click here
< (link removed)
raUBpdGQuaWRhaG8uZ292fDExMzE0OTZ8LTE5NTY2NDk3Mzc=> .
________________________________
View message @
http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p13469
52.html
To unsubscribe from SDE Error - Cant fine feature class, click here
< (link removed)
raUBpdGQuaWRhaG8uZ292fDExMzE0OTZ8LTE5NTY2NDk3Mzc=> .
--
View this message in context: http://n2.nabble.com/SDE-Error---Cant-fine-feature-class-tp1131496p1355204.html
Sent from the FDO Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20081020/0d04dffb/attachment.html
More information about the fdo-users
mailing list