Opened 14 years ago

Closed 14 years ago

#396 closed defect/bug (fixed)

Log files are written for non-active vehicles

Reported by: Owned by:
Priority: minor Milestone:
Component: core Version: git master
Severity: Keywords:


Log files are written for non-active vehicles. My configured vehicles are "car", "bike" and "pedestrian", of which only "car" is active:

<vehicle name="Car" profilename="car" enabled="yes" active="1" ...>

<log type="gpx" data="/home/root/gpx/car-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...


<vehicle name="Bike" profilename="bike" enabled="yes" active="0" ...>

<log type="gpx" data="/home/root/gpx/bike-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...


<vehicle name="Pedestrian" profilename="pedestrian" enabled="yes" active="0" ...>

<log type="gpx" data="/home/root/gpx/walk-track_%Y%m%d-%i.gpx" flush_size="1000" flush_time="30"/> ...


Even though "bike" and "pedestrian" are inactive, I get "bike-track_{date}-{sequence}.gpx" and "walk-track_{date}-{sequence}.gpx" files.

I would expect an inactive vehicle to be really inactive, and not log anything until they become active.

I'll attach my complete vehicle configuration to this ticket.

Tested on SVN revision 2368

Attachments (1)

navit-vehicles.xml (15.0 KB) - added by 14 years ago.
Vehicle configuration

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by

Vehicle configuration

comment:1 Changed 14 years ago by

Just to add a little motivation: I want to use GPS logging to enhance and extend OpenStreetMap?. It is then important to know whether I walked, cycled or drove somewhere. When all vehicle configurations produce logs simultaneously, it's later on impossible to determine this.

Of course on short drives when I can immediately upload and tag the GPX file it's fine, but I also want to do this when visiting France for a three week holiday. I don't think I'll be able to remember the exact date and time at which I exited the car to take a walk, three weeks after the face.

comment:2 Changed 14 years ago by

  • Owner changed from KaZeR to
  • Status changed from new to assigned

comment:3 Changed 14 years ago by

I'm working on a new menu where you can pick the active profile for a given vehicle. The profile name is written in the GPX log (since SVN r2405).

comment:4 Changed 14 years ago by

  • Resolution set to fixed
  • Status changed from assigned to closed

Implemented per SVN r2416

Note: See TracTickets for help on using tickets.