logo separator

[mkgmap-dev] [mkgmap-svn] Commit r4622: - use IsInUtil to do geometry calculations like insideness or outsideness: Allows to remove a lot of complex code but might be slower in some cases.

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Apr 1 13:14:06 BST 2021

Hi Gerd

2 more thoughts:

For elements from Polish input, set a distinct role. This can be
spotted early and either the order rule or direction rule can be
applied (they are closed, so the area/direction can be calculated
immediately). This then allowed OSM data with a blank role to be
handled as suggested earlier.

The error reporting is not good - it can generate many lines in the
log. An idea would be to have:
  Element lists for each way-like problem.
  Counts or flags for other problems.
  etc
and, for each problem detected, add all the ways in JoinedWays,
increase appropriate count, set the flag etc. At the end, if any of
these are populated, output the Relation and then, if full diagnostics,
each populated problem type followed by lists of wayIds on same line
etc.

Ticker




More information about the mkgmap-dev mailing list