I see there being the potential to develop a JTS utilities library. Eg,
develop a Feature interface, and FeatureCollection class.
Is this something you would be intererested in managing?
Turns out we did not cover the JTS related issues in the IRC meeting, we were
missing a key developer (Ray), so hope to have it again in a day or so. If
you are interested in joining, what timezone are you in, and what times work
On Tuesday 22 January 2002 04:44, you wrote:
> Hi, Cameron.
> I think I've pretty much missed your conference (since I don't have a
> client, and it would take a while to get one.) But here's my 2 cents
> JTS doesn't implement attributes for two reasons:
> - they're not part of the OpenGIS SFS spec
> - the focus of JTS was on geometric issues, not the (better-understood)
> database issues
> We don't have any plans to implement this in the future. We feel it is
> more properly left up to whatever container is using JTS. For instance,
> PostGIS implements attributes in the standard RDBMS kind of way, and simply
> uses JTS to provide geometric functionality for its builtin Geometry type.
> I would imagine you could use a very similar approach in GeoTools.
> In fact, in an earlier system I had to deal with this very issue. I first
> started by implementing a Geometry hierarchy that supported attributes, but
> that quickly became unwieldy. In the end I had a concept of a Feature,
> which could contain both scalar attributes and a single spatial attribute.
> This fits in nicely with the approach above - you can use JTS Geometrys for
> the spatial attribute. Of course, there's an obvious generalization to
> allow any number of spatial attributes - and if you start heading down that
> road, you might as will end up implementing something like a JDBC
> resultset, allowing any number of typed columns.
> Hope this helps...
> Martin Davis, Senior Technical Specialist
> Vivid Solutions Inc.
> Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
> Phone: (250) 385 6040 Fax: (250) 385 6046
> EMail: mbdavis@... Web: http://www.vividsolutions.com
> > -----Original Message-----
> > From: Cameron Shorter [mailto:cameron@...]
> > Sent: Sunday, January 20, 2002 2:13 AM
> > To: Martin Davis
> > Cc: Geotools Develop
> > Subject: Java Topology Suite, FeatureCollections and Attributes
> > Martin Davis (from JTS),
> > I've been looking closer at using the Java Topology Suite in geotools.
> > It seems you have covered the Geometry functions, but have
> > not included
> > attributes (or "properties" as they are refered to in the GML2 spec).
> > Of note, I want to describe a collection of features, where a feature
> > contains both Geometry, and Properties.
> > Eg, A highway consists of:
> > * Line=coord1, coord2, ...
> > * Spacial Reference System=..
> > * RoadType=Highway
> > * Name="Pacific Highway"
> > ...
> > I assume you have through about how to handle properties, and
> > probably have
> > ideas on how they should be implemented.
> > Do you have any suggestions you would like to pass on?
> > Do you have any plans to implement this is future?