Skip to end of metadata
Go to start of metadata

Project Upgrader

Upgrades files in an already existing project

QINSy 8.17.0

Note that problems have been reported for Windows 7 (and possible others) with our project upgrader in the previously released version 8.17.0

In the new QINSy-8.17.0.3-MSI.msi (8.17.0.2017.07.18) this has been fixed. Please check the Project Release Version:

On this page:

Why this tool

Project Upgrader is added to the QINSy installation to upgrade the QINSy project and the files within the project to be compatible with the latest installed QINSy version.
This tool will make modifications to files which makes a rollback to older QINSy versions difficult or even impossible. 

What happens under the hood

The QINSy Console launches the Project Upgrader every time a project is opened.

The Upgrader will perform the following steps, in this order:

  1. QPD files of an older format will be upgraded to the latest version
  2. Old display files are upgraded
  3. Third party CAD files and older versions of QPS Cad files are converted or upgraded
  4. CAD files are optimized (obsolete attributes are stripped)
  5. Geoid files present in the Geoid folder are upgraded
  6. Upgrades Kongsberg MBES nodes in the QINSy databases

QPD version upgrade

The QPD upgrade form opens, when older QPD files are located in the project folder.

CAD file conversion and upgrade

The Geometry Upgrade Wizard opens, when old or third party CAD files are located in either the LineData or DxfToQxf folder, meeting the following criteria:

  • The file is not in any subfolder
  • The file extension is: qgf, pro, dxf or qxf

The wizard removes any duplicate files, based on the last modified time. Only the newest files are available for conversion.
The wizard itself will set the default file type, based on the location, extension and file contents.

  1. DXF and QXF files are set to become background files
  2. PRO files are set to become line planning files
  3. QGF files are checked by their contents and location:
    1. If located in the DxfToQxf folder, the default is background file 
    2. Otherwise, the contents are checked in this order:
      1. Vertical Offset Model
        • The file must contain a layer ‘GEOIDPOINTS’ that has a triangle mesh in it
      2. Contours and spot soundings
        • The file must contain a layer ‘CONTOURS’ and/or ‘SOUNDINGS’
      3. Annotation
        • The file must already have the correct file attribute ‘annotation’.
      4. Area
        • The file contains only layers with areas, no other geometry is allowed
      5. Line Planning
        • The file contains only points, lines and routes, no other geometry
      6. Design
        • The file contains at least one triangle mesh or closed 3d polygon
      7. Background
        • The remaining files will be defaulted to background

4. Other files are set to background file

Files that have characteristics of multiple file types, can be manually changed in the Wizard, but only 1 file type per file can be selected. The user can still import the original file into other file types by using the Processing Manager (PM.NET) afterwards.

During the conversion, the files that are marked for conversion, are converted to the new file type. The extensions and the file attributes are set.

All files, including any duplicate files, are moved to the backup folder after the conversion. 

QGF File types

In January 2016 QPS introduced their new QPS Graphical Format which received the extension *.QGF.
The new QGF format was introduced to replace previously natively support formats like:

  1. *.PRO (Terra Model / QINSy Line Database Manager)
  2. *.QXF (old QPS Exchange Format)
  3. *.DXF 
  4. *.DWG


As part 2 of this replacement it was decided to introduce multiple QGF file types. The new file types, extensions, icons, purposes and storage location are:

Type

Extension

Icon

PurposeFolder
Line data*.qgfline

Line data for survey lines, routes and waypointsLinedata
Background*.qgfback

Back ground data in plan viewsLinedata
Design*.qgfdes

design depth modelLinedata
Annotation*.qgfanno

Annotation

(only 1 file possible)

Annotations
Contours*.qgfcont

Contours and sport soundingsLinedata
Areas*.qgfarea

Areas and closed polygonsLinedata
Vertical Offset Model*.qgfvom

Vertical Offset Model for geodetic height corrections.

(replaces the River Lines Model in PRO format)

Geoid

The new file types will allow us to shorten the lists in selection dialogs as they are filtered on file type extension.
Another advantage is that the user can see a clear distinction in the Windows Explorer, using different extensions and icons. 

In previous versions the distinction was made based on the project subfolder the file was stored in:

  1. DXF2QGF - Background Files
  2. LineData - Routes / Lines / Waypoints
  3. Mapping - Designs
  4. Geoid - River Line Models

Project Upgrader Example

The wizard will start when a QINSy project contains CAD files created or used in 8.16.1 projects and older versions. The wizard starts as soon as the project is opened in QINSy project manager (Console).

The tool scans for CAD files and depending on the project sub folder where the file is found, it suggests a default conversion. The suggested conversion can be modified in the drop down dialog for type if the user feels that an incorrect suggestion is done.

The example below shows *.qxf background files and line databases in the *.pro format to be upgraded. The screenshot shows the file type can be changed by the user if needed. The original files will be stored in a backup folder. 

Clicking Next will give a confirmation box.  

If you click on Cancel, nothing will be converted. The Upgrade wizard will pop up again next time you open the QINSy project.