Package org.geomajas.sld.geometry

Examples of org.geomajas.sld.geometry.LineStringTypeInfo


        geometry = factory.createPoint(getCoordinates(Collections.singletonList(point.getCoord()))[0]);
      } else if (point.ifCoordinates()) {
        geometry = factory.createPoint(getCoordinates(point.getCoordinates())[0]);
      }
    } else if (geom instanceof LineStringTypeInfo) {
      LineStringTypeInfo linestring = (LineStringTypeInfo) geom;
      if (linestring.ifCoordList()) {
        geometry = factory.createLineString(getCoordinates(linestring.getCoordList()));
      } else if (linestring.ifCoordinates()) {
        geometry = factory.createLineString(getCoordinates(linestring.getCoordinates()));
      }
    } else if (geom instanceof PolygonTypeInfo) {
      PolygonTypeInfo polygon = (PolygonTypeInfo) geom;
      OuterBoundaryIsInfo outer = polygon.getOuterBoundaryIs();
      LinearRing shell = toLinearRing(factory, outer.getLinearRing());
View Full Code Here

TOP

Related Classes of org.geomajas.sld.geometry.LineStringTypeInfo

Copyright © 2018 www.massapicom. 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.