Class GeoJSONDecoder

  • All Implemented Interfaces:
    Component<DecoderKey>, Keyed<DecoderKey>, Decoder<org.locationtech.jts.geom.Geometry,​com.fasterxml.jackson.databind.JsonNode>

    public class GeoJSONDecoder
    extends JSONDecoder<org.locationtech.jts.geom.Geometry>
    TODO JavaDoc
    Since:
    1.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DIM_2D  
      static int DIM_3D  
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoJSONDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.locationtech.jts.geom.Coordinate decodeCoordinate​(com.fasterxml.jackson.databind.JsonNode node)  
      protected org.locationtech.jts.geom.Coordinate[] decodeCoordinates​(com.fasterxml.jackson.databind.JsonNode node)  
      protected org.locationtech.jts.geom.GeometryFactory decodeCRS​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory factory)  
      protected org.locationtech.jts.geom.Geometry decodeGeometry​(Object o, org.locationtech.jts.geom.GeometryFactory parentFactory)  
      protected org.locationtech.jts.geom.GeometryCollection decodeGeometryCollection​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      org.locationtech.jts.geom.Geometry decodeJSON​(com.fasterxml.jackson.databind.JsonNode node, boolean validate)  
      protected org.locationtech.jts.geom.LineString decodeLineString​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.GeometryFactory decodeLinkedCRS​(com.fasterxml.jackson.databind.JsonNode properties, org.locationtech.jts.geom.GeometryFactory factory)  
      protected org.locationtech.jts.geom.MultiLineString decodeMultiLineString​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.MultiPoint decodeMultiPoint​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.MultiPolygon decodeMultiPolygon​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.GeometryFactory decodeNamedCRS​(com.fasterxml.jackson.databind.JsonNode properties, org.locationtech.jts.geom.GeometryFactory factory)  
      protected org.locationtech.jts.geom.Point decodePoint​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.Polygon decodePolygon​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.Polygon decodePolygonCoordinates​(com.fasterxml.jackson.databind.JsonNode coordinates, org.locationtech.jts.geom.GeometryFactory fac)  
      protected org.locationtech.jts.geom.GeometryFactory getGeometryFactory​(int srid, org.locationtech.jts.geom.GeometryFactory factory)  
      protected org.locationtech.jts.geom.GeometryFactory getGeometryFactory​(com.fasterxml.jackson.databind.JsonNode node, org.locationtech.jts.geom.GeometryFactory factory)  
      protected String getType​(com.fasterxml.jackson.databind.JsonNode node)  
      protected boolean isNumber​(com.fasterxml.jackson.databind.JsonNode x)  
      protected com.fasterxml.jackson.databind.JsonNode requireCoordinates​(com.fasterxml.jackson.databind.JsonNode node)