Package com.bedatadriven.geojson

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

Related Classes of com.bedatadriven.geojson.GeometryDeserializer

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.