Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Mappoint - TopScore property

This is a discussion on Mappoint - TopScore property within the MapPoint Desktop 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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Example addresses would probably be helpful.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Example ..

    Sample Address

    10719 GREEN LAKE ST
    SAN ANTONIO, TX 78212


    - anu

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Highlight property
    By Yazzy in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-08-2005, 03:38 PM
  2. Property MatchingMethod results (VBA)
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-05-2004, 11:47 AM
  3. DivideByField doesn't work property with 0 value
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-02-2004, 04:25 AM
  4. Where are the saved property in mappoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-15-2003, 07:33 AM
  5. Altitude property
    By Labtek in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-02-2003, 10:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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