TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

New location Data found on Tesla API

Discussion in 'Model S' started by Jonas_man, Mar 16, 2018.

Tags:
  1. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    268
    Location:
    Helsinki
    Hei guys,

    My car is at version 2018.10 and when analysing the API i found these new fields:

    "native_latitude" = "60.2";
    "native_location_supported" = 1;

    "native_longitude" = "24.1";
    "native_type" = wgs;


    I cannot test now, but can someone test that these fields keep updating while the car is being towed on a flatbad, on a bot or on a train?

    Im speculating that these values update even if the wheels are not rolling.
     
    • Informative x 1
  2. luckyj

    luckyj Member

    Joined:
    Dec 8, 2016
    Messages:
    318
    Location:
    Northern Virginia, USA
    These were present from at least 2018.4.1 (which is when I noticed them), possibly a little earlier. But they were not in 2017.50.3. Model S REST API Don't know what the purpose is yet though.
     
    • Helpful x 1
    • Informative x 1
  3. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    268
    Location:
    Helsinki
    I didnt know there was thread tracking this changes.
    Any way we can use this thread to understand what do these values mean. During the summer i will take my car on a boat, i can test my theory. But it would be nice to test this earlier.
     
  4. luckyj

    luckyj Member

    Joined:
    Dec 8, 2016
    Messages:
    318
    Location:
    Northern Virginia, USA
    BTW, I got 10.4 last night, no differences seen. Came from 4.1
     
  5. BinaryField

    BinaryField Member

    Joined:
    Sep 21, 2017
    Messages:
    284
    Location:
    Earth
  6. cynix

    cynix Member

    Joined:
    Jul 7, 2014
    Messages:
    803
    Location:
    Sydney, Australia
    This is probably a feature added for Chinese cars where their digital maps use a different coordinate system.
     
  7. SSonnentag

    SSonnentag Supporting Member

    Joined:
    Apr 11, 2017
    Messages:
    903
    Location:
    Arizona
    By any chance do you know if the elevation is present in the data? I would love to be able to view my current elevation on the map.
     
  8. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    268
    Location:
    Helsinki
    Do you have more info on that?
     
  9. Jonas_man

    Jonas_man Member

    Joined:
    Sep 1, 2015
    Messages:
    268
    Location:
    Helsinki
    Yes but only on streaming mode.
     
    • Informative x 1
  10. kevinof

    kevinof Member

    Joined:
    Aug 29, 2017
    Messages:
    58
    Location:
    London
    It is. it's WGS84 and is used with digital maps (same as marine maps on a laptop).

     
    • Like x 1
  11. cynix

    cynix Member

    Joined:
    Jul 7, 2014
    Messages:
    803
    Location:
    Sydney, Australia
    • Like x 1
  12. primo

    primo New Member

    Joined:
    Yesterday
    Messages:
    3
    Location:
    Florida
    What API endpoint / method is used to get the location data?
     
  13. primo

    primo New Member

    Joined:
    Yesterday
    Messages:
    3
    Location:
    Florida
    Disregard. I see the method. /api/1/vehicles/{id}/data_request/drive_state
     

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC