public class JtsPolyshapeReader extends PolyshapeReader
PolyshapeReader.XReader
Modifier and Type | Field and Description |
---|---|
protected JtsSpatialContext |
ctx |
Constructor and Description |
---|
JtsPolyshapeReader(JtsSpatialContext ctx,
SpatialContextFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected CoordinateSequence |
coordseq(List<double[]> list) |
protected Shape |
makeCollection(List<? extends Shape> shapes)
Subclass may try to make multiple points into a MultiPoint
|
protected Shape |
readPolygon(PolyshapeReader.XReader reader) |
getFormatName, read, read, readIfSupported
protected final JtsSpatialContext ctx
public JtsPolyshapeReader(JtsSpatialContext ctx, SpatialContextFactory factory)
protected Shape makeCollection(List<? extends Shape> shapes)
PolyshapeReader
makeCollection
in class PolyshapeReader
protected CoordinateSequence coordseq(List<double[]> list)
protected Shape readPolygon(PolyshapeReader.XReader reader) throws IOException
readPolygon
in class PolyshapeReader
IOException
Copyright © 2015. All rights reserved.