Re: [JPP-Devel] new OffsetCurve plugin for OpenJUMP

2012-08-13 Thread Rahkonen Jukka
Michaël Michaud wrote: > Hi   >> One quick question: PostGIS and Spatialite ST_OffsetCurve function is >> turning the line >> direction with right hand offset >ST_OffsetCurve(GEOMETRY,15,0) >> Just read PostGIS documentation today (I'd better have read it before, but >> better late than never ;-

Re: [JPP-Devel] new OffsetCurve plugin for OpenJUMP

2012-08-13 Thread Michaël Michaud
Hi   One quick question: PostGIS and Spatialite ST_OffsetCurve function is turning the line direction with right hand offset ST_OffsetCurve(GEOMETRY,15,0) Just read PostGIS docu

Re: [JPP-Devel] new OffsetCurve plugin for OpenJUMP

2012-08-13 Thread Rahkonen Jukka
Hi, One quick question: PostGIS and Spatialite ST_OffsetCurve function is turning the line direction with right hand offset ST_OffsetCurve(GEOMETRY,15,0) This is not always a good behavior. User is perhaps willing to create parallel pipelines or roads and maintain the original line direction bo

Re: [JPP-Devel] new OffsetCurve plugin for OpenJUMP

2012-08-12 Thread Michaël Michaud
Hi, What about non simple lines and multilinestrings ? I just added a patch to return the rough offset curve in case of non simple input line. For multilinestrings, offset are computed individually for each component, then combined.

[JPP-Devel] new OffsetCurve plugin for OpenJUMP

2012-08-12 Thread Michaël Michaud
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 m