1

In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g.
How to set parameters to create a new Geometry table if it does not exist?
How to append the data if a geometry table already exists ?

IGeoProcessor2 pGeoProcessor = new GeoProcessorClass();
IVariantArray parameters = new VarArrayClass();
parameters.Add(pFlayer);
parameters.Add(OutLayerPath + "\\" + pFlayer.Name + "MBM.shp");
parameters.Add("CIRCLE");
parameters.Add("NONE");
parameters.Add("");
parameters.Add("MBG_FIELDS");
pGeoProcessor.Execute("MinimumBoundingGeometry_management", parameters, null);
Hornbydd
44.9k5 gold badges43 silver badges84 bronze badges
asked Jun 5, 2014 at 16:26
0

1 Answer 1

1

I figured out,the below should work :

IGeoProcessor2 pGeoProcessor = new GeoProcessorClass();
IVariantArray parameters = new VarArrayClass();
parameters.Add(@"Database Connections\" +MySDE.SDE + "\\" + DB_MBM_InputTable);
parameters.Add(@"Database Connections\" +MySDE.SDE + "\\" + DB_MBM_OutputTable);
parameters.Add("CIRCLE");
parameters.Add("NONE");
parameters.Add("");
parameters.Add("MBG_FIELDS");
pGeoProcessor.Execute("MinimumBoundingGeometry_management", parameters, null);
Hornbydd
44.9k5 gold badges43 silver badges84 bronze badges
answered Sep 18, 2014 at 13:54

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.