View Single Post

  #5 (permalink)  
Old 01-06-2005
Winwaed's Avatar
Winwaed Winwaed is offline
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 892
Blog Entries: 9
I think I understand and I'm having a similar problem - or I think I am.

I have a client test dataset with 1000+ pushpins. I think these have been imported and a handful haven't been matched. Perhaps MapPoint couldn't find the addresses.
When I try to measure a distance to them (eg. via Gilles' location finding code) I get an assertion. This is because the pushpin in question doesn't have a valid location. (cf. MapPoint help).

So is there a way that I can detect if a pushpin has been matched without a dummy call to DistanceTo (or Gilles location code) and trapping an assertion. Trapping an assertion is very ugly and slow - but might be the best way.

The help says there's a geoByNone value for the MatchingMethod properties.
Jim, you're saying this isn't being set!? Typical, isn't it?


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Reply With Quote