Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| geoscene3d:building_a_layered_model:spatialite_database_structure [2025/09/02 09:59] – [Table Structure] dev | geoscene3d:building_a_layered_model:spatialite_database_structure [2025/09/02 10:23] (current) – [Using the Database in QGIS] dev | ||
|---|---|---|---|
| Line 68: | Line 68: | ||
| **Important: | **Important: | ||
| - | ---- | ||
| - | ==== Required Field: | + | ==== Required Field: |
| The database requires a **GUID (Globally Unique Identifier)** to uniquely identify each entry. A GUID is a 128-bit value written as a string in a fixed format, using five groups of hexadecimal digits separated by hyphens, in the 8-4-4-4-12 pattern. | The database requires a **GUID (Globally Unique Identifier)** to uniquely identify each entry. A GUID is a 128-bit value written as a string in a fixed format, using five groups of hexadecimal digits separated by hyphens, in the 8-4-4-4-12 pattern. | ||
| - | This is the exact format used in Geocene3D: | + | This is the exact format used: |
| {D362ABBF-E812-4276-B216-AE55CB04B187} | {D362ABBF-E812-4276-B216-AE55CB04B187} | ||
| - | Format rules: | + | **Format rules:** |
| - | The value must begin and end with curly braces '' | + | |
| + | * All letters must be uppercase | ||
| + | * Hyphens must follow the 8-4-4-4-12 grouping | ||
| + | * The total length must be 38 characters, including the braces | ||
| - | All letters | + | **Important: |
| - | Hyphens must follow the 8-4-4-4-12 grouping | + | {{:geoscene3d: |
| - | + | ||
| - | The total length must be 38 characters, including the braces | + | |
| - | + | ||
| - | **Important:** The GUID must be generated using code that produces valid and unique identifiers.\\ | + | |
| - | **Copying GUIDs is not allowed — not even between different tables or layers.** Every point must have its own unique GUID, even if it belongs to a separate interpretation layer. Manually typed, duplicated, or reused values will not be accepted and may break uniqueness or cause conflicts in further processing. | + | |
| ---- | ---- | ||
| - | {{: | ||
| - | |||
| - | |||
| - | ---- | ||
| ==== Using the Database in GeoCloud LARCOS ==== | ==== Using the Database in GeoCloud LARCOS ==== | ||
| Line 102: | Line 95: | ||
| When using GeoCloud LARCOS, this specialized interpretation database is the file that is uploaded when you perform a check-in of your model edits. The edits are made in Geocene3D and then uploaded to the GeoCloud LARCOS website during the check-in process. Any interpretation points you have added or modified are stored in the SpatiaLite database and transferred to the cloud. These points are then used to update the current model in the cloud environment, | When using GeoCloud LARCOS, this specialized interpretation database is the file that is uploaded when you perform a check-in of your model edits. The edits are made in Geocene3D and then uploaded to the GeoCloud LARCOS website during the check-in process. Any interpretation points you have added or modified are stored in the SpatiaLite database and transferred to the cloud. These points are then used to update the current model in the cloud environment, | ||
| - | In GeoCloud LARCOS, all interpretation points from different layers are merged into a single table, where all existing points also reside. Because of this, it is essential that every GUID is globally unique across all tables in the SpatiaLite interpretation database. This prevents identifier conflicts and ensures that each point can be correctly recognized and updated | + | In GeoCloud LARCOS, all interpretation points from different layers are merged into a single table, where all existing points also reside. Because of this, it is essential that every GUID is globally unique across all tables in the SpatiaLite interpretation database. This prevents identifier conflicts and ensures that each point can be correctly recognized and updated. This design reinforces the rule described in the **Required Field: |
| ==== ==== | ==== ==== | ||
| ---- | ---- | ||
| + | |||
| ==== Using the Database in QGIS ==== | ==== Using the Database in QGIS ==== | ||
| Line 111: | Line 105: | ||
| You can view and work with the Geocene3D SpatiaLite database in QGIS: | You can view and work with the Geocene3D SpatiaLite database in QGIS: | ||
| - | - Open QGIS | + | - **Open QGIS** |
| - | - Go to '' | + | * Start QGIS and open a project (new or existing). |
| - | - Click " | + | - **Drag the database into QGIS** |
| - | - Select | + | * In your file system, locate the '' |
| - | - QGIS will now list all spatial tables that contain geometry | + | * Drag it directly onto the **QGIS map canvas**. |
| - | | + | - **Confirm the layer is added** |
| + | * The point layer from the database | ||
| + | - **Inspect or style the layer** | ||
| + | * ****Use the **Identify Features**, **Symbology**, | ||
| When loaded, QGIS will use the **EPSG code stored in the geometry metadata** | When loaded, QGIS will use the **EPSG code stored in the geometry metadata** | ||
