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
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, org.locationtech.jts.geom.CoordinateSequence coordseq) throws IOException
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, org.locationtech.jts.geom.Coordinate[] coord) throws IOException
IOException
protected void write(com.fasterxml.jackson.core.JsonGenerator gen, org.locationtech.jts.geom.Polygon p) throws IOException
IOException
public 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>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2022 LocationTech. All rights reserved.