Uses of Class
org.locationtech.jts.io.ParseException
-
Packages that use ParseException Package Description org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jtsexample.geom org.locationtech.jtsexample.linearref org.locationtech.jtstest.test org.locationtech.jtstest.testbuilder.model org.locationtech.jtstest.testrunner org.locationtech.jtstest.util.io -
-
Uses of ParseException in org.locationtech.jts.io
Methods in org.locationtech.jts.io that throw ParseException Modifier and Type Method Description private Coordinate[]
WKTReader. getCoordinates()
Returns the next array ofCoordinate
s in the stream.private Coordinate[]
WKTReader. getCoordinatesNoLeftParen()
private java.lang.String
WKTReader. getNextCloser()
Returns the next R_PAREN in the stream.private java.lang.String
WKTReader. getNextCloserOrComma()
Returns the next R_PAREN or COMMA in the stream.private java.lang.String
WKTReader. getNextEmptyOrOpener()
Returns the next EMPTY or L_PAREN in the stream as uppercase text.private double
WKTReader. getNextNumber()
Parses the next number in the stream.private java.lang.String
WKTReader. getNextWord()
Returns the next word in the stream.private Coordinate
WKTReader. getPreciseCoordinate()
private java.lang.String
WKTReader. lookaheadWord()
Returns the next word in the stream.private void
WKTReader. parseErrorExpected(java.lang.String expected)
Throws a formatted ParseException reporting that the current token was unexpected.private void
WKTReader. parseErrorWithLine(java.lang.String msg)
java.util.List
WKBHexFileReader. read()
Reads a sequence of geometries.private java.util.List
WKBHexFileReader. read(java.io.BufferedReader bufferedReader)
Geometry
WKBReader. read(byte[] bytes)
Reads a singleGeometry
in WKB format from a byte array.Geometry
WKBReader. read(InStream is)
java.util.List
WKTFileReader. read()
Reads a sequence of geometries.private java.util.List
WKTFileReader. read(java.io.BufferedReader bufferedReader)
Geometry
WKTReader. read(java.io.Reader reader)
Reads a Well-Known Text representation of aGeometry
from aReader
.Geometry
WKTReader. read(java.lang.String wellKnownText)
Reads a Well-Known Text representation of aGeometry
from aString
.private Geometry
WKBReader. readGeometry()
private GeometryCollection
WKBReader. readGeometryCollection()
private GeometryCollection
WKTReader. readGeometryCollectionText()
Creates aGeometryCollection
using the next token in the stream.private Geometry
WKTReader. readGeometryTaggedText()
Creates aGeometry
using the next token in the stream.private LinearRing
WKTReader. readLinearRingText()
Creates aLinearRing
using the next token in the stream.private LineString
WKTReader. readLineStringText()
Creates aLineString
using the next token in the stream.private MultiLineString
WKBReader. readMultiLineString()
private MultiLineString
WKTReader. readMultiLineStringText()
Creates aMultiLineString
using the next token in the stream.private MultiPoint
WKBReader. readMultiPoint()
private MultiPoint
WKTReader. readMultiPointText()
Creates aMultiPoint
using the next tokens in the stream.private MultiPolygon
WKBReader. readMultiPolygon()
private MultiPolygon
WKTReader. readMultiPolygonText()
Creates aMultiPolygon
using the next token in the stream.private Point
WKTReader. readPointText()
Creates aPoint
using the next token in the stream.private Polygon
WKTReader. readPolygonText()
Creates aPolygon
using the next token in the stream. -
Uses of ParseException in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that throw ParseException Modifier and Type Method Description private Geometry
GeoJsonReader. create(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createGeometryCollection(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createMultiLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createMultiPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createMultiPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private Geometry
GeoJsonReader. createPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)
private GeometryFactory
GeoJsonReader. getGeometryFactory(java.util.Map<java.lang.String,java.lang.Object> geometryMap)
Geometry
GeoJsonReader. read(java.io.Reader reader)
Reads a GeoJson Geometry from aReader
into a singleGeometry
.Geometry
GeoJsonReader. read(java.lang.String json)
Reads a GeoJson Geometry from a String into a singleGeometry
. -
Uses of ParseException in org.locationtech.jtsexample.geom
Methods in org.locationtech.jtsexample.geom that throw ParseException Modifier and Type Method Description void
PrecisionModelExample. difference(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm)
void
PrecisionModelExample. example1()
void
PrecisionModelExample. example2()
void
PrecisionModelExample. intersection(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm)
void
PrecisionModelExample. run()
void
SimpleMethodsExample. run()
-
Uses of ParseException in org.locationtech.jtsexample.linearref
Methods in org.locationtech.jtsexample.linearref that throw ParseException Modifier and Type Method Description void
LinearRefExample. runExtractedLine(java.lang.String wkt, double start, double end)
-
Uses of ParseException in org.locationtech.jtstest.test
Methods in org.locationtech.jtstest.test that throw ParseException Modifier and Type Method Description void
Testable. initGeometry()
void
TestCase. initGeometry()
void
TestCase. runTest()
private Geometry
TestCase. toNullOrGeometry(java.lang.String wellKnownText)
-
Uses of ParseException in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that throw ParseException Modifier and Type Method Description void
TestBuilderModel. changePrecisionModel(PrecisionModel precisionModel)
void
TestCaseEdit. initGeometry()
void
TestRunnerTestCaseAdapter. initGeometry()
void
TestBuilderModel. loadEditList(TestCaseList tcl)
void
TestBuilderModel. loadGeometryText(java.lang.String wktA, java.lang.String wktB)
private void
TestBuilderModel. loadWKTAfterPMChange()
void
TestRunnerTestCaseAdapter. runTest()
Constructors in org.locationtech.jtstest.testbuilder.model that throw ParseException Constructor Description TestCaseEdit(Testable tc)
-
Uses of ParseException in org.locationtech.jtstest.testrunner
Methods in org.locationtech.jtstest.testrunner that throw ParseException Modifier and Type Method Description private Geometry
TestReader. readGeometry(org.jdom2.Element geometryElement, java.io.File wktFile)
private GeometryResult
TestReader. toGeometryResult(java.lang.String value, TestRun testRun)
private Result
TestReader. toResult(java.lang.String value, java.lang.String name, TestRun testRun)
-
Uses of ParseException in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io that throw ParseException Modifier and Type Method Description Geometry
GeoJsonMultiReader. read(java.lang.String s)
Geometry
MultiFormatReader. read(java.lang.String geomStr)
Geometry
WKTOrWKBReader. read(java.lang.String geomStr)
private Geometry
GeoJsonMultiReader. readFeatureCollection(java.lang.String s)
Extracts all Geometry object substrings and reads themprivate Geometry
MultiFormatReader. readGeoJSON(java.lang.String str)
private static Geometry
IOUtil. readGeoJSONFile(java.lang.String filename, GeometryFactory geomFact)
static Geometry
IOUtil. readGeoJSONString(java.lang.String s, GeometryFactory geomFact)
private Geometry
GeoJsonMultiReader. readGeometry(java.lang.String s)
private Geometry
MultiFormatReader. readGML(java.lang.String str)
private static Geometry
IOUtil. readGMLFile(java.lang.String filename, GeometryFactory geomFact)
static Geometry
IOUtil. readGMLString(java.lang.String gml, GeometryFactory geomFact)
private static Geometry
IOUtil. readWKBHexFile(java.lang.String filename, GeometryFactory geomFact)
static Geometry
IOUtil. readWKBHexString(java.lang.String wkb, GeometryFactory geomFact)
private static Geometry
IOUtil. readWKTFile(java.lang.String filename, GeometryFactory geomFact)
static Geometry
IOUtil. readWKTString(java.lang.String wkt, GeometryFactory geomFact)
Reads one or more WKT geometries from a string.
-