Hi Sergey,

I don't know of an existing solution but it sounds like something that
could be done by writing a process class and using it in a rendering
transformation:

http://docs.codehaus.org/display/GEOTOOLS/Rendering+transformations

I'm copying this to Andrea who is the guru in this area.

Michael


On 19 June 2012 21:32, LSA <[email protected]> wrote:

> **
> Hi all!
>
> Is it possible to render point layer as line layer?
>
> In my situation, all points have "time" attribute (which impose order on
> the set of point), and I would like to draw line between p1 and p2, when
> time(p1) 'strictly less' then time(p2), i.e. there are no point p3 between
> them, such that time(p1)<time(p3)<time(p2).
>
> Of course, I can use
> [image: Open Declaration] org.geotools.swing.event.MapPaneListener,
>
> and by redefining method onRenderingStopped I can analyze my layer, sort
> points by time, and then 'connect the dots'. Downside of this approach is
> performance and memory degradation, since I need to keep in memory entire
> set of points for some time (when sorting them and rendering).
>
>
>
> What can I do? Maybe some out-of-the-box solution exists?
>
>
> Thanks,
> Sergey
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

<<6.png>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to