MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Zip Code Fractions

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 ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-05-2006
Junior Member
White Belt
 
Join Date: Oct 2006
Posts: 4
Zip Code Fractions

Hi there,

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.
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 10-05-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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.
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 10-17-2006
Junior Member
White Belt
 
Join Date: Oct 2006
Posts: 4
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
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 10-19-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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.
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


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


All times are GMT -5. The time now is 05:14 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

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.


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