Example 3 - Updating S-63 data
If you purchase a subscription of S-63 data from a data supplier, you will get regular deliveries of updated data, typically once per week. Some of these will be base deliveries, containing all information in the S-63 data cells, while others may just be deltas from the previous delivery.
This example show how to handle these updates, assuming you already have a working S-63 database from a previous delivery. The steps are the same both on an SDK machine and a deployed target machine.
Step 1 - Determine if base or update
You should get this information from your supplier, along with the data files. If not, ask.
Step 2 - Remove old database
If you are certain that the new data replaces what you already have, you could simply remove your existing S-63 database from disk, and recreate it, see step 3 from Example 1. If you know it's an update or if you are unsure, skip this step and keep your existing database.
Step 3 - Import permit files and register exchange sets
This is done the same way as the first time, see steps 4 and 5 from Example 1.
Step 4 - Load and display updated data
Next time the application is started the updated data should be used.