MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Used roads

This is a discussion on Used roads within the Development forums, part of the MapPoint 2006/2009 Discussion category; Hi, I developed a VBA code which returns a distance matrix between every destination I have to visit. But to ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion > Development

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-18-2008
Junior Member
White Belt
 
Join Date: Feb 2008
Posts: 9
Used roads

Hi,

I developed a VBA code which returns a distance matrix between every destination I have to visit. But to analyze the costs I have to know how much kilometres the vehicles drove both on highways and freeways because there is an extra tax for using freeways.
By the way, the calculate method always calculates the shortest way between two points, isnīt it?
So is it possible to possible to point out how much kilometres my vehicles drove on each road type?

Greetz
Kikolino
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-18-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 237
Re: Used roads

Hi Kikolino,

I think it can be done, but not easily, using the segmentdirection action
and instruction and the pixel.

Mike Mattys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-20-2008
Junior Member
White Belt
 
Join Date: Feb 2008
Posts: 9
Re: Used roads

Hi Mike,

Thanks, I think I get your idea, I have to count the segment directions and then calculate with the pixels the kilometers droven on each road or direction. Is it something like that? Unfortunately I donīt know how to handle it.

Best regards
Kikolino
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-20-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 237
Re: Used roads

Hidden right in front of everyone is the fact that road-type
is designated by a specific color. One has to be very good
with graphics in order to take advantage of this.

Worse yet, though, is the fact that one cannot zoom in to
a specific place when addressing a segment direction.
This was a very clever 'by-design' feature.

Mike Mattys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-20-2008
lfdmike's Avatar
Member
Yellow Belt
 
Join Date: May 2004
Posts: 45
Blog Entries: 7
Re: Used roads

I do not know the Euro edition of MP, but I know in the NA version the route planner gives out the road name and distance traveled on it. Here is a snippet from a route by my house
Code:
Time	Mile	Instruction	For	Toward
9:03 AM	2.0	Turn LEFT (East) onto CR-VV [Silver Spring Dr]	3.6 mi	
9:08 AM	5.6	Keep STRAIGHT onto CR-VV [W Silver Spring Dr]	1.4 mi	
9:10 AM	7.0	Road name changes to CR-E [W Silver Spring Dr]	0.3 mi	
9:11 AM	7.4	Take Ramp (RIGHT) onto US-45 [Zoo Fwy]	6.4 mi	US-45
9:17 AM	13.8	Take Ramp (LEFT) onto I-94	0.9 mi	I-94 / Milwaukee
9:18 AM	14.7	At exit 306, turn RIGHT onto Ramp	0.2 mi	WI-181 / 84th Street
9:18 AM	14.9	Turn RIGHT (South) onto SR-181 [S 84th St]	0.2 mi
CR means it is a county road
SR means it is a state hgihway
US means it is a US Highway
I means it is part of the US Interstate System
After that is the name/number of the road.

If I drive down by Mr Frost's place to the south of me, there are toll roads. The route planner also tells me that by saying *toll road* at the beginning of the line

Depending on how that tax is setup, you may have to integrate a db lookup on a roads name in cases where some roads of a type are taxed and others are not

I hope some of this info may help you, Mike
__________________
Mike Mueller
Lannon Fire Department
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-20-2008
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 237
Re: Used roads

Hey Mike!
I hadn't looked at that for a while - thanks!
I'll be rewriting some code ...

Mike Mattys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 03-20-2008
lfdmike's Avatar
Member
Yellow Belt
 
Join Date: May 2004
Posts: 45
Blog Entries: 7
Re: Used roads

What looks hard can be easy and vice versa.

Glad it isn't just some harebrained idea of mine
__________________
Mike Mueller
Lannon Fire Department
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 03-20-2008
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,377
Blog Entries: 1
Re: Used roads

Quote:
Originally Posted by lfdmike View Post
If I drive down by Mr Frost's place to the south of me...
Let me know when you're coming and I'll make sure we have a six pack to crack open..
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
roads


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/used-roads-7319.html

Posted By For Type Date
Used roads - MapPoint Forums This thread Refback 03-26-2008 12:36 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 03-19-2008 11:02 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Is it possible to create your own roads? alwasl8 MapPoint 2006/2009 Discussion 1 08-22-2007 01:35 PM
Roads Attributes Gianmaria MapPoint 2006/2009 Discussion 1 03-22-2006 02:54 PM
How to deal with multiple roads? fredbovy MapPoint 2006/2009 Discussion 2 11-14-2005 04:06 AM
New- able to see roads as dirt roads Anonymous Wish List 0 12-13-2003 07:46 AM
Shapes behind roads? Anonymous MapPoint 2006/2009 Discussion 0 08-27-2003 09:35 AM


All times are GMT -5. The time now is 01:08 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Flight Times
At Holiday Hypermarket not only can you book some great value flights but we have links to help you check flight times for arrivals and departures from each airport.

Business Travel Agent
Book your business travel with a specialist business travel agent. Travel Counsellors are an award winning travel agent.

Cape Town Cheap Flights
Thinking about visiting Cape Town. Cheap flights are hard to find unless you visit dealchecker.co.uk. We'll shop around so you don't have to.

Jamaica Holidays
Jamaica holidays give you the chance to enjoy the vibrant cultural heritage and wonderful laid back atmosphere of the Caribbean. Book here!

Morocco
Gain insight on your holiday destination with the ULookUBook travel guides. Find out about Morocco and its customs online. Make an informed decision when you make a booking.

Price Comparison
Price comparison is the name of the game at Travel.co.uk. Visit our website and see for yourself.

Cheap Sharm el Sheikh Holidays
Visit the Red Sea Riviera! Info on cheap Sharm el Sheikh holidays, found at On The Beach.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52