<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I think you should check for Null prior getting the geometry.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Dan.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> fdo-users-bounces@lists.osgeo.org
[mailto:fdo-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Simon Pelicon<br>
<b>Sent:</b> Thursday, January 15, 2009 7:10 AM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> Re: [fdo-users] How to retrieve the Oracle Spatial Data<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>HI,<br>
Can you retrieve any other property from this class( string,integer ).<br>
Query FDO class with Fdo2Fdo tool. Check with Fdo2Fdo your geometry
column<br>
<br>
Simon<br>
<br>
Shaik Esu wrote: <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Hi,</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Thanks for your reply.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I have checked the code… I am passing the featureclassname as
parameter to my function,.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>There is no problem with this parameter.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>While debugging it showing as </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal> <span style='font-size:10.0pt;font-family:"Courier New"'>sel.SetFeatureClassName("PARCEL");
// where PARCEL is my spatial table.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>But I am unable to retrive the data.</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:olive'>Regards</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>Shaik Esu,</span></strong><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Sr Software Engineer,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Infotech Enterprises Ltd,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Extn: 740.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Mobile +91 9849538712.</span><o:p></o:p></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><span
style='color:windowtext'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> <a
href="mailto:fdo-users-bounces@lists.osgeo.org">fdo-users-bounces@lists.osgeo.org</a>
[<a href="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Simon Pelicon<br>
<b>Sent:</b> Thursday, January 15, 2009 5:08 PM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> Re: [fdo-users] How to retrieve the Oracle Spatial Data</span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>Hi!<br>
Looking at code bellow it looks like that you specified wrong class for select
command.<br>
<span style='font-size:10.0pt;font-family:"Courier New"'>sel.SetFeatureClassName(featureclsname);
<br>
featureclassname </span><span style='font-size:10.0pt;font-family:"Courier New";
color:maroon'>has value "KingFdoClass".<br>
<br>
"KingFdoClass" is table where you have your FDO class definitions and
it is not an FDO class with geometry column.<br>
<br>
You should specified as something like </span><span style='font-size:10.0pt;
font-family:"Courier New"'>sel.SetFeatureClassName("ROADS").
Parameter should be FDO class with geometry column;<br>
<br>
Simon<br>
<br>
<br>
</span>Shaik Esu wrote: <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Hi All,</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> Please help me for the below
question.</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:olive'>Regards</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>Shaik Esu,</span></strong><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Sr Software Engineer,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Infotech Enterprises Ltd,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Extn: 740.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Mobile +91 9849538712.</span><o:p></o:p></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Shaik Esu [<a
href="mailto:ShaikEsu@infotechsw.com">mailto:ShaikEsu@infotechsw.com</a>] <br>
<b>Sent:</b> Friday, October 31, 2008 6:25 PM<br>
<b>To:</b> 'FDO Users Mail List'<br>
<b>Subject:</b> RE: [fdo-users] How to retrieve the Oracle Spatial Data</span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:teal'>"IFeatureReader</span><span style='font-size:10.0pt;
font-family:"Courier New"'> FDOReader" is returning null value…</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:olive'>Regards</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>Shaik Esu,</span></strong><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Sr Software Engineer,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Infotech Enterprises Ltd,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Extn: 740.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Mobile +91 9849538712.</span><o:p></o:p></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:fdo-users-bounces@lists.osgeo.org">fdo-users-bounces@lists.osgeo.org</a>
[<a href="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Donald Cameron<br>
<b>Sent:</b> Friday, October 31, 2008 6:03 PM<br>
<b>To:</b> 'FDO Users Mail List'<br>
<b>Subject:</b> RE: [fdo-users] How to retrieve the Oracle Spatial Data</span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What is the error message?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:fdo-users-bounces@lists.osgeo.org">fdo-users-bounces@lists.osgeo.org</a>
[<a href="mailto:fdo-users-bounces@lists.osgeo.org">mailto:fdo-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Shaik Esu<br>
<b>Sent:</b> Friday, October 31, 2008 12:04 AM<br>
<b>To:</b> 'FDO Users Mail List'<br>
<b>Subject:</b> [fdo-users] How to retrieve the Oracle Spatial Data</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>Hi All,</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I want to retrieve the Geometry stored in oracle spatial.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I have written the below code </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>private</span><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>IProviderRegistry</span><span
style='font-size:10.0pt;font-family:"Courier New"'> FDORegistry = </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>FeatureAccessManager</span><span
style='font-size:10.0pt;font-family:"Courier New"'>.GetProviderRegistry();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>private</span><span
style='font-size:10.0pt;font-family:"Courier New"'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>IConnectionManager</span><span
style='font-size:10.0pt;font-family:"Courier New"'> FDOManager = </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>FeatureAccessManager</span><span
style='font-size:10.0pt;font-family:"Courier New"'>.GetConnectionManager();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>private</span><span
style='font-size:10.0pt;font-family:"Courier New"'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>IConnection</span><span
style='font-size:10.0pt;font-family:"Courier New"'> FDOConnection = </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>FeatureAccessManager</span><span
style='font-size:10.0pt;font-family:"Courier New"'>.GetConnectionManager().CreateConnection(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"OSGeo.KingOracle.3.3"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>public</span><span
style='font-size:10.0pt;font-family:"Courier New"'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>ConnectionState</span><span
style='font-size:10.0pt;font-family:"Courier New"'> Constate;</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>string</span><span
style='font-size:10.0pt;font-family:"Courier New"'> featureclsname;</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>public</span><span
style='font-size:10.0pt;font-family:"Courier New"'> FDOKingOracleClass(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>string</span><span
style='font-size:10.0pt;font-family:"Courier New"'> username,</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>string</span><span
style='font-size:10.0pt;font-family:"Courier New"'> password,</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>string</span><span
style='font-size:10.0pt;font-family:"Courier New"'> servicename,</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>string</span><span
style='font-size:10.0pt;font-family:"Courier New"'> featureclassname)</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
{</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
FDOConnection.ConnectionInfo.ConnectionProperties.SetProperty(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"Username"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>, username);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
FDOConnection.ConnectionInfo.ConnectionProperties.SetProperty(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"Password"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>, password);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
FDOConnection.ConnectionInfo.ConnectionProperties.SetProperty(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"Service"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>, servicename);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
FDOConnection.ConnectionInfo.ConnectionProperties.SetProperty(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"OracleSchema"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>, servicename);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
FDOConnection.ConnectionInfo.ConnectionProperties.SetProperty(</span><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>"KingFdoClass"</span><span
style='font-size:10.0pt;font-family:"Courier New"'>, featureclassname);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
featureclsname = featureclassname;</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
Constate = FDOConnection.Open();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I am able to open the connection without any error… but I could not
able to retrieve the geometry collection.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>I am getting the error in below code….</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'> public</span><span style='font-size:
10.0pt;font-family:"Courier New"'> </span><span style='font-size:10.0pt;
font-family:"Courier New";color:teal'>GeometryCollection</span><span
style='font-size:10.0pt;font-family:"Courier New"'> SelectAllQuery()</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
{</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>GeometryCollection</span><span
style='font-size:10.0pt;font-family:"Courier New"'> Geo_Collection = </span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>new</span><span
style='font-size:10.0pt;font-family:"Courier New"'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>GeometryCollection</span><span
style='font-size:10.0pt;font-family:"Courier New"'>();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>try</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
{</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>ISelect</span><span
style='font-size:10.0pt;font-family:"Courier New"'> sel = (</span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>ISelect</span><span
style='font-size:10.0pt;font-family:"Courier New"'>)FDOConnection.CreateCommand(OSGeo.FDO.Commands.</span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>CommandType</span><span
style='font-size:10.0pt;font-family:"Courier New"'>.CommandType_Select);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
sel.SetFeatureClassName(featureclsname);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:green'>//
sel.LockType = OSGeo.FDO.Commands.Locking.LockType.LockType_Unsupported;</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:green'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:green'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>IFeatureReader</span><span
style='font-size:10.0pt;font-family:"Courier New"'> FDOReader = sel.Execute();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";
color:teal'>FgfGeometryFactory</span><span style='font-size:10.0pt;font-family:
"Courier New"'> gFac = </span><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>new</span><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>FgfGeometryFactory</span><span
style='font-size:10.0pt;font-family:"Courier New"'>();</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>while</span><span
style='font-size:10.0pt;font-family:"Courier New"'> (FDOReader.ReadNext())</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
{</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>Byte</span><span
style='font-size:10.0pt;font-family:"Courier New"'>[] Tmppts =
FDOReader.GetGeometry(</span><span style='font-size:10.0pt;font-family:"Courier New";
color:maroon'>"Geometry"</span><span style='font-size:10.0pt;
font-family:"Courier New"'>);</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
Geo_Collection.Add(gFac.CreateGeometryFromFgf(Tmppts));</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>catch</span><span
style='font-size:10.0pt;font-family:"Courier New"'>(OSGeo.FDO.Common.</span><span
style='font-size:10.0pt;font-family:"Courier New";color:teal'>Exception</span><span
style='font-size:10.0pt;font-family:"Courier New"'> ex)</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
{</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:teal'>MessageBox</span><span
style='font-size:10.0pt;font-family:"Courier New"'>.Show(ex.Message.ToString());</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>return</span><span
style='font-size:10.0pt;font-family:"Courier New"'> Geo_Collection;</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>
}</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:blue'>If anybody has the code to retrieve the spatial data, please help
me.</span><o:p></o:p></p>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> Thank You,</span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='color:blue'> </span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:olive'>Regards</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:blue'>Shaik Esu,</span></strong><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Sr Software Engineer,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Infotech Enterprises Ltd,</span><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Extn: 740.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:navy'>Mobile +91 9849538712.</span><o:p></o:p></p>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<pre> <o:p></o:p></pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre> <o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>fdo-users mailing list<o:p></o:p></pre><pre><a
href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/fdo-users">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre style='text-align:center'><o:p> </o:p></pre><pre
style='text-align:center'><o:p> </o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>No virus found in this incoming message.<o:p></o:p></pre><pre>Checked by AVG - <a
href="http://www.avg.com">http://www.avg.com</a> <o:p></o:p></pre><pre>Version: 8.0.176 / Virus Database: 270.10.7/1894 - Release Date: 14.1.2009 19:27<o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre><o:p> </o:p></pre><pre
style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>fdo-users mailing list<o:p></o:p></pre><pre><a
href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/fdo-users">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><o:p></o:p></pre><pre> <o:p></o:p></pre><pre><o:p> </o:p></pre><pre
style='text-align:center'>
<hr size=4 width="90%" align=center>
</pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>No virus found in this incoming message.<o:p></o:p></pre><pre>Checked by AVG - <a
href="http://www.avg.com">http://www.avg.com</a> <o:p></o:p></pre><pre>Version: 8.0.176 / Virus Database: 270.10.7/1894 - Release Date: 14.1.2009 19:27<o:p></o:p></pre><pre><o:p> </o:p></pre><pre> <o:p></o:p></pre></div>
</body>
</html>