Hi Ashley: 

You are welcome to work on the code; there are many examples of how to use 
builder (but you have the general idea there). If you want to store non point 
data in a CSV file I recommend using the "well known text" format as described 
in the tutorials. 

-- 
Jody Garnett


On Wednesday, 10 August 2011 at 12:28 AM, mortac8 wrote:

> Hey guys thanks for the help! I got it working.
> 
> I see that the SimpleFeatureTypeBuilder uses Point.class for its "Location". 
> This might be a stupid question but is there a way I can have the location
> be either a Point or a Polygon? Would I create two Location objects or??? 
> What is the proper way to do something like that?
> 
> builder.add( "CITY", String.class );
> builder.add( "NUMBER", String.class );
> builder.add( "Location", Point.class ); 
> builder.add( "Location", Polygon.class ); //?
> 
> Thanks again!
> Ashley
> 
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Adding-CSVDataStore-to-GeoServer-tp6600438p6668298.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com 
> (http://Nabble.com).
> 
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model 
> configuration take the hassle out of deploying and managing Subversion and 
> the tools developers use with it. Learn more about uberSVN and get a free 
> download at: http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to