org.geotools.demo
Class Csv2Shape

java.lang.Object
  extended by org.geotools.demo.Csv2Shape

public class Csv2Shape
extends java.lang.Object

This example reads data for point locations and associated attributes from a comma separated text (CSV) file and exports them as a new shapefile. It illustrates how to build a feature type.

Note: to keep things simple in the code below the input file should not have additional spaces or tabs between fields.


Constructor Summary
Csv2Shape()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Csv2Shape

public Csv2Shape()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1996-2010 Geotools. All Rights Reserved.