I figured out I need to use the ShapefileAttributeReader class to get
low-level access to Shapefiles:

http://javadoc.geotools.fr/2.5/org/geotools/data/shapefile/ShapefileAttributeReader.html

However, I have a question on the appropriate use of the consuctor. I
need to pass the constructor an array of AttributeDescriptor objects.
How do I get the AttributeDescriptor object's to pass to the
constructor?

Why is this parameter needed? I want to read all of the
attributes...Is the information needed to perform casting/conversion
of the attribute values to the correct object type (Boolean, Integer,
Double, String...)? Do I need to build my array of AttributeDescriptor
objects using the DBaseFileHeader class?

If I write some helper code that combines some of the steps needed to
get an attribute value from a Shapefile, can we find a home for it?

If I get this information I can add some content to the javadoc
comments of the constructor. I might even be able to whip up a short
tutorial for the wiki. :]

Thanks for the help.

Landon

P.S. - The Geotools web site at the OSGeo looks great! But, I didn't
see a link to the Javadoc there. Was I missing it?

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to