Create a FORM in MapMint to save images from MapMint4ME needed for 3D constructing a model - ayoubft/Journey-GSoC-21 GitHub Wiki

Create a FORM in MapMint to save images from MapMint4ME needed for 3D constructing a model

The basic idea is that we create a form to pick up a n number of pictures, that will be used to create the 3D model using ODM.

In this first example we will be creating a form that will allow taking 15 pictures.

A host table

The first needed thing to do is to make a host table to get the pictures, here is the SQL code to do it (you can also find it here):

CREATE TABLE sample.imagery_for_3d (
  id serial PRIMARY KEY,
  name varchar(50),
  photo1 bytea,
  photo2 bytea,
  photo3 bytea,
  photo4 bytea,
  photo5 bytea,
  photo6 bytea,
  photo7 bytea,
  photo8 bytea,
  photo9 bytea,
  photo10 bytea,
  photo11 bytea,
  photo12 bytea,
  photo13 bytea,
  photo14 bytea,
  photo15 bytea
);

The table configuration

Go to : http://localhost/ui/Tables_bs

Parameters:

image

Informations:

image

View:

image

Edit:

image

The form on ''Table client module''

Go to http://localhost/ui/public//tables/2 :

image

The FORM in action

image