public class IOUtil extends Object
| Constructor and Description |
|---|
IOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
readFile(String filename,
GeometryFactory geomFact) |
static Geometry |
readGeoJSONString(String s,
GeometryFactory geomFact) |
static Geometry |
readGMLString(String gml,
GeometryFactory geomFact) |
static Geometry |
readWKBHexString(String wkb,
GeometryFactory geomFact) |
static Geometry |
readWKTString(String wkt,
GeometryFactory geomFact)
Reads one or more WKT geometries from a string.
|
public static Geometry readFile(String filename, GeometryFactory geomFact) throws Exception, IOException
ExceptionIOExceptionpublic static Geometry readWKTString(String wkt, GeometryFactory geomFact) throws ParseException, IOException
wkt - geomFact - ParseExceptionIOExceptionpublic static Geometry readWKBHexString(String wkb, GeometryFactory geomFact) throws ParseException, IOException
ParseExceptionIOExceptionpublic static Geometry readGMLString(String gml, GeometryFactory geomFact) throws ParseException, IOException, SAXException, ParserConfigurationException
public static Geometry readGeoJSONString(String s, GeometryFactory geomFact) throws ParseException
ParseExceptionCopyright © 2025. All rights reserved.