Re: [Geotools-devel] GeoAPI Feature Model Revamp

2007-09-15 Thread Jody Garnett
Hi Andrea - a more detailed response this time: > * PropertyType.getRestrictions(): List. > Does this list include the parent restrictions? Would be nice so. Afraid not - we need to consult getSuper().getRestrictions() as well. > * AssociationType javadoc. > We should have the notion of simple

Re: [Geotools-devel] GeoAPI Feature Model Revamp

2007-09-15 Thread Jody Garnett
Thanks for getting back to me. > Jody Garnett ha scritto: >> Hi Andrea; I am afraid you missed the part we needed your help on - >> choose between these code examples. > I fear you did not read the place in my mail where I talk about it: Sorry Andrea; I was hoping you woudl delete the page that d

Re: [Geotools-devel] GeoAPI Feature Model Revamp

2007-09-15 Thread Andrea Aime
Jody Garnett ha scritto: > Hi Andrea; I am afraid you missed the part we needed your help on - > choose between these code examples. I fear you did not read the place in my mail where I talk about it: "About the Feature.getDefaultGeometry(), I prefer this alternative compared to getDefaultGeomet

Re: [Geotools-devel] GeoAPI Feature Model Revamp

2007-09-15 Thread Jody Garnett
Hi Andrea; I am afraid you missed the part we needed your help on - choose between these code examples. - http://docs.codehaus.org/display/GEOTDOC/02+Measurement+Example+with+getGeometry Here is an example of what we are having trouble with: > String sitename = (String) feature.getAttribute( "si

Re: [Geotools-devel] GeoAPI Feature Model Revamp

2007-09-15 Thread Andrea Aime
Hi all, I've reviewed Justin work, Jody featureland document, and this is my take on them. Warning, long email, thought most of what I'm going to say is not earth shattering. About the javadocs -- First off, Justin, nicely done, the Prope