public class JtsGeoshapeHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected org.locationtech.spatial4j.io.jts.JtsBinaryCodec |
binaryCodec |
protected org.locationtech.spatial4j.context.jts.JtsSpatialContext |
context |
protected org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory |
factory |
protected org.locationtech.spatial4j.io.GeoJSONReader |
geojsonReader |
protected org.locationtech.spatial4j.io.GeoJSONWriter |
geojsonWriter |
protected org.locationtech.spatial4j.io.WKTReader |
wktReader |
protected org.locationtech.spatial4j.io.WKTWriter |
wktWriter |
Constructor and Description |
---|
JtsGeoshapeHelper() |
Modifier and Type | Method and Description |
---|---|
Geoshape |
geoshape(org.locationtech.jts.geom.Geometry geometry) |
org.locationtech.spatial4j.io.jts.JtsBinaryCodec |
getBinaryCodec() |
org.locationtech.spatial4j.context.SpatialContext |
getContext() |
org.locationtech.spatial4j.io.GeoJSONReader |
getGeojsonReader() |
org.locationtech.spatial4j.io.GeoJSONWriter |
getGeojsonWriter() |
Geoshape.Point |
getPoint(Geoshape geoshape,
int position) |
Geoshape.Type |
getType(org.locationtech.spatial4j.shape.Shape shape) |
org.locationtech.spatial4j.io.WKTReader |
getWktReader() |
org.locationtech.spatial4j.io.WKTWriter |
getWktWriter() |
boolean |
isJts(org.locationtech.spatial4j.shape.Shape shape) |
Geoshape |
polygon(List<double[]> coordinates) |
org.locationtech.spatial4j.shape.Shape |
readShape(DataInputStream dataInput) |
int |
size(org.locationtech.spatial4j.shape.Shape shape) |
void |
write(DataOutputStream dataOutput,
Geoshape attribute) |
protected org.locationtech.spatial4j.context.jts.JtsSpatialContext context
protected org.locationtech.spatial4j.io.WKTReader wktReader
protected org.locationtech.spatial4j.io.WKTWriter wktWriter
protected org.locationtech.spatial4j.io.GeoJSONReader geojsonReader
protected org.locationtech.spatial4j.io.GeoJSONWriter geojsonWriter
protected org.locationtech.spatial4j.io.jts.JtsBinaryCodec binaryCodec
protected org.locationtech.spatial4j.context.jts.JtsSpatialContextFactory factory
public Geoshape geoshape(org.locationtech.jts.geom.Geometry geometry)
public org.locationtech.spatial4j.shape.Shape readShape(DataInputStream dataInput) throws IOException
IOException
public void write(DataOutputStream dataOutput, Geoshape attribute) throws IOException
IOException
public Geoshape.Type getType(org.locationtech.spatial4j.shape.Shape shape)
public int size(org.locationtech.spatial4j.shape.Shape shape)
public Geoshape.Point getPoint(Geoshape geoshape, int position)
public boolean isJts(org.locationtech.spatial4j.shape.Shape shape)
public org.locationtech.spatial4j.context.SpatialContext getContext()
public org.locationtech.spatial4j.io.WKTReader getWktReader()
public org.locationtech.spatial4j.io.WKTWriter getWktWriter()
public org.locationtech.spatial4j.io.GeoJSONReader getGeojsonReader()
public org.locationtech.spatial4j.io.GeoJSONWriter getGeojsonWriter()
public org.locationtech.spatial4j.io.jts.JtsBinaryCodec getBinaryCodec()
Copyright © 2012–2023. All rights reserved.