public class GeometryAsGeoJSONSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>
| Constructor and Description |
|---|
GeometryAsGeoJSONSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(org.locationtech.jts.geom.Geometry geom,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Coordinate coord) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Coordinate[] coord) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.CoordinateSequence coordseq) |
protected void |
write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Polygon p) |
protected void write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Coordinate coord)
throws IOException
IOExceptionprotected void write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.CoordinateSequence coordseq)
throws IOException
IOExceptionprotected void write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Coordinate[] coord)
throws IOException
IOExceptionprotected void write(com.fasterxml.jackson.core.JsonGenerator gen,
org.locationtech.jts.geom.Polygon p)
throws IOException
IOExceptionpublic void serialize(org.locationtech.jts.geom.Geometry geom,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<org.locationtech.jts.geom.Geometry>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2025 LocationTech. All rights reserved.