Exercise Data Express - Asset Inspection (Part3)
Overall Goal To include a photo from the mobile device when submitting an asset condition report to FME
Demonstrates Using the JPEG Reader to allow for a camera photo or pre-existing image to be submitted as part of the condition report.

Configure the Workspace:

To include the photo we need to include the JPEG Reader but it needs an initial JPEG to start with, though we will not use that image it's just to allow the reader to be added.

Use the link below in the JPEG reader for the source dataset as a temporary image.

https://www.w3.org/People/mimasa/test/imgformat/img/w3c_home.jpg

Note: We could use a local JPEG image if we had one the above is just a quick way to include a temporary image without having to find one on the file system!

Follow the steps shown in the video below to add the JPEG reader then republish the Workspace to FME Server.

Delete the GeoPackage:

As we've updated the schema to the GeoPackage the easiest thing to do is to Remove the current GeoPackage so a new one with the current schema will be created on the first submission.

Run the Workspace on FME Data Express:

Run the Workspace in the Data Express App to test submitting the camera photo.

The QR code is:

Follow the video below.

Check the GeoPackage:

Check the image has been added to the GeoPackage on FME Server

You should see the Photo (as binary object) alongside the asset record submitted.