org.geotools.demo
Class FeatureTypeExample

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

public class FeatureTypeExample
extends java.lang.Object

You may of noticed that the use of DataUtilities.createType in the Csv2Shape was a bit of a hack.

Here is why we only use the createType method in examples and test cases:

The following example code can be used as a reference when fixing up Csv2Shape on your own.

Author:
Jody Garnett (Refractions Research)

Constructor Summary
FeatureTypeExample()
           
 
Method Summary
 org.opengis.feature.simple.SimpleFeature createUsingBuilder()
          In GeoTools 2.5 we will switch to using the GeoAPI SimpleFeatureTypeFactory interface for the "raw" create methods (a task made easier with a "builder" as documented here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureTypeExample

public FeatureTypeExample()
Method Detail

createUsingBuilder

public org.opengis.feature.simple.SimpleFeature createUsingBuilder()
In GeoTools 2.5 we will switch to using the GeoAPI SimpleFeatureTypeFactory interface for the "raw" create methods (a task made easier with a "builder" as documented here.

Returns:
null


Copyright © 1996-2010 Geotools. All Rights Reserved.