Just as a guess (I haven't investigated properly yet), maybe there's a motorway_link or trunk_link somewhere?
the routing profiles are here: http://svn.openstreetmap.org/applications/routing/pyroutelib2/weights.py and might be missing some road types that OSM uses? On Fri, Jun 20, 2008 at 8:35 PM, Mark Williams <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Having had another play, I see that the Pyrender map hasn't got the > crossings at Dartford / Thurrock; the M25 just stops at J31! This is > where it becomes the A282 to go over/under the river. > > The only error I can see is that someone has set maxspeed=50mph - not in > map features but, I think, moderately accepted though I won't use it. > > Similarly, the A13 doesn't come up around this same junction. My route > through London actually takes the A1306 (old A13) instead! I'm not sure > at present why - I'm going to delete my cache & try it again while I'm > out now... > > Mark > > OJ W wrote: >> just a quick note on the weightings file: >> >> the number for each route type is a divisor for distance. so a value >> of 3 means "I'd rather travel 3 miles on this type of road than 1 mile >> on an unclassified road" >> >> At the moment, it has: >> >> 'motorway': {'car':10}, >> >> so it will go 10 miles on motorway in preference to 1 mile on >> unclassified road or 2 miles on primary road. Those numbers are >> probably wrong so feel free to change them - all the optimisations >> I've done so far have been for cyclists. >> >> I suspect it's getting confused by the trunk roads through london, and >> thinking they're the same as real trunk roads in ruralshire which you >> can actually travel along at an appropriate speed. >> >> p.s. anyone know if our "toll areas" (e.g. congestion charge) are in a >> consistant direction? e.g. if they were all anticlockwise then you'd >> know that crossing the boundary from right to left of the way incurs >> the charge without having to download the whole lot and do an "is >> inside?" calculation. >> >> >> >> >> >> On Fri, Jun 20, 2008 at 12:18 AM, Mark Williams >> <[EMAIL PROTECTED]> wrote: >> OJ W wrote: >>>>> Import should be complete now. Delete any cached data to see the new copy. >>>>> >>>>> the easiest way to check the data in your area is probably to run >>>>> pyrender and view the slippy map in a web browser >>>>> >> OK, great - that works a lot better. I see it's optimised for shortest >> distance - cross London rather than M25. I'll explore it later & see >> what's tweakable. >> >> That took a few minutes to get to the far side of Wales, including >> download (with the OSM servers down, so as tough as it's getting?) & >> succeed on all my previous failed tests, so clearly the old data was the >> answer. Additionally it finds my favourite routes ;) >> >> Well done, and thanks! >> >> Mark >>> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIXAaPJfMmcSPNh94RAmiDAJ0U7SCAJpROLwZAJL47jVpHkX+y5wCglX62 > 8M2oRNz8REcHC+xA/fOdEL4= > =ERc5 > -----END PGP SIGNATURE----- > > > _______________________________________________ > Routing mailing list > [email protected] > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/routing > _______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/routing
