PPP Forum

Information and discussions about our products
Welcome to PPP Forum Sign in | Join | Help
in Search

Breaking changes: our new Navigation solution partner is Sygic

From TomTom to Sygic:
Over the years our former navigation provider reduced his SDK more and more to drive his own business solutions.
Finally a SDK is no longer available!
Looking for an alternative solution we found www.sygic.com/tomtom-sdk.
Why we recommend Sygic:
  • Good support at first hand
  • A modern Navigation Solution (with actual maps)
  • Native .NET support in the SDK (no need for third party solutions)
  • Many operating systems support including Linux and Android
  • A partner which is even able to adapt the Navigation solution to your needs.

Advance Planning?

Last post 09-02-2006, 11:33 by ManniAT. 5 replies.
Sort Posts: Previous Next
  •  09-01-2006, 21:57 642

    Advance Planning?

    Manfred,

    Can we do Advance Planning with the TTNCF5 SDK API? Thanks.

  •  09-01-2006, 22:35 643 in reply to 642

    Re: Advance Planning?

    Hi Descartes,

    let me ask back:

    Could you find any Adv Planning functions in the SDK / Wrapper?

    Let me answer: NO (if yes - please tell me Smile [:)]).

    To be serious - in SDK 5 (and therefore in TTNCF 5.x) no such functions are available.
    The have been there in SDK 3.x (Itinerary and such things) and they will.....
    OK, there will be an SDK 6.x (TTNCF 6.0) and at the moment we are not allowed to talk about it.

    So what can you do with TTNCF 5.x?

    You can build your own "destination list" and route it one after another.

    I hope you were talking about Itinaeraries and such things.
    If you talked about "Shortes way / Fastest way" or such things - you can set (AFAIK) some things in the properties - but nothing more - this was also not possibel with SDK 3.

    Regards

    Manfred

  •  09-01-2006, 22:46 644 in reply to 643

    Re: Advance Planning?

    Manfred,

    Can you elaborate on "destination list"? Our objective is to get at a minimum a text summary of the directions between point A and point B. Thanks.

  •  09-01-2006, 23:58 645 in reply to 644

    Re: Advance Planning?

    Hi,

    what I ment is that (for an example) the user wants to go to Vienna and has to do something in Melk.

    He starts in Linz (Means Highway 1, Leaving HW1 to Melk - return to HW 1 and head for vienna).

    What we do - we route him to Melk - after this (the driver says - DONE) we build another route to Vienna.
    This was simpel - the list can have more stopovers - and we allow the driver to delete (and add) stopovers.

    About textual info - the is a "GetRouteInformation" which gives you a route summary and GetRouteCoordinates which gives you "waypoints".

    What exactly do you mean with text summary?

    Regards

    Manfred

  •  09-02-2006, 0:13 646 in reply to 645

    Re: Advance Planning?

    Manfred,

    By text summary I mean like the "Browse as Text" feature in TTN. Your example assumes current position. Say, user is in Linz and wants to know how to get from Melk to Vienna? Thanks.

  •  09-02-2006, 11:33 647 in reply to 646

    Re: Advance Planning?

    Hi,

    what we did about current position was fooling TTN with GPS driver support (ExternalGPS).

    The idea - I find the starting location (Geocode functions) and then build a GPS signal which simulates a starting position on that place.
    After some feeding time (check via GetCurrentPos..) you can ask TTN to build a route.
    ---By the way - the example assumed that Linz is curpos.

    About the text summary - with the GetRouteCoodrinates combined by subsequent calls to GetLocationInfo(Ex) you can build a list of "waypoints" with data.
    BUT - you will get no driving instructions from that.

    TTN is not a tool for planing or such things - it is a tool to guide you from A to B.
    Of course you have (directöy in TTN) some methods to get information (like Browse as text or Route summary) but unfortunately these things are not available through the SDK.

    By the way - we also tried to use TTN to find an opimized route from A to B, C, ...
    The well known "travelling salesman problem" - we know there is no real solution for this but you can achive (as long as there are limited destinations) a  solution via "brute force" which means check all possible combinations.
    With TTN you have to reduce the above statement to "VERY limited destinations".

    So we decided to use an other tool for such things. A fact is (due to the system we build it is obligatory) that you need an online connection for our approach.
    What we use are Microsoft MapPoint Webservices.

    Those services offer a lot of great things (like optimized routes and so on) and offer "fine grain parameters" (shortest, fastest, ......) as well as "avoid areas" and so on.
    So what we do - we call this service to solve our "travelling salesman problem" and than use the results to build (like told above) our destination list.
    If a comparrison between the MP results and the route TTN offers tells us that TTN did it much more worse we can use the waypoints of MP to build a "hop by hop route".

    Assume MP tells us it is best to drive Linz, Freistadt, Amstetten, Melk, Wien, Linz for a roundtrip.
    --Assume further we are in Linz (start and end).

    We tell TTN to route us to Freistadt - and find out that the TTN route lasts more than 20% longer as the MP route.
    We than take the first waypoint from MP and tell TTN to route there.
    We frequently check the RouteInformation and when we are very near (a few hundred meters) to the waypoint we plan another route - to the next waypoint.
    Another approach would be to check (at every waypoint) if TTN uses now the "good route" BUT this results in a massive "screen flicker" due to the "Checking Routes built inbetween".
    So we decided - if we have to use "hop to hop" we do this very consequent till we reach the destination.

    Since MP Webservices offer a lot of other capabilities we need (draw tracks on client apps or websites) we need it simply for the destop (web) part of our app.
    This was our entry to MPWS - just the need to have maps on our desktop (web) apps without the need (and limitations) of client software (Like MapPoint 200x).
    And since we allready used this techno it was a litle step to use it also on the PDA.
    Our finall solution is that - PPC calls our server - Server calls MPWS and checks the results - Server transfers results to PDA.

    Regards

    Manfred

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems