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

Street names: partial matching

This is a discussion on Street names: partial matching within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am working with MapPoint Europe 2004 and I need to perform a search for addresses that may only partially ...

  1. #1
    apravettoni is offline Junior Member White Belt
    Join Date
    Jun 2005
    Posts
    3

    Street names: partial matching

    I am working with MapPoint Europe 2004 and I need to perform a search for addresses that may only partially match the street name (city, and country of the address have to be completedly matched) because I found that many street named after some famous persons in Italy are recorded differently from town to town (for example, I found matches for "via Garibaldi" in some towns and for "via Giuseppe Garibaldi" in others, but a search just for "Garibaldi" matches only the former).

    Is there any filter or wild character that may be used in the FindAddressResult function to perform a partial search of the street name part of the address ? Or shall I hope in a better search engine in the next release of MapPoint ?

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    It will do a partial search in the beginning of the name. But not wildcards or things to find things in the middle or end of the name (as far as I know). You can however build yourself a database from out all the names by scanning the whole country.

  3. #3
    apravettoni is offline Junior Member White Belt
    Join Date
    Jun 2005
    Posts
    3
    Thank you Wilfried.

    It seems Map Point Europe will not do a partial search in the beginning of the names (at least, for Italian addresses).

    Can you tell me a good way to scan all the addresses of a country?


    Thank you.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    To scan all addresses it is easy to do if you do like a television

    make lat/long point at upper/left of the country. then make a scan offset of let's say 25 meter (?? maybe some experiment first) then start scanning, incrementing longitude until a certain maximum (upper / right of country), then decrement latitude, rewind longitude and start over again incrementing longitude. repeat until latitude reach a certain minimum (bottom line of country).

    I never done this, but I think it look easy done. Maybe do first some experiment to see what a good offset is. Maybe 25 meter is to large because you could skip an entire (small) street. The smaller the more doubles you will get, so it has to be filtered out later.

    I also suggest you do it on a machine that you dont use for a while, it may slow down the whole system and it could take very long time

  5. #5
    apravettoni is offline Junior Member White Belt
    Join Date
    Jun 2005
    Posts
    3
    Hi.

    Thank you for your help.
    I will try your algorithm and I think that I will use an offset of 5 or 10 meters, just to avoid missing small street.

  6. #6
    SimonPearse is offline Junior Member Yellow Belt
    Join Date
    Jun 2004
    Posts
    15
    my experience suggests you need an offset of 4 metres max.
    running under winxp and compiled in vb6 it will take several weeks, and mappoint will crash after about 10 hours due to memory leakage....

  7. #7
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Thanks for feedback.

    I'm not surprised about the time (I did not do any calculation), but the crash is a good feedback. So it is very important to keep track about used memoy and stop / start your application (eventually by write a batch fil from out of your application) tostart again and remember where you are.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW CAN IMPORT STREET NAMES TO MAPPOINT?
    By vicmar in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-21-2005, 01:32 PM
  2. Street Names etc...
    By Milo in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-27-2005, 03:16 PM
  3. Retrieve street names within shape
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-19-2003, 05:52 AM
  4. street names
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-04-2003, 07:49 AM
  5. How can I get all the street names in a city?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-04-2002, 08:06 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 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96