[mapguide-users] Re: create redline line and polygon using king fdo and MGOS

Tony techswami at hotmail.com
Tue May 25 14:27:02 EDT 2010


siva 

i am getting error using your code in word doc. 

i am trying to se up the orcle connection and its giving me and error.  

 OracleConnection Conn1 = new OracleConnection("Data Source=localhost;User
Id=xe;Password=xe;");   
        Innowe.Geo.SdoGeometry geoPolygon = new Innowe.Geo.SdoGeometry();
        geoPolygon.Sdo_Gtype = 2003;
        geoPolygon.Sdo_Srid = 32643;
        geoPolygon.ElemArray = new decimal[] { 1, 1003, 1 };
        geoPolygon.OrdinatesArray = geomData;
        geoPolygon.FromCustomObject(Conn1);
         
        
how do i set up connection to my oracle and tables 

tony


-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/create-redline-line-and-polygon-using-king-fdo-and-MGOS-tp5039612p5099858.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list