I've been looking over the GeoTools 2.5 Javadoc for the code to access
ESRI Shapefiles, and I've got a couple of quick questions:

Question 1:
I know the typical usage pattern is to obtain a ShapefileDataStore
from a ShapefileDataStoreFactory, and then use the methods of the
ShapefileDataStore to access Geotools Feature objects from the
underlying Shapefiles. If I just want access to the underlying Shape
(feature geometry) and Object (feature attribute values) data, can I
just create my ShpFiles object and create my ShapefileReader and
DbfFileReader directly?

Question 2:
What type of Object is returned by the ShapefileReader.Record.Shape
method? Is it a JTS Geometry or something else? What is the quickest
way to get this object converted to a JTS Geometry?

Thanks for the help.

The Sunburned Surveyor

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to