public class HanaDimensionFinder extends Object
JTS coordinate sequences are often three-dimensional, but their coordinates don't have a third ordinate (i.e. it is NaN). This class checks if all coordinate sequences in a geometry claiming to be three-dimensional really have a third ordinate.
Modifier and Type | Method and Description |
---|---|
static int |
findDimension(Geometry g)
Finds the coordinate dimension of a geometry.
|
public static int findDimension(Geometry g)
g
- A geometry. Must not be null.Copyright © 1996–2022 Geotools. All rights reserved.