attached is version 2 of the patch which checks only first and last node of a road.
I think the code in RouteNode.reportDeadEnds() does not report a dead end oneway if the routeNode contains
a normal (twoway) road because both flags noWayOut and noWayIn are set to false in this case.
> Date: Sun, 10 Mar 2013 15:44:26 +0200
> From: marko.makela@iki.fi
> To: mkgmap-dev@lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Suppressing dead-end-checks for parking entrance/exit
>
> Hallo Gerd,
>
> >if you think that we only have to check the end points, I'll change
> >that.
>
> Yes, I think that there could be some FIXME in the middle of some long
> highway=trunk way that has been drawn as two oneways, for example in a
> junction with another road. We do not want to suppress the dead-end
> checks too lightly.
>
> >Besides that do you think it does what it should?
>
> Yes, it looks good, based on my limited knowledge of the code. I did not
> test it yet. I guess I will have to introduce some error to
> finland.osm.pbf to ensure that it does not suppress too much.
>
> Best regards,
>
> Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev