[postgis-devel] Regarding Raster RFC2 edit (r16452)

Sandro Santilli strk at kbt.io
Sat Mar 10 23:15:16 PST 2018


Komzpa I saw you modified RFC2-WellKnownBinaryFormat in r16452 but
didn't read any thread on postgis-devel reguarding the change.

Those documents are important references and should be changed
lightly so please revert the change and propose changes on this
mailing list.

Note that the header of the file contains revision information,
which you didn't update with your changes.

Specifically your change shifted the last 2 "pixtype" values from
9,10 to 10,10 thus leaving a gap in 9:

 +---------------+--------------+-----------------------------------+
 | pixtype       | 4bits        | 0: 1-bit boolean                  |
 |               |              | 1: 2-bit unsigned integer         |
 |               |              | 2: 4-bit unsigned integer         |
 |               |              | 3: 8-bit signed integer           |
 |               |              | 4: 8-bit unsigned integer         |
 |               |              | 5: 16-bit signed integer          |
 |               |              | 6: 16-bit unsigned signed integer |
 |               |              | 7: 32-bit signed integer          |
 |               |              | 8: 32-bit unsigned signed integer |
 |               |              | 10: 32-bit float                  |
 |               |              | 11: 64-bit float                  |
 +---------------+--------------+-----------------------------------+

Is it possible you're updating RFC to match some buggy code ?

--strk;


More information about the postgis-devel mailing list