You should fix, that nobody uses the "impl" directly and the interface says
Object not Geometry.

*
http://docs.geotools.org/latest/javadocs/org/opengis/feature/GeometryAttribute.html


>From the javadocs - "Implementations of this interface may wish to type
narrow Property.getValue() to be specific about the type geometry. For
instance to return explicitly a JTS geometry."

So make a new feature implementation to store your new geomerties. One
reason we use a factory here is so that you can inject the factory into a
datastore and ask it to create this data structure when reading from disk.

But yeah *much* of the code does assume JTS Geometry, and if we want to
take advantage of this design we will need to work very hard to make it
happen.


--
Jody Garnett

On 24 March 2016 at 20:18, hgryoo <hyunggyu.r...@gmail.com> wrote:

> Dear Jody,
> Thank you for really quick response.
> Yes, I am one of the members of the group in South Korea.
>
> As you mentioned, I think I might have some misunderstanding.
> For example, I thought GeometryAttributeImple is coupled with JTS library
> because JTS Geometry class is used in GeometryAttributeImpl class.
> But, as you explained, GeometryAttributeImpl is one of implementations of
> GeometryAttribute interface, using JTS library.
> So my understanding is that all implementations of Feature, FeatureType,
> Filter, Expression and JDBC plugin are dependent on JTS library.
> To support features with 3D geometry properties, interfaces in essential
> modules such as Feature, FeatureType, Filter, and Expression should be
> implemented for ISO19107 interfaces separately from JTS classes.
> Do you think I am correct?
>
> Regards, Ryoo
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Coupling-problem-between-JTS-and-Geotools-tp5258264p5258273.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to