spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
Toolbar
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2006
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Sponsors
 Order

MapPoint 2006

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
ViaVirtualEarth
SVG Tutorials
MapPoint

Map Visitors

 Direct Media

IT support
Connect.co.uk provides top-notch IT Support for small and medium-sized enterprises.

ink uk
Thinking ink? We are UK ink specialists, supplying home business and trade users. When getting ink, get in touch. Ink excellence.

Cheap flights to Madrid
Visit Madrid with bullfighting and the "Golden Triangle of Art" ready for you to view. For cheap flights to Madrid book here.

Tenerife Holidays
Tenerife is one of the last remaining European paradise islands. You can book great cheap holidays at On The Beach.

apartments Bulgaria
Apartments available for sale in ski resorts in an around Bulgaria. Choice of custom build or ready made!

Cheap Flights Miami
The best way to find cheap flights to Miami and many other destinations is to shop around. Use dealchecker.co.uk to compare prices.

Paphos
Vacation to Paphos? This year round destination offers a lively but relaxing holiday. Check out the fabulous deals on Ulookubook.com.

  ARTICLES  


Using MapPoint and Excel for Supply Chain Management

John Sewell submitted this 3000 line application developed using MapPoint and Excel which performs a number of functions related to Supply Chain Management

Attached is an Excel Add-in called RouteneXL. It operates by directly linking with Mappoint and contains lots of code using both Excel & MapPoint functionality.

As part of our business - supply chain consultancy - we have done a number of distribution network strategies; with typical components being how many distribution centers to have, where to locate them and every question associated with them. To support this - and reduce the cost of off-the-shelf network modelling software - my colleague, Jon Nicholas, and I have put together a tool kit to support network planning.

I have attached the add-in. We would really be interested in any comments and improvements. The key things the tool does are:

  1. Creating distance & journey time matrices for a series of locations
  2. Creating maps & reports allocating demand points (for instance, stores) to existing hubs (for instance, Distribution centers)
  3. Generating new potential hubs to service demand points
  4. Testing how much difference adding new hubs makes to transport costs
  5. Route planning of deliveries from a hub to demand points
  6. Calculation of Centers of Gravity for the demand points. Either the straight-line location, with the minimum distance (weighted by volume) from all the demand points; or 'real' Center of Gravity, an iterating approach to refine the search based in actual travel distance
  7. Calculation of optimal delivery frequency; given the delivery distance and volumes, how frequently to deliver to each delivery point
  8. A fun utility to calculate the mid point of journeys by journey time; a good one if you have to meet and you want an equitable travelling time!
  9. Various utilities to convert latitude & longitude to addresses and visa versa.

We started in VB.NET but, triggered by David Hager's article about using MapPoint directly from Excel, changed to creating an Excel VBA add-in (mediating with both MapPoint & Excel from a third platform was both beyond us and, and for what we did get running, very slow). In the process we have plundered ideas from the site. As well as David Hager we want to acknowledge Chandu Thota for the techniques for finding an address from Latitude & Longitude and Gilles Kohl for the opposite in CalcPos. We have also relied on John Walkenbach for his Excel expertise.

The tool is currently configured to work with MapPoint Europe but if you change the reference (on the tools menu of Excel VBA) and the file reference on line 24 of the MainMod module we think it should work for Mappoint North America. After that to get running, put the .xla in the Excel Add-in directory. Go into Excel and in tools/add-in menu browse for RouteneXL and load it. It will create an extra menu item in Excel. The code is in Excel VBA (look under Tools/macro) and is without password.

There are about 3000 lines of code, so you might have a bit of wading through to get into it. But we hope you find it interesting and would be really pleased to have any comments and, particularly, improvements or ideas.

Download RouteneXL.zip

Discuss this story in the forum.

Author: John Sewell
Email: John.Sewell(AT)tamarack-uk.com
URL: http://www.tamarack-uk.com
John is a supply chain specialist working for Tamarack Partners, a supply chain consultancy boutique based in the UK. This tool has been developed for supporting logistics network modelling and strategizing typically for retailers or consumer goods manufacturers.

For more more information see the Our Work and Who We Are sections of our web site.



Google
 
MP2Kmag Internet


 Recent Discussion
-Why my new phone isn't an iPhone
-Version 6.0 to 6.1 Auto-Upgrade Alert & V 3-5 Deprecation Reminder
-Accessing MultiMap in the UK. Plus a comparison of UK mapping sites.
-Duplicate double-clicking State name in code?
-Multi-multi-core AMD chips
-Graticule Grids in Virtual Earth
-Location & FindResults not always returning City/State/etc.?
-findout centre of location from a set of long and lat
-How to terminate the process of async webservice method
-Business & trendy mobile phones
-Microsoft Spatial
-Virtual Earth Updates for April 2008
-Twisney
-Where 2.0
-Virtual Earth - Now Hiring
-searching for a map control
-NAVTEQ Announces Semifinalists for the 2008 NAVTEQ Global LBS Challenge® - APAC
-How to detect a particular pushpin
-Photosynth featured on CSI
-DisplayDataMap
-Microsoft Abandoning Yahoo Acquisition
-Microsoft Pro Photo Tools
-Explore Wikipedia with Live Maps
-Pepperwhite Map OCX
-The EcoMap CostaRica website is now up!
 Resources
Browse GIS books and periodicals
Best Car Contract Hire Lease Save
Find a MapPoint Partner or Consultant
Real Estate Columbia Homes for Sale by Owner


Want Your Site To Appear Here?

   © 1999-2008 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006 are either trademarks or registered trademarks of Microsoft.

• Replacement Cordless Phone Batteries from DSMiller
Improve your career with a computer degree LocalEDU.com
• Tim Cohn's Marketing Strategy Consultancy
• Buy Toner, Ink Cartridges & Drums at Marquee Office Solutions
• Looking for Dry Erase Boards? See Dry Erase Boards
• 5339 - We Know Bikes: Road Bikes / Triathlon Bikes / Mountain Bikes / BMX Bikes
• Buy Your Car Used Cars, Car Lease and Contract Hire