hello there,

i am looking at using the geotools library to implement a tool that reads 
polygon geometry data from a CSV file, and generate a corresponding shape 
file.

a cursory look at the documentation (both the javadoc, the features list and 
DataStore tutorial documents) and the classes in org.geotools.data.shapefile 
(and the corresponding test package) suggest that this is do-able.

basically this tool will:

a. read a source CSV file, either directly or through a concrete DataStore (a 
subclass of AbstractDataStore).

b. create a new target shape file.

c. iterate over the polygons (JTS MultiPolygon instances) and for each one 
write a corresponding feature in the target shape file.

d. close the target shape file.


has anybody done that sort of work before?  if yes, have you encountered any 
constraints/limitations you would like to share?  any specific documentation 
i should look at/read more closely before starting?


TIA + cheers;
rsn

Attachment: pgpS0ttIXjiQl.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to