Discussion:
MapPointUnroutableException error
(too old to reply)
Antonio
2009-01-29 10:59:00 UTC
Permalink
Dear all,
I have a strange problem. I have tre points located in Rome (Italy). You can
view these here:
http://bit.ly/4e57En

They have these coordinates from North so South:
a) +41° 59' 37.47", +12° 31' 26.40"
b) +41° 54' 10.07", +12° 28' 52.77"
c) +41° 52' 47.80", +12° 27' 59.05"

If I use the code below to calculate the best route I have this
MapPointUnroutableException error:
One or more waypoints are not routable in the specified data source.

Here you can find the code I have used:
http://paste.ubuntu.com/111185/

If I change the order of points, I have no errors for some combination of
points. In example: c), b), a) or b), a), c).

I do not understand why I have these erros, these points all seem to me
routable. They are inside a big city, above a street.

I'm using this service:
routeservice.Url =
"http://routev3.staging.mappoint.net/Route-30/RouteService.asmx"

Do you know why I have this errors?

Thank you very much,

Antonio
Derek Chan
2009-02-05 17:28:41 UTC
Permalink
Hi,

You need to use the Mappoint.WorldRoutable datasource rather than
Mappoint.EU when calculating these routes in Europe. I've managed to make a
route go from these two points:

lat/lon
41.993741
12.524001

to

41.879945
12.466404

Regards,
--
Infusion Development
http://www.infusion.com
Post by Antonio
Dear all,
I have a strange problem. I have tre points located in Rome (Italy). You can
http://bit.ly/4e57En
a) +41° 59' 37.47", +12° 31' 26.40"
b) +41° 54' 10.07", +12° 28' 52.77"
c) +41° 52' 47.80", +12° 27' 59.05"
If I use the code below to calculate the best route I have this
One or more waypoints are not routable in the specified data source.
http://paste.ubuntu.com/111185/
If I change the order of points, I have no errors for some combination of
points. In example: c), b), a) or b), a), c).
I do not understand why I have these erros, these points all seem to me
routable. They are inside a big city, above a street.
routeservice.Url =
"http://routev3.staging.mappoint.net/Route-30/RouteService.asmx"
Do you know why I have this errors?
Thank you very much,
Antonio
Loading...