Page 6 of 12 FirstFirst 123456789101112 LastLast
Results 51 to 60 of 119

Thread: Requests

  1. #51
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    could you do me a list of what char's to check for when reversing the names.. I really need to check as in the uk we have St Davids Road, which is correct, and would be wrong as Davids Road St as St is short for street in the uk.

    so I will then do

    if len(streetname) > 4 then
    if mid(streetname,3,1) = " " then
    Select Case mid(streetname,1,2)
    case RU ' need correct char's here
    streetname = mid(streetname,4,(len(streetname)-4) + " RU"
    etc.. etc..
    End Select
    End if
    End if

    Think that should work.. just need a list of things I need to check for.

    cheers

    CdR

  2. #52
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    CDR, I'm not sure if it is the maps in my area or what, but they seem to have the "Street/Avenue/etc" denomination in the end in the address list... This is fine for entering addresses, but when the street I'm on is displayed on FD screen, or through SDK, I'd prefer if that was reversed...

    so "Market ST" in the address list (this is how it should), should be inverted to "ST Market" in the displaying screens because that is the correct gramatical way for most non-english countries...

    Do you think it would be possible to add a function to do the opposite, of the above? just for the displays, as the input list in my case is already inverted (Name [space] Type(ST/PL/ETC))...

    The way that I think it would be best to isolate the "Name" (eg. Market) from the "Type" (eg. Street or Place) would be to cycle with either RIGHT() or LEFT(), inside a loop until you find the first SPACE character. Then, figure out if the above is 3 or less letters, and all Caps (I thikn all "Types" are 3 or less, and CAPS), then you can put it in the front or in the end depending on the need.... I hope I made myself clear... I can write it out in code if you dont understand my idea...

  3. #53
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    yeah I think I understand you... I can mess with the text in the list as much as you want and it won't effect the routing at all as this is held in a hidden field off the screen, i'm using a listtree rather than a listbox. At the moment each streetname is added in a loop, so I can stick any code you wish in there. I can also make a settings.ini so its changable.. please post what you want and I will do it.

    cheers

    CdR

  4. #54
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    OK, cool! Thanks!

    For me:

    Currently:

    List shows "Street Type" eg. "Market ST" or "do Estado AV"
    Displays/SDK shows same.


    My wish:
    List same. "Market ST"
    Displays inverted: "ST Market" or "AV do Estado"

    Thanks so much man! I cant wait for your next release.... Do you have any rough idea for when speedcams will be added? They are a big problem here... (I guess they are a big problem everywhere that has them! ehhee)

    I cant wait to switch to FD!

  5. #55
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    speedcams wont be a problem at all to add, I just need to decided which way I'm going to add them. I would prefer then to be displayed on the map if possible, this would mean creating a dat file, where doing this isnt a problem for me, if FreeDrive is used to create them, then on importing them direct into freedrive as a cvs file, it goes all slow after about 1000 cams.. and thats on my 3.6gig dual xeon sever.. so god knows what its like on the epias. What I might do is a dat file for peeps to copy + paste into D3, then have the ability to add / remove single cams... When your on about reversing your AV do Estado, this means that you would need to type AV first in the search, so you would need to know that do Estado was a AV and not another type of road, if i'm understanding this correctly.

  6. #56
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    I'm not sure which way would be best for the speedcams, but your the one testing and finding out so I'll trust that to you!

    No, the listing is currently correct and doesnt require any chaning....

    It is currently displayed as "do Estado AV" which means I can just start typing "do est...." and it will find it, without having to know if it is "AV or ST" or anything, the only change is when showing the current street, or street to turn on, or current address through the SDK, to have it switch around... I dont know how to explain myself well.... Is this realy confusing or did I manage to explain myself somewhat?

  7. #57
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    ah.. ok you mean the street label at the bottom of the map ? This can be changed no probs for you. As for the History I can do this too, and the Fav's.. The only time you will see it wrong is in the actual list then, but as you say its better this way there as its easy to type "do Est..." . Ok.. to help me, can you provide the diffrenent type of streets you want reversing on the streetlabel at the bottom of the map. like "AV" etc.. then I will search for these and reverse them.

    cheers

    CdR

  8. #58
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    I'm not sure if I'll find all of them because sometimes I come accross some that I had never seen! LOL...

    Thats why I had suggested 1-3 chars, all CAPS to try and catch this type of thign for all languages (spanish, french, etc).... but now I realize it might be that my maps are fcked up then?

    I'll try to post as many as possible.... Thanks!

  9. #59
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    What I will do is add two lines to the settings.ini file, this way if you find one thats not already included its easy to update it yourself.. the two lines will be something like

    reversestreetlist=AV,EU,RD,ST
    reversestreetlabel=AV,EU,RD,ST

    This will then make it easy to add/change to suit how you want it. what do you think ?

    cheers

    CdR

  10. #60
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    ok.. added the needed code.. so in the street lists you can now add any letters you want reversing, FreeDrive will auto do this for you, the same goes for the street label at the bottom, it will reverse back. This is untested and I'm after a few peeps to test if poss, just to make sure it all works as it should, I have also added the code to include the History and Fav's page also, so please can you check this out. All you need to do it download it, open up the settings.ini and add any letters you want swapping. Once tested and working can you please tell me what letters you are using and I will include them with the defauolt settings.ini for others to use.

    heres a copy of the bit in the settings.ini which you will need to change.


    #reversestreetname This is used to format the streename label underneth the map, just add the ends if you want the reversing
    #to add more just add them on like reversestreetname=AV,RD,SU,PH etc.. etc..
    reversestreetname=AV

    #reversestreet This will reverse the street names in the list when routing somewhere use as above by adding in extra ones
    reversestreet=AV

    grab it at
    http://www.x-digital.addr.com/freedrive/FDupdate.zip

    cheers

    CdR

Similar Threads

  1. Feature Requests
    By frodobaggins in forum PowerVoice
    Replies: 114
    Last Post: 02-20-2006, 03:03 AM
  2. Requests / Suggestions
    By netsuo in forum NeoCar Media Center
    Replies: 86
    Last Post: 01-06-2006, 08:39 AM
  3. Updated Bugs and Requests thread
    By GReeToZ in forum Centrafuse
    Replies: 8
    Last Post: 03-02-2005, 02:28 AM
  4. D3 Front End: Enhancements/Feature Requests
    By Dominik in forum Map Monkey
    Replies: 179
    Last Post: 12-28-2004, 03:44 PM
  5. Replies: 15
    Last Post: 03-07-2004, 11:23 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
  •