public final class Shapefile extends Object
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
contains(double lat,
double lon) |
static void |
createPolygon(List<com.vividsolutions.jts.geom.Coordinate> coords,
File output) |
static Shapefile |
from(File file) |
static Shapefile |
from(File file,
double bufferDistance) |
static Shapefile |
fromZip(InputStream is) |
static Shapefile |
fromZip(InputStream is,
double bufferDistance) |
static org.geotools.data.DataStore |
fromZipAsDataStore(InputStream is) |
List<com.vividsolutions.jts.geom.prep.PreparedGeometry> |
geometries() |
Rect |
mbr() |
void |
writeGeoJson(Writer writer,
String targetCrsName) |
public static void createPolygon(List<com.vividsolutions.jts.geom.Coordinate> coords, File output)
public static Shapefile fromZip(InputStream is)
public static org.geotools.data.DataStore fromZipAsDataStore(InputStream is)
public static Shapefile fromZip(InputStream is, double bufferDistance)
public List<com.vividsolutions.jts.geom.prep.PreparedGeometry> geometries()
public boolean contains(double lat, double lon)
public Rect mbr()
public void close()
Copyright © 2020. All rights reserved.