Package com.esri.core.geometry.ogc

Examples of com.esri.core.geometry.ogc.OGCGeometry.asText()


        boolean res = g.isSimple();
        assertTrue(!res);
        assertTrue(g.isSimpleRelaxed());
        Geometry resg = OperatorSimplifyOGC.local().execute(g.getEsriGeometry(), null, true, null);
        OGCGeometry og = OGCGeometry.createFromEsriGeometry(resg, null);
        String res_str = og.asText();
        res = og.isSimple();
        assertTrue(res);
        assertTrue(og.geometryType().equals("Polygon"));
        assertTrue(((OGCPolygon)og).numInteriorRing() == 2);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.