_
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
>
> 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
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
-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
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
: 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
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
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.
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