From: Ron L. <rli...@ya...> - 2013-10-15 07:29:38
|
Wow, what a coincidence. I'll wait for that. Just some other question. Is there any news about supporting arcs in GeoTools? Thanks. Ron ________________________________ From: Andrea Aime <and...@ge...> To: Ron Lindhoudt <rli...@ya...> Cc: "Geo...@li..." <Geo...@li...> Sent: Tuesday, October 15, 2013 9:09 AM Subject: Re: [Geotools-gt2-users] LineSymbolizer.setPerpendicularOffset still unsupported? On Tue, Oct 15, 2013 at 8:58 AM, Ron Lindhoudt <rli...@ya...> wrote: Ok.I can imagine that an offset algorithm is some work if you have to consider a line with multiple line segments. > >What I really want to do is to render graphic symbol some little distance from a line. >For example a line with triangle symbols with the triangle just under the line and not centered with the line. >I tried using AnchorPoint and Displacement but that does not work either. >That only seems to work for labels. >Is AnchorPoint and Displacement not supported for graphic symbols (used for a line in GraphicStroke)? They are not, for the same reason as labels It seems to me that this should not be a lot of work. In this case you don't have to worry about multiple line segments (the distance is very small and drawing symbols on top of eachother cannot be avoided anyway). Incomplete implementations of line offset have already been rejected, we are looking for one that does true offset, not half half (simple reason, you give the partial implementation, walk away, then users start bombarding us with bug requests about it not working in half of the cases). This ticket has a patch that partially works, probably more than the one you're thinking about, but it was still not applied because it does not support properly sharp angle changes, self interescting lines, and rounded corners: http://jira.codehaus.org/browse/GEOT-3912 Good news through, we've just (like, 20 minutes ago) landed a contract to implement the real thing, with curved bends and self intersection properly supported. Don't have a release date yet. Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it/ for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it/ http://twitter.com/geosolutions_it ------------------------------------------------------- |