TomTom Work GPS Tracking - Import Data into Nav

sirpetesirpete Member Posts: 15
We are looking into using TomTom Work to track our vehicle fleet as well as dispatch work orders and retrieve field reports. TomTom allows for users to query data from their servers via an HTTPS request, and then responds with the data in a CSV file.

I am not sure how to tackle requesting the data and then brining into Nav. I'm currently using a report scheduler that was developed for us to schedule activites to occur automatically, so ideally I would build a report that would open the webpage by building the https:// url, receive the CSV file, then import it into a Nav table that stores the tracking and event data.

I have no idea how to do the save the file and then import the file from the CSV. Can anyone post some sample code for this?

Comments

  • Doug_loves_GPSDoug_loves_GPS Member Posts: 1
    Very interesting and informative post. GPS technology is definitely here to stay.

    [Commercial text removed by Administrator]
  • rvduurenrvduuren Member Posts: 92
    Hello,

    Downloading content in NAV (>=4.0) can be done this way. Https should not be a problem.

    1. Download the *.csv file and save in a %temp% directory.
    2. Process the content.
    3. Delete the *.csv file.

    *Tip: if possible use XML (xmlports), way more reliable than csv.
    Met vriendelijke groet, best regards,

    Rvduuren
Sign In or Register to comment.