Sunday, 5 July 2015

How to enable camera and take pictures for features in QFIELD?


My question is as in the title. I'm struggling to find a way, how I could add a camera function in QFIELD in order to take pictures of features in field. I've seen one similar question here, but it's been left unanswered for more than a year now. As far as I know, this functionality does exist somehow.


Any tips?



Answer



I figured it out finally. Thanks to Matthias Kuhn for assistance.


First one needs to create an attribute form ("Attachment", used to be "External resource") for a layer field in question. This will enable camera function once in Qfield. Open properties-dialog of your layer to accomplish this.


Attribute form-tab in properties dialog


Once you're working with Qfield, be thoughtful about saved paths of taken pictures: you have to choose between file paths and directory paths. In case you transfer manually your pictures from your mobile device to PC, your directories will change thus I myself chose to save file paths.



What I didn't yet find out was, how to save pictures directly to a server.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...