Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 Dec 2010 19:41:34 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Murat -
Here's an alternative thought that you might find simpler than
JTS - why not store the area of the object (car, bus) as a property
of the object and have the sensor query this property and "respond"
appropriately?
-Mike
On 12/21/2010 5:38 PM, murat karakaya wrote:
> Mark,
> Thank you for the reply,
> however, I'm looking for a simpler solution -in terms of learning time of new classes-
>
> murat
>
> On Tue, Dec 21, 2010 at 4:11 PM, Mark Coletti <[log in to unmask] <mailto:[log in to unmask]>>
> wrote:
>
> On Mon, Dec 20, 2010 at 6:12 PM, Murat KARAKAYA <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
> > I want to simulate a sensor network composing of static sensor nodes which
> > monitor a road for passing-by objects. These mobile objects are in different
> > shapes and areas. I want to sensor nodes would sense the object not by its
> > center coordinates but by its area. For example a car object would have a
> > small rectangle area wrt that of a bus object.
>
> You may want to look into GeoMason. Though the intent with GeoMason
> is to deal with geospatial entities, it is wrapped round the Java
> Topology Suit (JTS). JTS provides the type of functionality you are
> looking for, including querying Geometry area.
>
> GeoMason is found in the "contrib" directory in the main MASON distribution.
>
>
|
|
|