Welcome to Radarspotting. Please login or sign up.

November 30, 2026, 09:04:06 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Updating the SQB File

Started by Anmer, February 27, 2017, 11:38:38 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Anmer

Can anyone help me with this "test" I'm running.

I have PP running off an RPi and DVB-T SDR.  Everything working just fine.

According to the PP Help, I ought to be able to get PP to update my sqb file.  Or am I reading this incorrectly?

Database Options

This section determines the way that PlanePlotter interacts with the SQL database (often called basestation.sqb) that contains the association between ICAO hex code, aircraft registration and aircraft type, among other parameters.

SQB database directory

This option is identical to the option in the Options..Directories..SQB database sub-menu. It allows you to determine what the database is called and where it is located.

Edits update SQB database

If this option is enabled, Manual edits of the aircraft details and updates performed by scripts via the OLE/COM interface will update the details of any existing aircraft in the database. This option is identical to the Options..Mode-S..Kinetic..Update registrations option. It overrides the following three options.

Edits add to SQB database

If this option is enabled, Manual edits of the aircraft details and updates performed by scripts via the OLE/COM interface will insert details an aircraft not previously found in the database. The preceding option must be enabled for this to operate.

Local traffic adds to database

If this option is enabled, any locally received reports will be added to the SQB database provided that the main option (above) is also enabled.


I have a new, empty sqb file and no matter what options I set, I can't update it from PP received data.  PP is connected to the right sqb file which I've tested.

Can anyone confirm that PP can update the sqb file with locally received data?  Just the normal hex code in a session, the same as BaseStation does?
Here to Help.

mezoo

I use the same settings and PP has been happily updating the basestation.sqb for years now.

Have you checked the access rights to the directory and /or file ?

Good Luck
mezoo

Anmer

Thanks Mezoo.

I discovered that PP does update the BaseStation.sqb file but only adds an aircraft record.  Unlike BaseStation, it doesn't create a Session of add a session time or opening and closing Lat/Long coordinates.
Here to Help.

mezoo

Looking at my Planeplotter basestation.sqb file you could be right.

I mostly use VRS to write and maintain the basestation.sqb.
VRS does create sessions in the basestation.sqb file
Each time it starts VRS creates a new session and closes it when you stop.

VRS is availeble in a Linux version.
Not sure if VRS runs on a RPi.