Jody wrote: "So my question is - are you working too hard?"

Yup. But I've learned a lot!

I think I'll fall back to my original plan of just providing
DataObjects for now. When I get this unit tested and working I can
decide if I have the energy to pursue providing SimpleFeatures.

Thanks for all of the help.

Landon

On Tue, Jun 3, 2008 at 2:12 PM, Jody Garnett <[EMAIL PROTECTED]> wrote:
> How is it going? I am a bit worried that you are taking the wrong approach
> here... implementing Attribute, Feature, SimpleFeature etc... is not
> something any other DataStore writer has had to do? It is not expected of
> you; it is not fun; etc...
>
> - SimpleFeature is intended to be simple to use; not to implement
> - Even if you do want to implement SimpleFeature it should be easy; by
> extending an existing implementation and customizing the part you need  (see
> WFSDataStore for an example where we needed to accept the attributes in any
> order...)
>
> So my question is - are you working too hard?
> Jody
>
> Sunburned Surveyor wrote:
>>
>> [3] I'm trying to implement the SimpleFeature.getAttribute(Name
>> argName) method. I would like to know if I should be using the
>> Name.getLocalPart method for this purpose. For example: I've got a
>> SimpleFeature implementation with an attribute that is identified with
>> the name "comment". If I constructed a Name object using the fully
>> qualified name "org.geotools.gpx2.names.comment" would the
>> getLocalPart method be expected to return "comment". I know this will
>> depend on my implementation of the Name interface, but I'm just trying
>> to figure out the expected behavior at this point. In the meantime, I
>> will leave my SimpleFeature.getAttribute(Name argName) method
>> unimplemented.
>>
>> Thanks for the help.
>>
>> Landon
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Geotools-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to