Outdated documentation

The latest documentation was moved to docs.qfield.org

Eine Reihe von Bildern zu einem Objekt hinzufügen

Du kannst ein oder mehrere Bilder zu einem Objekt hinzufügen. Im Folgenden findest du ein Beispiel, wie das umgesetzt werden kann.

Zwei Tabellen erstellen

Wir benötigen zwei Tabellen. Eine Tabelle, in welcher die Objekte gespeichert werden und eine, in der die Bilder gelistet werden.

Apiary

  • id (UUID)
  • geometry

Apiary_pictures

  • id
  • apiary_id (UUID)
  • path (TEXT)

Beziehungen

Erstelle eine Beziehung mit:

  • apiary Referenzierter Layer
  • id Referenziertes Feld
  • apiary_picture Referencing layer
  • apiary_id Referencing field
  • strength Composition
Relations

Bedienelemente

apiary

Setze den Standardwert des Feldes id auf uuid(). Es ist nicht nötig, diesen im Formular anzuzeigen.

widgets

Setze das Bedienelement auf mehrere-zu-einem und füge die Beziehung zum Formular hinzu.

widgets2

Bilder

Setze den Bedienelementtyp des Feldes path auf Anhang und füge es zum Formular hinzu

widget picture

Geotagging

Some mobile devices will require Open Camera to be installed in order to enable geotagging.

To enable geotagging perform the following steps:

  1. In QField, go to the settings and make sure „Use native Camera“ is activated
  2. Install the Open Camera app on your mobile device
  3. Within the Open Camera settings, make sure geotagging is enabled
  4. Within you mobile device settings, set the default camera app to Open Camera
  5. Completed! Open Camera will now be utilized while taking pictures with QField