MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Export Zip Codes Along A Route

This is a discussion on Export Zip Codes Along A Route within the MapPoint Desktop Discussion forums, part of the Map Forums category; Here is what we would like to do: Use the route planner to generate a route as well as a ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-02-2009
Junior Member
White Belt
 
Join Date: Jul 2009
Posts: 1
Export Zip Codes Along A Route

Here is what we would like to do:

Use the route planner to generate a route as well as a boundary around that route. Let's say the route would be from Boston to New York and we want to have a 25 mile boundary along that route. Now, I want to export all zip codes that either fall within that boundary or cross that boundary. The catch is, I don't want this from data I've already imported, I just want the standard zip codes already in MapPoint.
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 07-03-2009
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,308
Re: Export Zip Codes Along A Route

Hi,

Programatically this is possible. You make a shape around the route and get all zip code.
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 07-06-2009
Senior Member
Blue Belt
 
Join Date: Oct 2003
Location: London
Posts: 269
Re: Export Zip Codes Along A Route

Wilfried, is it possible to give some general guidance on how you would draw up a shape like this along a route using code. I had a similar issue a few months back and couldn’t come up with a solution so I ended up drawing free form sausage shapes!! The other idea I had was to set waypoints at small intervals along the route and then find postcode (zip) centroids within 25km of each one but again I couldn’t figure out how to add in the waypoints.

Rgds
__________________
David
UK mapping and map analysis services at www.broomanalysis.plus.com
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 07-06-2009
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,324
Blog Entries: 32
Re: Export Zip Codes Along A Route

Depends on how accurate and how bendy the roads are!

You need some locations along the route. The individual directions have locations but these are for views of that particular direction. These might be good enough but there's no guarantee that they'll actually be on the road route.

The alternative would be to set the route to "shortest distance" and add lots of rest stops (every few minutes). Then extract the locations for each rest stop. These will be on the route.

Then you use some geometry to find two points on each side of these central points. Then connect up into a polygon. You will need to code the geometry yourself - finding the normal to the route is probably a good start, then project outwards.
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
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 07-06-2009
Senior Member
Blue Belt
 
Join Date: Oct 2003
Location: London
Posts: 269
Re: Export Zip Codes Along A Route

I did try the ‘rest stops at tiny intervals’ strategy, with the idea being to identify each postcode sector centroid within 25km of a rest stop and then sift out duplicates. If I recall rightly what happened, on motorways and fast dual-carriageways the rest stops become much further apart because of the scarcity of junctions and when you plot the results the sausage gets very narrow along these stretches!!
__________________
David
UK mapping and map analysis services at www.broomanalysis.plus.com
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 07-08-2009
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,308
Re: Export Zip Codes Along A Route

Hi,

I think the thechnique that Richard describes is the best one to go
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 07-09-2009
Senior Member
Blue Belt
 
Join Date: Oct 2003
Location: London
Posts: 269
Re: Export Zip Codes Along A Route

This is a bit academic but another question. If you calculate a route from A to B and then trace that route with the scribble or freeform tool, is it possible to work out latitude and longitudes for points along that line, say at 1km intervals. I can see how that would then be a basis for drawing an accurate shape around the route and calculating zips.
__________________
David
UK mapping and map analysis services at www.broomanalysis.plus.com
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 07-09-2009
Senior Member
Blue Belt
 
Join Date: Oct 2003
Location: London
Posts: 269
Re: Export Zip Codes Along A Route

I’ve just realised that it’s possible to draw the sausage shape along a route by using Find Nearby on the route. Therefore it must be straightforward with some code to output all the zip centroids falling into the shape.
__________________
David
UK mapping and map analysis services at www.broomanalysis.plus.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 07-09-2009
Senior Member
Red Belt
 
Join Date: Dec 2002
Posts: 568
Re: Export Zip Codes Along A Route

Hi David,

I thought that this was the problem:

" The catch is, I don't want this from data I've already imported, I just want the standard zip codes already in MapPoint."

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
  #10 (permalink)  
Old 07-09-2009
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,324
Blog Entries: 32
Re: Export Zip Codes Along A Route

davidb: If there is a long distance between two points, then why not simply interpolate between the two points?

To do it properly, you should interpolate along a great circle arc, but for the tens of miles at a 'temperate' latitude (doesn't work for polar regions!) that I think we're talking about, then a simple linear interpolation should be okay.
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
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
codes, export, route, zip


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/export-zip-codes-along-route-10723.html

Posted By For Type Date
Export Nearby Places List to Excel - MAP POINT 2009 - microsoft.public.mappoint | Google Groups This thread Refback 08-12-2009 02:09 PM
Export Nearby Places List to Excel - MAP POINT 2009 - microsoft.public.mappoint | Google Groups This thread Refback 07-20-2009 08:50 PM
MapPoint 2009 — Covering the latest version of the MapPoint Desktop Product - MapPoint 2009. This thread Refback 07-06-2009 11:34 PM
MapPoint For Dummies - MP2K Magazine This thread Refback 07-06-2009 08:47 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 07-06-2009 04:42 AM
Alltop - Top Geography News This thread Refback 07-02-2009 04:29 PM

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
Does MapPoint 2006 export Zip Codes to Excel (if territories are counties)? SentryEquip MapPoint Desktop Discussion 0 06-25-2008 03:41 PM
Draw shape, select zip codes and export to SQL mmartin MapPoint Desktop Discussion 2 04-02-2007 05:24 PM
Export Zip Codes To Excel JimS MapPoint Desktop Discussion 4 01-24-2006 02:46 PM
Export Zip Codes to Excel Problem Anonymous MapPoint Desktop Discussion 0 11-09-2004 05:24 PM
Find and Export of ZIP Codes Anonymous Wish List 1 01-16-2003 07:22 PM


All times are GMT -5. The time now is 07:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
MP2K Magazine
Visitor Map



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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67