MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint - TopScore property

This is a discussion on Mappoint - TopScore property within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am trying to use the TopScore to find if the address i was trying to locate is a perfect ...


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-22-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Mappoint - TopScore property

I am trying to use the TopScore to find if the address i was trying to locate is a perfect match or not,..

But i seem to get a score .95 for a good address and the same .95 for a slightly bad one. if i type in a slightly bad zipcode, mappoint seems to adjust to the nearest match and give me a .95 score, rather than a bad score,..

I need to find if the address is good or not,, and don;t want the nearest match,, how do i do this ? i am using the mappoint web service in a asp .Net application.

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-23-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hello,

Do you have some examples that I can take a closer look at?



Steven Pushee

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.
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 03-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Dim myAddress As New Address()
Dim findAddressSpec As New FindAddressSpecification()
Dim AddressResults As FindResults

findAddressSpec.InputAddress = myAddress
findAddressSpec.DataSourceName = "MapPoint.NA"

myAddress.AddressLine = Request.Form("Address")
myAddress.PrimaryCity = Request.Form("City")
myAddress.Subdivision = Request.Form("State")
myAddress.PostalCode = Request.Form("ZIP")
myAddress.CountryRegion = "US"

AddressResults = findService.FindAddress(findAddressSpec)

if (AddressResults.TopScore < 1 ) then
errorString = "BAD ADDRESS"
End if

//trying to use the
AddressResults.TopScore property to determine the score,.. but i get a 0.95 for a good address and 0.95 for a address which is failry close,.. mappoint just finds a close match (which sometimes is not what i want)

i do get a 0.5 score sometimes if i have a colorado zip of a newyork address or something that bad,. a slight mistake like zipcode is close or its the street name is mispelt slightly,.. i get a 0.95,..

the problem is i Never get a 1 for the topscore if the address is a perfect match..

let me know if u need more example/code to help me out here,..

- anu
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 03-24-2004
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,471
Blog Entries: 1
Example addresses would probably be helpful.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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 03-26-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Example ..

Sample Address

10719 GREEN LAKE ST
SAN ANTONIO, TX 78212


- anu
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
mappoint, property, topscore


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
Highlight property Yazzy MapPoint 2006/2009 Discussion 1 03-08-2005 03:38 PM
Property MatchingMethod results (VBA) Anonymous MapPoint 2006/2009 Discussion 0 11-05-2004 11:47 AM
DivideByField doesn't work property with 0 value Anonymous MapPoint 2006/2009 Discussion 2 02-02-2004 04:25 AM
Where are the saved property in mappoint Anonymous MapPoint 2006/2009 Discussion 1 05-15-2003 07:33 AM
Altitude property Labtek MapPoint 2006/2009 Discussion 2 05-02-2003 10:28 PM


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