Uses of Class
org.locationtech.jts.io.ParseException
Packages that use ParseException
Package
Description
Contains the interfaces for converting JTS objects to and from other formats.
-
Uses of ParseException in org.locationtech.jts.io
Methods in org.locationtech.jts.io that throw ParseExceptionModifier and TypeMethodDescriptionprivate Coordinate[]
WKTReader.getCoordinates()
Returns the next array ofCoordinate
s in the stream.private Coordinate[]
WKTReader.getCoordinatesNoLeftParen()
private String
WKTReader.getNextCloser()
Returns the next R_PAREN in the stream.private String
WKTReader.getNextCloserOrComma()
Returns the next R_PAREN or COMMA in the stream.private 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 String
WKTReader.getNextWord()
Returns the next word in the stream.private Coordinate
WKTReader.getPreciseCoordinate()
private String
WKTReader.lookaheadWord()
Returns the next word in the stream.private void
WKTReader.parseErrorExpected
(String expected) Throws a formatted ParseException reporting that the current token was unexpected.private void
WKTReader.parseErrorWithLine
(String msg) WKBHexFileReader.read()
Reads a sequence of geometries.private List
WKBHexFileReader.read
(BufferedReader bufferedReader) WKBReader.read
(byte[] bytes) Reads a singleGeometry
in WKB format from a byte array.WKTFileReader.read()
Reads a sequence of geometries.private List
WKTFileReader.read
(BufferedReader bufferedReader) 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 ParseExceptionModifier and TypeMethodDescriptionprivate Geometry
GeoJsonReader.create
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createGeometryCollection
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createLineString
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createMultiLineString
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createMultiPoint
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createMultiPolygon
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createPoint
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private Geometry
GeoJsonReader.createPolygon
(Map<String, Object> geometryMap, GeometryFactory geometryFactory) private GeometryFactory
GeoJsonReader.getGeometryFactory
(Map<String, Object> geometryMap) 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 ParseExceptionModifier and TypeMethodDescriptionvoid
PrecisionModelExample.difference
(String wktA, String wktB, PrecisionModel pm) void
PrecisionModelExample.example1()
void
PrecisionModelExample.example2()
void
PrecisionModelExample.intersection
(String wktA, 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 ParseExceptionModifier and TypeMethodDescriptionvoid
LinearRefExample.runExtractedLine
(String wkt, double start, double end) -
Uses of ParseException in org.locationtech.jtstest.test
Methods in org.locationtech.jtstest.test that throw ParseExceptionModifier and TypeMethodDescriptionvoid
Testable.initGeometry()
void
TestCase.initGeometry()
void
TestCase.runTest()
private Geometry
TestCase.toNullOrGeometry
(String wellKnownText) -
Uses of ParseException in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that throw ParseExceptionModifier and TypeMethodDescriptionvoid
TestBuilderModel.changePrecisionModel
(PrecisionModel precisionModel) void
TestCaseEdit.initGeometry()
void
TestRunnerTestCaseAdapter.initGeometry()
void
TestBuilderModel.loadEditList
(TestCaseList tcl) void
TestBuilderModel.loadGeometryText
(String wktA, String wktB) private void
TestBuilderModel.loadWKTAfterPMChange()
void
TestRunnerTestCaseAdapter.runTest()
Constructors in org.locationtech.jtstest.testbuilder.model that throw ParseException -
Uses of ParseException in org.locationtech.jtstest.testrunner
Methods in org.locationtech.jtstest.testrunner that throw ParseExceptionModifier and TypeMethodDescriptionprivate Geometry
TestReader.readGeometry
(org.jdom2.Element geometryElement, File wktFile) private GeometryResult
TestReader.toGeometryResult
(String value, TestRun testRun) private Result
-
Uses of ParseException in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io that throw ParseExceptionModifier and TypeMethodDescriptionprivate Geometry
GeoJsonMultiReader.readFeatureCollection
(String s) Extracts all Geometry object substrings and reads themprivate Geometry
MultiFormatReader.readGeoJSON
(String str) private static Geometry
IOUtil.readGeoJSONFile
(String filename, GeometryFactory geomFact) static Geometry
IOUtil.readGeoJSONString
(String s, GeometryFactory geomFact) private Geometry
GeoJsonMultiReader.readGeometry
(String s) private Geometry
private static Geometry
IOUtil.readGMLFile
(String filename, GeometryFactory geomFact) static Geometry
IOUtil.readGMLString
(String gml, GeometryFactory geomFact) private static Geometry
IOUtil.readWKBHexFile
(String filename, GeometryFactory geomFact) static Geometry
IOUtil.readWKBHexString
(String wkb, GeometryFactory geomFact) private static Geometry
IOUtil.readWKTFile
(String filename, GeometryFactory geomFact) static Geometry
IOUtil.readWKTString
(String wkt, GeometryFactory geomFact) Reads one or more WKT geometries from a string.