Re: [mkgmap-dev] New code for splitting polygon

2017-01-12 Thread Gerd Petermann
_ Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Donnerstag, 12. Januar 2017 14:24:37 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] New code for splitting polygon Hi Gerd [responses to both posts] I also got very slightly different results (ie different final img file sizes

Re: [mkgmap-dev] New code for splitting polygon

2017-01-12 Thread Ticker Berkin
> > Von: mkgmap-dev im Auftrag > von Gerd Petermann > Gesendet: Donnerstag, 12. Januar 2017 10:30:50 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] New code for splitting polygon > > Hi Ticker, > > will have

Re: [mkgmap-dev] New code for splitting polygon

2017-01-12 Thread Gerd Petermann
im Auftrag von Gerd Petermann Gesendet: Donnerstag, 12. Januar 2017 10:30:50 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] New code for splitting polygon Hi Ticker, will have a closer look today. I found some cases where the patched version produces different results, not yet sur

Re: [mkgmap-dev] New code for splitting polygon

2017-01-12 Thread Gerd Petermann
-dev im Auftrag von Ticker Berkin Gesendet: Mittwoch, 11. Januar 2017 12:07:55 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] New code for splitting polygon Hi Gerd Here is a unit test for polygon splitting. To go in {trunk}/test/uk/me/parabola/util/ShapeSplitterTest.java Regards

Re: [mkgmap-dev] New code for splitting polygon

2017-01-11 Thread Ticker Berkin
mkgmap-dev@lists.mkgmap.org.uk > Betreff: Re: [mkgmap-dev] New code for splitting polygon > > Hi Gerd > > Will do. Can you point me to an example of the preferred style for a > unit test. > > Thanks > Ticker > > On Sat, 2017-01-07 at 18:14 +, Gerd Petermann wrot

Re: [mkgmap-dev] New code for splitting polygon

2017-01-08 Thread Gerd Petermann
: Sonntag, 8. Januar 2017 11:20:19 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] New code for splitting polygon Hi Gerd Will do. Can you point me to an example of the preferred style for a unit test. Thanks Ticker On Sat, 2017-01-07 at 18:14 +, Gerd Petermann wrote: > Hi Tic

Re: [mkgmap-dev] New code for splitting polygon

2017-01-08 Thread Ticker Berkin
t line > and one or more line segments on the split line? > > Gerd > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Samstag, 7. Januar 2017 18:36:31 > An: mkgmap development > Betreff: [mkgmap-dev] New code for s

Re: [mkgmap-dev] New code for splitting polygon

2017-01-07 Thread Gerd Petermann
18:36:31 An: mkgmap development Betreff: [mkgmap-dev] New code for splitting polygon Hi Gerd I've written some new code for splitting polygons in an efficient manner. The main interface takes a shape and line of latitude or longitude and returns 2 lists of shapes on either side of the line.

[mkgmap-dev] New code for splitting polygon

2017-01-07 Thread Ticker Berkin
Hi Gerd I've written some new code for splitting polygons in an efficient manner. The main interface takes a shape and line of latitude or longitude and returns 2 lists of shapes on either side of the line. There is also a function to clip to rectangle. I've put the code in util/ShapeSplitter but