Author Topic: Convert XML / JSON back to nmea.log format?  (Read 2279 times)

ais-almere.nl

  • New User
  • *
  • Posts: 6
    • View Profile
    • AIS Almere
Convert XML / JSON back to nmea.log format?
« on: 14 September, 2015, 10:24:02 am »
Anyone here who might know if it is possible to convert a correctly formatted XML (or JSON) file (from data.aishub.net) back to the NMEA.log file format?


If so, how?
« Last Edit: 14 September, 2015, 11:33:42 am by ais-almere.nl »
--
Running AIS Dispatcher on a Raspberry Pi with a MarineGadget Radar - AIS Receiver

Peter

  • Global Moderator
  • Lt.Commander
  • *****
  • Posts: 97
    • View Profile
    • Astra Paging Ltd
Re: Convert XML / JSON back to nmea.log format?
« Reply #1 on: 28 September, 2015, 03:27:02 pm »
Yes, it is possible but you will lose AIS Class (A or B). In all cases it is better to work with native data.