Re: [mkgmap-dev] Multipolygons

2009-08-11 Thread Garvan maew
Steve Ratcliffe wrote: Hi I am going to merge all the multipolygon fixes. Including, if appropriate, the sea polygon changes. In addition to the patches sent to the list I also have permission to use the attached patch from Olaf Kähler which he describes as follows: I guess, mkgmap

Re: [mkgmap-dev] Routing with the default style

2009-08-11 Thread Mark Burton
Hello Nop, I am just having my first look at creating a routable map. It appears that the default style completely disregards the access tags access=no, vehicle=no, motorvehicle=no and motorcar=no. Naturally I'd like to exclude these from routing, but there seem to be no rules evaluating

Re: [mkgmap-dev] Rounding bug in splitter?

2009-08-11 Thread Chris Miller
private int roundDown(int val) { return val SHIFT SHIFT; } I would write this as return val ~(1 SHIFT); That's not the same thing though. I assume you really mean: return val ~((1 SHIFT) - 1); And in fact that's what was there originally for positive numbers. Negative numbers were

Re: [mkgmap-dev] Rounding bug in splitter?

2009-08-11 Thread Marko Mäkelä
On Tue, Aug 11, 2009 at 06:52:35AM +, Chris Miller wrote: private int roundDown(int val) { return val SHIFT SHIFT; } I would write this as return val ~(1 SHIFT); That's not the same thing though. I assume you really mean: return val ~((1 SHIFT) - 1); And in fact

Re: [mkgmap-dev] [PATCH v1] Better rounding in mkgmap

2009-08-11 Thread Clinton Gladstone
On Tue, Aug 11, 2009 at 3:50 PM, Elrondelrond+openstreetmap@samba-tng.org wrote: As rounding seems a current topic, I'm throwing in a patch that is sitting in my tree for a while now: How can I best test this patch? Is there something I can look for without examining the binary data of the

Re: [mkgmap-dev] [PATCH] Style additions for marine navigation markers

2009-08-11 Thread Elrond
Hi, I have no idea on sailing (despite I'd like to somehow). Looking at your mods... +man_made=pier {name '${name} (${man_made})' | '${man_made}' 1. Did you miss the } at the end? Or am I missing something obvious? 2. Shouldn't that line before the other man_made=pier line? Elrond

Re: [mkgmap-dev] Rounding bug in splitter?

2009-08-11 Thread Valentijn Sessink
Chris Miller schreef: but my impression is that the conclusion was that the splitter should be rounding areas off to boundaries in multiples of 4096 rather than 2048? As far as I've seen - thanks to Steve Ratcliffe's findings - divisible by 2048 is enough, if you make sure that the difference

Re: [mkgmap-dev] [PATCH] Style additions for marine navigation markers

2009-08-11 Thread Clinton Gladstone
On Aug 11, 2009, at 17:59, Elrond wrote: Looking at your mods... +man_made=pier {name '${name} (${man_made})' | '${man_made}' 1. Did you miss the } at the end? Or am I missing something obvious? 2. Shouldn't that line before the other man_made=pier line? Yes, it looks like the final }

Re: [mkgmap-dev] Splitting multipolygons

2009-08-11 Thread Steve Ratcliffe
On 10/08/09 15:07, Nop wrote: There are other outstanding mulitpolygon fixes that may help too. The first of which is applied to the multipolygon branch: I am not sure I understand. Do maps split with splitter also have the problem of missing polygons at the moment? The splitter doesn't

[mkgmap-dev] Changed build.xml for DEM generation

2009-08-11 Thread jspanke
Hi, I'm using Linux and was searching for a way to create contour lines. Therefore I was amazed that Christian Gawron just added the functionality to mkgmap in svn. But then I realized, that it was disabled again. Therefore I would like to propose the changes to the build.xml file and the