Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Lebefure
Leica
LGPL
LGPLv
LineString
LTR
Lutra
Lutra's
Expand All @@ -94,6 +95,8 @@ MVT
Mercedes
Mergin
Multiline
MultiLine
MultiPoint
MultiPolygon
NDK
NMEA
Expand Down
24 changes: 24 additions & 0 deletions src/gis/features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,30 @@ Here are some practical tips for creating and maintaining layers in your project
- **Add new layers to your project as separate GeoPackages**. Do not add a new table to your existing GeoPackage that contains a survey layer. Just to be safe, it is better to have one GeoPackage for each of your survey layers.
- Use **GeoTIFF** format for your raster files or store them in a separate GeoPackage database

### Adding layers

You can add new layers to your <MainPlatformName /> project in QGIS.

![QGIS Data source manager toolbar - Create GeoPackage](./qgis-dsm-toolbar.webp "QGIS Data source manager toolbar - Create GeoPackage")

Create a **new GeoPackage layer**:
- Save the **Database** to your <MainPlatformName /> project [folder](../../manage/project/#mergin-maps-project-folder) on your computer (to ensure it is synchronised with the project)
- Choose the **Geometry type**.
- For spatial layers, select *MultiPoint*, *MultiLine*, *MultiPolygon* (for features with multipart geometry) or *Point*, *LineString*, *Polygon*.
- Select *No Geometry* for a non-spatial layer (table)
- Set the **Coordinate reference system**
- Add **fields** with appropriate data types

![QGIS New GeoPackage Layer](./qgis-new-geopackage-layer.webp "QGIS New GeoPackage Layer")

The new layer is added to the project. Now you can set up its symbology, attributes form or other settings.

:::tip More about adding GeoPackage layers
Our tutorial [Creating a Project in QGIS](../../tutorials/creating-a-project-in-qgis/#add-layers) includes detailed steps on how to add a new layer to the project.

A comprehensive description of creating a GeoPackage layer can be found in <QGISHelp ver="latest" link="user_manual/managing_data_source/create_layers.html#creating-a-new-geopackage-layer" text="QGIS documentation" />.
:::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should warn users here to not add new layers to existing geopackages because it will cause conflicted copies.

### Layer symbology
The same symbology as defined in the QGIS project will be used in <MobileAppName />. However, <MobileAppName /> does not include all the SVG markers that are available within QGIS. Therefore, if you are using SVG markers for your layer styling, ensure those are copied to the project folder.

Expand Down
Binary file added src/gis/features/qgis-dsm-toolbar.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/gis/features/qgis-dsm-toolbar.xcf
Binary file not shown.
Binary file added src/gis/features/qgis-new-geopackage-layer.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/gis/features/qgis-new-geopackage-layer.xcf
Binary file not shown.
Loading