Quote:
Originally Posted by Larry
I am guessing that for your test the order just happened to match what you expected but this usually not the case using IDW. (unfortunately)
Hi Larry,
When I created the test file I did enter them in roughly the right order for a decent route.
However, after I read your reply about having to make Streets optimize the route I intentionally shuffled the order in the import file, as I mentioned in my last post.
After importing, I checked the dataset properties Matching tab and it looks like they came in in the same order as in the import file.
I did not look at the order in the route planner after I clicked to send the dataset to the route planner as stops. I just poked the "Get directions" button and had a good route without any other action.
I did some more testing after reading your comments. Again, I made sure my test file was ... well, not random but intentionally in a really stupid order.
For the record, the stops are not in one city. They are spread across western Canada, from Regina to Vancouver. So it's easy to force them into an order that will result in a really stupid route if Streets tries to use them in anything but one specific order.
This time I paid more attention as I went through the steps. And here's where it gets really interesting....
You can't fool the Route Planner!
That puppy is doing some routing even as you add stuff to it.
A) I checked the Matching tab in the Dataset properties to verify that the list came in in the same order as the import file, eg. will produce a totally wacked route if used in this order. Then, after I clicked to add the pushpin set as stops I opened the route planner pane and ... ??? ... what the heck?? They're already arranged in the right order!!
I did this three times, first mixing the import file into a different order each time, verifying in the Pushpin properties Matching tab that they came in in the order expected and then clicking to add the pushpin set as stops. Every time, when I clicked up the route planner pane, there they sat in the correct order for a good route. !!!
B) I figured you might be tempted to suspect the Import Data Wizard again, as you did in your last post so best I do some more testing to completely rule that possibility out.
With an empty route planner and the pushpins displayed on the map, I clicked them one at a time and added each as a stop. ... Note that I did NOT add any of them as a Start or End. I added every one of them as a Stop and I did it in an intentionally wacko order so that using them in the order I added them would have me crisscrossing western Canada for thousands of extra miles.
I watched the route planner pane as I added each one. As the second, third and Nth pushpins were added, the route planner instantly slotted them into the correct order for a good route.
Note, it did NOT ever add them into the next empty slot in the route planner if that was not the right place in the routing order.
So, the route planner is doing the routing live, as the pushpins are added, whether you add them individually or as a batch. All the "Get directions" button seems to do is just draw the squiggly line on the map and make up the directions text. The routing was already done as the stops were added.
Interesting.
RE: Matching annoyances ... I'll take a look at your files to see what's different from my test file. I've never been able to throw anything at Streets that would make it pop a matching dialog for me. It ALWAYS matches to something. If it doesn't like the address, it just defaults to matching on the City. If it doesn't like that, it defaults to matching on the province.
One of my problem items is a misspelled street name -- "Wedden" on the map, "Weeden" in reality.
- If I use "Wedden" it finds the address.
- If I use "Weeden" it just defaults to matching on the City.
No dialog, no warning, no opportunity to tell it anything.
I haven't ever been able to find any combination of stuff that will cause it to give me an error or pop a matching dialog ... not in 2008, 2009 or 2010.
Is there a setting somewhere that controls this behaviour that I have not been able to find?
...ken...