MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I have a dataset of 390 hospitals with zipcodes, d....

This is a discussion on I have a dataset of 390 hospitals with zipcodes, d.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have a dataset of 390 hospitals with zipcodes, divided into high and low volume categories. I would like to ...


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

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I have a dataset of 390 hospitals with zipcodes, divided into high and low volume categories. I would like to be able to calculate the average distance from any given low-volume hospital to the closer high-volume hospital. I tried to look at Gilles Kohl message cited in the answer to another question here with a similar problem, but was not able to find it in the newgroup. Thanks!
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-10-2002
Senior Member
Green Belt
 
Join Date: Aug 2002
Posts: 124
This is a fairly brute force problem. First I assume you have MapPoint
datasets with this data, right? Also, what distance do you want, crow flight
or driving? Basically you would have to do code with an outer loop to access
each low-volume hospital, and inner loop to process each high-volume
hospital. Then calculate the distance you want between each outer-inner loop
pair. Either use the Distance method to get the crow flight distance, or
create a route with each set of inner-outer loop points as waypoints to get
the driving distance. Save the results to a database. Then you can run a
query to find the minimum distance for each low-volume hospital. Not too
hard, but a fair number of steps involved.


- Walt Cygan
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
390, dataset, hospitals, zipcodes


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
zipcodes Anonymous MapPoint 2006/2009 Discussion 1 02-16-2005 09:31 AM
Extract all zipcodes from MapPoint via C#.NET Anonymous MapPoint 2006/2009 Discussion 1 08-09-2004 10:56 PM
Mapping Zipcodes in Puerto Rico Anonymous MapPoint 2006/2009 Discussion 1 11-19-2003 11:22 PM
Possible to Locate all Hospitals in 1 mile radius? ChrisC MapPoint 2006/2009 Discussion 1 01-08-2003 06:09 PM
Showing Zipcodes shaistasohail MapPoint 2006/2009 Discussion 0 09-03-2002 07:03 PM


All times are GMT -5. The time now is 03:15 AM.


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


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