Hello surveyor-in-the-sun,

You are describing the concept of 'association' between Features. The
upcoming, improved feature model, aka. "complex-feature," is going to
handle this case and so explicit development of and support for this
functionality has been, as I understand it, waiting on the
complex-feature effort. The whole thrust of geotools 2.5 is to land this
model but it may take several months so you will have to decide, based
on your timeframe, how to proceed.

The association could be modeled in several ways, either as a property
of the original features (e.g. each 'campfire' has a 'nearest trailhead
feature' association pointing to a feature in the other layer) or as a
new Feature with associations to both the 'campfire' and its 'nearest
trailhead,' one in each layer.

Your case screams for some fun spatial analysis behind it---I am
jealous. ;-)

--adrian


On Tue, 2008-02-19 at 13:36 -0800, Sunburned Surveyor wrote:
> I talked to Jody, and it sounds like he is out of the office for some 
> training.
> 
> I was asking him if GeoTools has any code to support spatial
> relationships. I realize this is a little vague, so let me give you an
> example of what I am trying to do:
> 
> The user has two (2) point layers in their GIS. The first point layer
> represents illegal campfire rings, the second layer represents a point
> of access into national forests from a public highway. (This could be
> a trailhead or campground.)
> 
> The user wants to examine the spatial relationship between each point
> on the illegal campfire ring layer with each point on the access
> layer. In this case the attribute of the spatial relationship the user
> would be most interested in would be the distance between the two
> points.
> 
> I want to write code that would store the information about the
> spatial relationships between these two point layers in tabular
> format. This storage could be in-memory or persistent. I also want to
> allow the user to associate their own attributes with such a
> relationship. (For example, a boolean value indicating if there is a
> well worn path between the fire ring and the closest point of access.)
> 
> This spatial relationship framework would allow quick access and
> inquiries of the spatial relationship attributes in tabular form.
> 
> Is there something similar this in GeoTools? I would like to build on
> and/or integrate with existing GeoTools code if it is possible,
> instead of starting completely from scratch.
> 
> Thanks,
> 
> The Sunburned Surveyor
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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

Reply via email to