Hi,

I'm not an expert on this, but I think you should try and use GeoTools
2.3.1:
http://geotools.codehaus.org/2.3.1
API http://javadoc.geotools.fr/2.3/

You probably have to write your own methods to read the csv or text
files and generate the correct objects from the values read in. These
will be geometries or features or something. You probably then need to
stuff these into a special collection and then use something like
ShapefileWriter.

Others know better than I. There may be an demo or example for what you
want.

HTH,

Andy
http://www.geog.leeds.ac.uk/people/a.turner/ 
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
ELENA BELLODI
Sent: 03 July 2007 10:54
To: [email protected]
Subject: [Geotools-gt2-users] java files to create shp, shx and dbf
files?

Hello all,
I'd have a question about shapefile I wish you can resolve: I have to do
a java program which reads some coordinates of points from a file (for
exemple csv or txt files) and creates 3 files: .shp, .shx and .dbf (dbf
contains informations relative to each point). I haven't understood what
I can download for my purpose, and if there is all I need for my work
already ready in the web site. Can you help me?, because it's very
urgent!

Thanks,
Elena.

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the FREE version of DB2 express and take control of your XML. No limits.
Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to