Hi all,

Just added this plugin (should be available in next NB).

Firstly, I thought it was available in JTS, but the JTS OffsetCurveBuilder
produce a rough offset curve often containing self-intersection and needs
to be post-processed to get something more usable.

Here is the process :
- compute rough offset curve (distance=d)
- node the result (with UnaryUnionOp)
- remove components located at a distance < d from the source
  (this is the tricky part as the computed offset curve itself may
   be slightly inside the distance - I estimated the error and took
   1 more percent to be sur no valid component are discarded,
   but it may still fails in some situations like using join mitre
   with a small limit or using a fixed precision model)
- merge the remaining linestrings

Here are some results


 

------------------------------------------------------------------------------
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/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to