Community of VE/MapPoint Users and Developers
This is a discussion on Zip Code Fractions within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi there, I am wondering if there is a way to obtain ZIP code fractions that are captured by a ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Zip Code Fractions I am wondering if there is a way to obtain ZIP code fractions that are captured by a radius. I know that you can export all the ZIP codes touched by a radius. But I need the fraction of the ZIP that is actually inside the radius. Essentially, given a radius, I am looking for an output like: Code: ZIP Fraction in Radius ------------- ------------- 12345 78% 23456 92% ... Thanks a lot. Pete Last edited by MapUser; 10-05-2006 at 11:36 AM. |
| |||
|
Hi Pete, For everything there is a way Search point by point in the radius for a street. Then filter out duplicate streetnames. Then you have a location object for every street in your radius. Et voila each object has his zip code and you have to do some simple calculation to get the percentage.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Zip Code Fractions
Hi Wilfried, Thank you very much for your reply. Please excuse my unfamiliar with MapPoint programming API, but could you please advice which function to use to find all the points within a radius and/or zip code? Thank you very much. Pete |
| |||
| Re: Zip Code Fractions
Hi Pete, For each point you wants to check you calculate latitude and longitude. To see if you have an object you can use ObjectsFromPoint(); I have an article that more or less describe what you do. Do a search on 'snap to road' on this site. It start on a position and then it make a vector checking each point with 5 meter interval, increase radius 5 meter until the radius of the circle is reached.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
Oberau Ski
Oberau ski holidays are great for beginners and families wanting to learn how to ski and board. Book with Holiday Hypermarket to have a taste of authentic Austrian village life.
Honeymoon Holidays
Book your Honeymoon holiday with Travel Counsellors. A personal advisor will help you plan the perfect honeymoon holiday.
Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.
Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!
Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com
Price Compare
Visit Travel.co.uk for and compare not only price, but also the wide variety of options available.
Holidays in Cyprus
Visit the tombs of the island kings! Visit On The Beach for information on holidays in Cyprus.