Hello everybody,
I try to create a convex hull of points with java and arcobjects - therefore I like to use the tool Minimum bounding rectangle from the Data Management Toolbox. The points are within the point shapefile test.shp.
I tried it like that:
GeoProcessor GP = new GeoProcessor();
MinimumBoundingGeometry mbg = new MinimumBoundingGeometry();
mbg.setInFeatures("d:/test.shp");
mbg.setGeometryType("convex_hull");
mbg.setOutFeatureClass("d:/output.shp");
GP.execute(mbg, null);
Unfortunately, it doesn't work. Does anybody know what to do?
Thanks for any help!