org.geotools.demo.jts
Class GeometryExample

java.lang.Object
  extended by 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

Constructor Summary
GeometryExample()
           
 
Method Summary
 void createPoint()
          Example of creating a Point.
static java.util.List<java.lang.reflect.Method> getExamples()
           
static void main(java.lang.String[] args)
           
 void parseWKT()
           
 void wktWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryExample

public GeometryExample()
Method Detail

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.