LI3DS / cli-li3ds

CLI to interact with the LI³DS datastore through the LI³DS HTTP API
GNU General Public License v3.0
1 stars 0 forks source link

Use better referential names #42

Closed elemoine closed 7 years ago

elemoine commented 7 years ago

We have this right now on the li3ds server:

# select name, srid, sensor from referential;
      name      | srid | sensor 
----------------+------+--------
 undistorted[0] |      |      1
 raw            |      |      1
 camera         |      |      1
 undistorted[0] |      |      2
 raw            |      |      2
 camera         |      |      2
 undistorted[0] |      |      3
 raw            |      |      3
 camera         |      |      3
 undistorted[0] |      |      4
 raw            |      |      4
 camera         |      |      4
 undistorted[0] |      |      5
 raw            |      |      5
 camera         |      |      5
 undistorted[0] |      |      6
 raw            |      |      6
 camera         |      |      6
 0              |      |      1
 base           |      |      7
 1              |      |      2
 2              |      |      3
 3              |      |      4
 4              |      |      5
 5              |      |      6
(25 rows)

We should use better referential names.

Also, we currently have 4 referentials per camera sensor:

# select name, srid, sensor from referential where sensor=1;
      name      | srid | sensor 
----------------+------+--------
 undistorted[0] |      |      1
 raw            |      |      1
 camera         |      |      1
 0              |      |      1
(4 rows)

That is strange that we have both a "0" referential and a "camera" referential. Are they the same referential? This is to be verified.

elemoine commented 7 years ago

That is strange that we have both a "0" referential and a "camera" referential. Are they the same referential? This is to be verified.

Fixed with https://github.com/LI3DS/cli-li3ds/pull/43.