Examples of GeometryDeserializer


Examples of com.bedatadriven.geojson.GeometryDeserializer

      id = idNode.asText();

    Geometry jtsGeom = null;
    JsonNode geom = feature.get("geometry");
    if (geom != null && geom.getNodeType() == JsonNodeType.OBJECT) {
      GeometryDeserializer deserializer = new GeometryDeserializer(); // FIXME
                                      // lots
                                      // of
                                      // short-lived
                                      // objects...
      jtsGeom = deserializer.parseGeometry(geom);
    }

    PointFeature ret = new PointFeature(id);
    ret.setGeom(jtsGeom);
    ret.setAttributes(properties);
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.