This example takes a CSV file and produces a shape file.
The interesting part of this example is the use of a Factory when
creating objects.
GeometryFactory factory = new GeometryFactory();
Point point = factory.createPoint(new Coordinate(longitude, latitude));
These two classes come from the JTS Topology Suite responsible for the
"rocket science" aspect of GIS - determining the relationships between
geometry shapes.
Parameters: args - throws: Exception - |