org.geotools.demo.jts
Class GeometryExample
java.lang.Object
org.geotools.demo.jts.GeometryExample
public class GeometryExample
- extends java.lang.Object
This example shows how to perform some common JTS Geometry tasks as per JTS Topology Suite.
The JTS Topology Suite is a library of topology abstractions and operations
used by GeoTools to represent "Simple Feature for SQL" constructs like Point, Line
and Polygon. GeoTools itself includes an "ISO Geometry" module representing Point, Curve
and Surface.
Use JTS it works! Leave ISO Geometry for experimenta only.
- Author:
- Jody Garnett
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryExample
public GeometryExample()
createPoint
public void createPoint()
- Example of creating a Point.
wktWriter
public void wktWriter()
parseWKT
public void parseWKT()
main
public static void main(java.lang.String[] args)
- Parameters:
args
-
getExamples
public static java.util.List<java.lang.reflect.Method> getExamples()
Copyright © 1996-2010 Geotools. All Rights Reserved.