Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: GPS "New Address" Feedback

  1. #1
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040

    GPS "New Address" Feedback

    I have been looking at many handheld devices and trying to decide on something...

    Loading all the zipcodes or streets for an entire map is slow, takes memory, IO, and not very practical...

    I have it currently where when you click "New Address" in the navigation menu it goes straight to asking for your City, then your Street, the your House number...

    It simplifies the process and makes things run much faster...

    What you lose is the abilty to search based on all the streets before selecting a city, the list was way too large IMOP anyway...

    you also would lose the ability to search based on zip code...

    just looking for feedback...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  2. #2
    Low Bitrate Flappy's Avatar
    Join Date
    Jun 2004
    Location
    Netherlands
    Posts
    103
    I use my carputer for over 1 year now, with different frontends. I have Centrafuse since 3 months now, and i'm pretty sure i will stay with this.
    Navigation is used several times a day, but i never navigate using ZIP codes. Personally i think it won't be any loss.
    AsRock AM2 dual VGA
    AMD Sempron 3000+
    512MB DDR
    3,5" 80GB harddrive
    Liliput 7"
    TFT 15"
    M2-ATX

    0% [OOOOOOOO-] 100%

    My install

  3. #3
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,443
    I have managed to load all the postcode / zip files within a couple of seconds.. well in a fashion.

    ok.. this is in short how I do it..

    First get the count of the list.. ie. zipcount.

    If this count is over say 5000 items.. I then split this array up.. ie..

    Code:
    If ca.ItemCount > 4999 Then
                splitlist = True
                splitby = 1000
                For n = 0 To arraycount - 1 Step splitby
                    ReDim Preserve splitlistarray(c + 1)
                    If position = 1 Then
                        If searchby = "city" Then splitlistarray(c) = FDest.GetCityNameFromID(ca.Item(n))
                        If searchby = "street" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                        If searchby = "postcode" Then splitlistarray(c) = FDest.GetZipCodeFromID(ca.Item(n))
                    End If
                    If position = 2 Then
                        If searchby = "city" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                        If searchby = "street" Then splitlistarray(c) = FDest.GetCityNameFromID(ca.Item(n))
                        If searchby = "postcode" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                    End If
    
                    If n > ProgressBar1.Value + pb Then ProgressBar1.Value = n : ProgressBar1.Refresh()
                    c = c + 1
                Next
                ctto = 1000
            Else
                ctto = ca.ItemCount
                splitlist = False
            End If
    This then loads a new array up.. and at its greatest here in the uk 1.2 million postcodes.. it then only holds an array of 1000...

    Then Say you want to start searching for a postcode.. you input S..

    you then compare each value in the new array. Its then very easy to find which one contains the S your after, you then load just this array group and then search this array group for the needed one.

    Using this way proves very fast..

    Although the main downfall of using your own address list search is the fact the Destnators list is not in alpha order.. theres lots of pit falls, and I have come to thinking the only real way to do it is to embed the default address search dialog again.

    hope this helps, if you want to check out the speed.. download a quick avi from www.freedrive.co.uk/address.zip

    CdR

    p.s. also the avi taken is playing in the IDE, so its also faster than you see when its compiled ;-)

  4. #4
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by CdRsKuLL View Post
    I have managed to load all the postcode / zip files within a couple of seconds.. well in a fashion.

    ok.. this is in short how I do it..

    First get the count of the list.. ie. zipcount.

    If this count is over say 5000 items.. I then split this array up.. ie..

    Code:
    If ca.ItemCount > 4999 Then
                splitlist = True
                splitby = 1000
                For n = 0 To arraycount - 1 Step splitby
                    ReDim Preserve splitlistarray(c + 1)
                    If position = 1 Then
                        If searchby = "city" Then splitlistarray(c) = FDest.GetCityNameFromID(ca.Item(n))
                        If searchby = "street" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                        If searchby = "postcode" Then splitlistarray(c) = FDest.GetZipCodeFromID(ca.Item(n))
                    End If
                    If position = 2 Then
                        If searchby = "city" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                        If searchby = "street" Then splitlistarray(c) = FDest.GetCityNameFromID(ca.Item(n))
                        If searchby = "postcode" Then splitlistarray(c) = FDest.GetStreetNameFromID(ca.Item(n))
                    End If
    
                    If n > ProgressBar1.Value + pb Then ProgressBar1.Value = n : ProgressBar1.Refresh()
                    c = c + 1
                Next
                ctto = 1000
            Else
                ctto = ca.ItemCount
                splitlist = False
            End If
    This then loads a new array up.. and at its greatest here in the uk 1.2 million postcodes.. it then only holds an array of 1000...

    Then Say you want to start searching for a postcode.. you input S..

    you then compare each value in the new array. Its then very easy to find which one contains the S your after, you then load just this array group and then search this array group for the needed one.

    Using this way proves very fast..

    Although the main downfall of using your own address list search is the fact the Destnators list is not in alpha order.. theres lots of pit falls, and I have come to thinking the only real way to do it is to embed the default address search dialog again.

    hope this helps, if you want to check out the speed.. download a quick avi from www.freedrive.co.uk/address.zip

    CdR

    p.s. also the avi taken is playing in the IDE, so its also faster than you see when its compiled ;-)

    That is the problem, the are not in alpha order, therefore you can't binarysearch on them and ensure you will get results, therefore you have to sort after you get the array back and that is what is taking the time...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  5. #5
    Constant Bitrate
    Join Date
    Aug 2004
    Location
    Black Hills, SD
    Posts
    119
    I find myself using the zip code more then city only because it shortens the list down on the street step. I still have problems with entering some addresses. E St. Pat for example. Sometimes it doesn't find it, I so I have to manually find it in the list.. So the zip narrows it down so I am not looking at all 3 or 4 zip code worth of streets of a city...

    It would be nice if the map would remember the last city/zip selected. I don't normally select a different city each time I enter a new address mainly the street.
    Hardware: VIA Epia MS 12000, 512 DDR, 60GB HD, 7" Xenarc, GM-210, Wi-Fi, Bluetooth, Radio Xtreme
    Software: Centrafuse2, Phonecontrol.net, nLite, TopoUSA 5.0, iGuidance, Girder, Winc

  6. #6
    Maximum Bitrate
    Join Date
    May 2006
    Location
    Seattleish, WA
    Posts
    823
    Quote Originally Posted by veetid View Post
    That is the problem, the are not in alpha order, therefore you can't binarysearch on them and ensure you will get results, therefore you have to sort after you get the array back and that is what is taking the time...
    Like I mentioned in the bugs thread, since the data is static, you can pre-sort them, write it all to a binary file that includes a pointer to the rest of the data that you key off of the zipcode for.

    There's no need to have to sort that data on-the-fly all the time.
    :: Mark

  7. #7
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    Quote Originally Posted by midiwall View Post
    Like I mentioned in the bugs thread, since the data is static, you can pre-sort them, write it all to a binary file that includes a pointer to the rest of the data that you key off of the zipcode for.

    There's no need to have to sort that data on-the-fly all the time.
    This is what I have done... It defaults to CITY/STREET search when you click new address, but if you hit back it gives you the list of new address options...

    The first time you load street or zip searching it takes a few seconds, but then stores the information so it loads instantly the next time you use it...

    This takes some memory, but works on my M10000...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  8. #8
    Maximum Bitrate
    Join Date
    May 2006
    Location
    Seattleish, WA
    Posts
    823
    Quote Originally Posted by veetid View Post
    This is what I have done... It defaults to CITY/STREET search when you click new address, but if you hit back it gives you the list of new address options...

    The first time you load street or zip searching it takes a few seconds, but then stores the information so it loads instantly the next time you use it...

    This takes some memory, but works on my M10000...
    Cool! I'd say that a pre-load time is very acceptable, 'specially considering that most folks are using Hibernate, so the pre-load is only really when the machine boots.

    Well done!
    :: Mark

  9. #9
    Low Bitrate
    Join Date
    Jun 2005
    Posts
    90
    Just to add I am 99% always using postcode search

  10. #10
    Newbie White 'van' Man's Avatar
    Join Date
    Jun 2006
    Posts
    23

    post (Zip) code search



    Me Too... 99% postcode - street - number.

    Really handy as some towns have many roads named the same

    Bournemouth has 7 ! boscombe roads !!!

    Please done loose it...

    Steve

Page 1 of 2 12 LastLast

Similar Threads

  1. PPC Car GPS and MP3 mini How To
    By hotrod_nut in forum General Hardware Discussion
    Replies: 1
    Last Post: 02-25-2008, 02:24 PM
  2. Replies: 4
    Last Post: 07-19-2006, 07:57 AM
  3. Replies: 8
    Last Post: 03-26-2005, 11:29 AM
  4. How do I setup my GPS Application ?
    By guino in forum RR FAQ
    Replies: 0
    Last Post: 03-20-2005, 03:17 PM
  5. few gps questions
    By fuctup in forum GPS
    Replies: 2
    Last Post: 03-02-2005, 02:40 AM

Bookmarks

Posting Permissions

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