public class GeoJSONDecoder extends JSONDecoder<org.locationtech.jts.geom.Geometry>
| Constructor and Description |
|---|
GeoJSONDecoder() |
| Modifier and Type | Method and 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) |
decode, decodeJsonToObject, decodeJsonToObjectList, getKeys, parseCodeType, parseCodeWithAuthority, parseDateTime, parseTime, parseTimeInstant, parseTimePeriodgetDecoder, getDecoderRepository, setDecoderRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedTypespublic static final int DIM_2D
public static final int DIM_3D
public org.locationtech.jts.geom.Geometry decodeJSON(com.fasterxml.jackson.databind.JsonNode node,
boolean validate)
throws DecodingException
decodeJSON in class JSONDecoder<org.locationtech.jts.geom.Geometry>DecodingExceptionprotected org.locationtech.jts.geom.Coordinate[] decodeCoordinates(com.fasterxml.jackson.databind.JsonNode node)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.Polygon decodePolygonCoordinates(com.fasterxml.jackson.databind.JsonNode coordinates,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.Geometry decodeGeometry(Object o, org.locationtech.jts.geom.GeometryFactory parentFactory) throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.MultiLineString decodeMultiLineString(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.LineString decodeLineString(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.MultiPoint decodeMultiPoint(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.Point decodePoint(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.Polygon decodePolygon(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.MultiPolygon decodeMultiPolygon(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryCollection decodeGeometryCollection(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory fac)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryFactory decodeCRS(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory factory)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryFactory decodeNamedCRS(com.fasterxml.jackson.databind.JsonNode properties,
org.locationtech.jts.geom.GeometryFactory factory)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryFactory decodeLinkedCRS(com.fasterxml.jackson.databind.JsonNode properties,
org.locationtech.jts.geom.GeometryFactory factory)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.Coordinate decodeCoordinate(com.fasterxml.jackson.databind.JsonNode node)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected com.fasterxml.jackson.databind.JsonNode requireCoordinates(com.fasterxml.jackson.databind.JsonNode node)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryFactory getGeometryFactory(com.fasterxml.jackson.databind.JsonNode node,
org.locationtech.jts.geom.GeometryFactory factory)
throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected org.locationtech.jts.geom.GeometryFactory getGeometryFactory(int srid,
org.locationtech.jts.geom.GeometryFactory factory)
protected String getType(com.fasterxml.jackson.databind.JsonNode node) throws GeoJSONDecodingException
GeoJSONDecodingExceptionprotected boolean isNumber(com.fasterxml.jackson.databind.JsonNode x)
Copyright © 2015–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.