This method was lame; it was exactly the same as calling
- attributeType instanceof GeometryAttributeType

So if you have code like that please check to see if your
- attributeDescriptor instanceof GeometryAttributeDescriptor

You will also find that GeometryAttributeDescriptor allows:
- you to hold an Object for the Geometry; so we can move on past JTS 
Geometry
- reports back the CoordinateReferenceSystem and Bounds

(if I remember correctly).
Jody
PS. you are having a whole bunch of talented questions; it would really 
help if you had either commit access (for helping with javadocs) or wiki 
access (for jotting notes down for the next person :-)
PPS. yes GeoTools is accepting volunteers ;-)

> What is the replacement for the old AttributeType.isGeometry() method?
> (The method returned true if the type of this attribute was a geometry
> type.)
>
> My guess is:
>
> AttributeType.getBinding().isAssignableFrom(Geometry.class)
>
>
> But I wanted to make sure that was right before I made the change and
> introduced a hard-to-track-down bug.
>
>
> Thanks,
>
>
>
> Tim Swanson 
> Software Engineer
>
>
> Tyler Technologies, Inc.
> 14142 Denver West Parkway, Suite 155
> Lakewood, CO 80401
> Phone:  
> Fax: 303-271-1930
> E-mail: [EMAIL PROTECTED]
> Web: www.tylertech.com
>
> -------------------------------------------------------------------------
> 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-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   


-------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to