MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Canada Airports not "real" airports?

This is a discussion on Canada Airports not "real" airports? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; When searching through the list of items near a particular location & using category to look in, I find that ...


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 10-18-2005
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Canada Airports not "real" airports?

When searching through the list of items near a particular location & using category to look in, I find that Canadian Airports are not listed in the Major or minor airports. Is there some reason for this, or just an oversite. And can I work around it somehow? For example, I can find all the instances of car rentals and the Vancover International Airport, but can't find just "Vancover International Airport", under Major or Minor Airport category.

Steve
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-18-2005
calv1ns's Avatar
Member
Green Belt
 
Join Date: Mar 2005
Posts: 91
Canada eh

Get used to these oversights in Canada Steve. Canadian Postal Codes are not 'real' in the same way.

As for a work around I'm not sure without knowing your goals. However try this snippet of code and you'll see some interesting results. Run it once with the FindPlaceResults as "YVR" Vanc International and you will see the Airport is Found with No Place Category. Run it again with the FindPlaceResults as "SEA" Sea-Tac down the road and over the magic boundary and again the Airport is found but this time with Index 1 as Major Airport.

If you can make use of the FindPlaceResults method (and the airport codes) you will get your Canadian airports.

Code:
   Set wk_results = myobj.FindPlaceResults("YVR")
   If wk_results.Count = 0 Then
      wk_result = "No records found. "
      wk_istat = 0
   Else
      Debug.Print "results found: " & Str(wk_results.Count)

      For Each wk_obj In wk_results
        wk_str = ""
        
        wk_str = Str(wk_obj.Type) + " " + wk_obj.Location.Name + " - "
        If Not wk_obj.PlaceCategory Is Nothing Then
           wk_str = wk_str + vbCrLf + Str(wk_obj.PlaceCategory.Index) + " / " + wk_obj.PlaceCategory.Name
        Else
           wk_str = wk_str + vbCrLf + "No Index / No Category Name"
        End If
        
        Debug.Print wk_str
      Next
   End If
you'll need to to the set up for myobj and wk_results.
Dim myobj as MapPoint.Map
Dim wk_results as MapPoint.FindResults

good luck and Ciao,
__________________
Calv1ns
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-19-2005
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
Hmmm... Guess I should have been a bit more specific. I'm using C++ MFC invokeHelper classes that calls the Goto (lat, long) and then FindNearby function. Even though the location is in the middle of the airport, this for some reason never returns the Vancover Airport, no matter how far I widen the search. I can find other airports (minor), but not major ones.
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-21-2005
calv1ns's Avatar
Member
Green Belt
 
Join Date: Mar 2005
Posts: 91
Steve

The tools you use are not important to the problem. Whatever tools you use you will not find YVR as a major airport in MapPoint 2004. I'm saying the FindPlaceResults() method using an Airport Code will work to find airports in Canada. You can add some code to your C++ app to use the FindPlaceResults() rather than the FindNearBy() method when processing with Canada. I tested this some more and found it hit and miss. For example YVR and YYC (Calgary) work. YEG (Edmonton) doesn't.


Now you have me interested! Do you mean that you can find Minor airports in Canada with the FindNearBy() method? I messed with this some more and even in bare MapPoint when you do a FindNearby Places I can not find a single airport around Vancouver (i.e. Boundary Bay, Abbostford, Pitt Medows). But in Washington State I can find even the little Whidby Island Air Park. If you try this notice the blue aiport icon that is on the USA Major and Minor Airports that isn't there for the Canadian ones.

Ciao,
__________________
Calv1ns
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 10-24-2005
Junior Member
Yellow Belt
 
Join Date: Oct 2005
Posts: 27
I stand corrected. You cannot find *any* airports in Canada using FindNearby. Increasing out the distance eventually just pulls in airports from the US. My mistake.
In my case, I have to use FindNearby because I only have the lat, long, not the airport identifier. I orginally thought it would show up but without a catagory, but apparently not because it's not "REAL".

Steve
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 10-27-2005
calv1ns's Avatar
Member
Green Belt
 
Join Date: Mar 2005
Posts: 91
Yup - Steve

Only the people in Canada are 'real.'

Bonjour!
__________________
Calv1ns
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 10-28-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Quote:
Originally Posted by calv1ns
Only the people in Canada are 'real.'
But also the people in the other parts of the world. I'm pretty sure I'm not virtual

Even God is real if not declared as integer
And infinitive if divided by zero
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
airports, canada, real


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
Mappoint exception "Call was rejected by callee" jliao81 MapPoint 2006/2009 Discussion 1 06-03-2005 08:53 AM
Find Airports only? MS4246 MapPoint Web Service and Virtual Earth 1 03-29-2005 09:01 AM
Error "overflow execution stack" while readinq a Anonymous MapPoint 2006/2009 Discussion 5 02-18-2005 02:47 PM
Do I need "Autoroute Europe", if I install "M bigtail MapPoint 2006/2009 Discussion 1 03-24-2004 12:58 AM
Export "Find nearby places" along a route? Anonymous MapPoint 2006/2009 Discussion 4 11-06-2003 10:56 AM


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


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