Community of VE/MapPoint Users and Developers
This is a discussion on Extracting street names from route Instruction within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Has anyone done or does anyone know how to programmatically extract the street names from a Directions(i).Instruction property? I’d like ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Extracting street names from route Instruction For “Turn RIGHT (East) onto Paradise Lake Rd, then immediately turn RIGHT (South) onto Bostian Rd”, I’d like to get: “Paradise Lake Rd” and “Bostian Rd”. For “Turn RIGHT (North-East) onto SR-202 [NE 175th St]”, I’d like to get “NE 175th St” For “Turn LEFT (North) onto SR-202 [131st Ave NE]”, I’d like to get “131st Ave NE”. For “Take Ramp (RIGHT) onto SR-522” I’d like to get “SR-522”. For “Road name changes to Crystal Lake Rd” I’d like to get “Crystal Lake Rd”. In other words, has anyone figured out the possible formats for this string so they can extract just the street names? Curt |
| |||
|
Hi Code: Directions dir = route.Directions;
for (int i = 0; i < dir.Count; i++) {
object o = i;
map.Location = dir.get_Item(ref o).Waypoint.Location;
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| extracting, instruction, names, route, street |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Route Direction Location Instruction | disweij | MapPoint 2006/2009 Discussion | 3 | 10-17-2005 01:45 PM |
| Street Names etc... | Milo | MapPoint 2006/2009 Discussion | 1 | 04-27-2005 02:16 PM |
| street names | Anonymous | MapPoint 2006/2009 Discussion | 0 | 06-04-2003 06:49 AM |
| Extracting the route sequence | ivtch | MapPoint 2006/2009 Discussion | 2 | 03-11-2003 03:29 PM |
| How can I get all the street names in a city? | Anonymous | MapPoint 2006/2009 Discussion | 4 | 11-04-2002 07:06 PM |
Flights Malaga
Costa Del Sol is known as a destination for the rich and famous. Don't be put off, with Holiday Hypermarket you can book cheap flights and accommodation.
Personal Travel Agent'
Whatever your travel needs your personal Travel Agent can help. Travel Counsellors are a Queen's Award winning Travel Agent
Holidays to Jamaica
At dealchecker.co.uk, we'll shop around for cheap holidays to Jamaica so you don't have to. We search deals from the UK’s top holiday companies all in one go. Try it for free.
Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.
Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.
Holidays Package
Make use of our service at Travel.co.uk to compare holidays. We can find you a package deal that will delight you.
Holidays in Goa
Want to know more about Indian culture? Visit On The Beach for information on holidays in Goa.