logo separator

[mkgmap-dev] Commit: r1265: Added --drive-on-left, --drive-on-right and --check-roundabouts options.

From Mark Burton markb at ordern.com on Wed Oct 7 10:43:39 BST 2009

Hi Marko,

> I tried --drive-on-right --check-roundabouts, and the generated map is of
> the same size as with r1260.  There are much more diffs than the time
> stamps, though.  This is with 3 tiles and 2 cores.

The code that calculates the arc headings is probably producing a
slightly different result (+/- 1 deg) so it's possible that's what all
the changes are (if so, not a problem).

> I did not get any warnings or messages on stdout or stderr, or any assertion
> failures.  Does this mean that Finland is OK?  Or should I enable some magic
> logging property to see the errors?

Yes, you need to have a logging.properties file (see previous postings)
that enables logging for warnings either to the console or to log files.

> One more question: What about roundabouts that have been split because of
> bus route relations (bus routes would usually not circle the whole
> roundabout)?  Does mkgmap merge them already? Could it? Would some
> style tagging be needed, in case someone wants to do special line styles
> or naming based on bus routes?

The roundabout checking code tries to check roundabout segments and
will report any that it thinks have the wrong direction but it will not
reverse any because the check can be fooled. I checked all the
roundabouts on the GB mainland and quite a few segmented roundabouts
that had segments going in the wrong direction where detected. Quite
often, ways get the junction=roundabout tag by mistake (i.e. the're not
actually part of a roundabout) and the check will find around 50%
of those errors.

Cheers,

Mark



More information about the mkgmap-dev mailing list