What is a Feature Database (FDB) File
Constructing graphics on an FDB overlay
Feature Database (FDB) files versus Base Dataset (BDS) files
The Cadcorp Feature Database (FDB) cursor-based dataset is a file based database encapsulated in a single file, designed to store up to one terabyte (TB) of simple geometry type data. FBD files are of benefit to users who want to store medium to large volumes of geographic data without having to invest in database server technology and management resources, and for remote or mobile users. Unlike Access based equivalents, an FDB file supports multi-user, multi-edit operations.
The FDB is a cursor based dataset. This means that it only supports OGC Simple Features entities, specifically Points, LineString and Polygon items.
The FDB is not a replacement for (GB specific), it is an alternative. Please bear the following in mind when considering the best format to use:
FDB replaces the SDS native geometry format used in some earlier versions of Cadcorp SIS. SDS files cannot be created in SIS, although they can be opened, edited and saved.
See the Cadcorp Feature Database (*.fdb) section of Create new file.
To open an existing FDB file, select Add Overlay [Home-Map] to display the Overlay Types dialog and select File from the Files tab. In the File Browser dialog navigate to the required folder, choose Cadcorp Feature Database (*.fdb) from the Files of type drop down box, select the required file and click Finish.
Note: FDB files created in Cadcorp SIS V6 are opened as read-only.
As you construct graphical items, they are placed on the current overlay. To make the FDB current use its local Make Current command in the Maps Control Bar).
The FDB status must also be set to Editable, this can be done either in the Overlays dialog, or from the Status local command in the Maps Control Bar.
As soon as you create the FDB file as described above, it exists in the location where you created it. However, the graphics you construct on this FDB are not saved until you save the SWD using one of the following options:
Deleting data from an FDB file does not reduce its size. It is therefore useful to compact the file to reduce its size. This can be achieved with the CompactDataset Method in the Programming Help.
FDB and BDS files are both standard Cadcorp formats. The choice of file formats depends on their use, the details of each file type are summarized in the following table.
Base Dataset (BDS) |
Feature Database (FDB) |
|
Geometry |
Stores complex vector, topological |
Well-known-binary format used for geometry. |
Capacity |
Limited | 1 Terabyte |
Read as |
Memory | Cursor |
Considerations |
Dates held formatted, (i.e. 12/6/2009) Boolean held formatted, (i.e. True/False), but displayed in table window -1=True, 0=False |
Dates held in Julian format, (i.e. 41255). Boolean held and displayed |
Advantages |
Items can each have different attributes. Item styles stored. Complex geometry stored. |
Items all have the same attributes. Multi-user editable with feature level locking. |
Disadvantages |
Can be multi-user Hittable, not multi-user Editable. |
No storage of Item styles. Simple geometry only stored. |
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).