logo separator

[mkgmap-dev] Simplifying ways & rounding

From Mark Burton markb at ordern.com on Sun Nov 29 00:01:24 GMT 2009

Hello again,

> Been trying your patch and it works well. Certainly doesn't seem to
> break the routing. However, it doesn't always merge ways that, as far
> as I can tell, should be merged. I have studied your code so I know how
> you're doing the matching. One thought, would rounding the coords
> before merging help? If it isn't that, something else must be not quite
> right.

I'm being so stupid today, it's the subdivisions. The lines that are
not matching are in different subdivision so they don't get compared.

That's a shame but the upside of only merging within a subdivision is
that it's really quick.

Mark



More information about the mkgmap-dev mailing list