Roger that. My task list:

- Figure out how to create an AttributeDescriptor array from a
DBaseFileHeader object.
- Document this process.
- Whip up a little helper class that makes this process painless.
- Check JIRA and let Geotools know if OpenJUMP has any Shapefile
import patches they need.

Landon

On Tue, Sep 15, 2009 at 3:52 PM, Jody Garnett <jody.garn...@gmail.com> wrote:
>
> On 16/09/2009, at 8:04 AM, Sunburned Surveyor wrote:
>
>> 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?
>
> These are produced by looking at the shapefile header; review how the
> getSchema method works in order to see where the shapefile header is parsed.
>
>> 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?
>
> Yes and Yes.
>
>> 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. :]
>
> That would be fun;
>
>> 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?
>
> It is not being generated at this time - indeed I failed to produce it
> during the 2.6-M2 release last week. Andrea has had more success then me and
> has mentioned adding it to a nightly build.
>
> Jody
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
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