GEOT-3101: adding support for measures

but shave them off anyways (there is a TODO in the source-code) before encoding.
Aditionally fill in the 3rd dimension also at 3 and more ordinates.