Fixes

Small fixes not including elevation features.
Compressed output had the first point repeated.
On the contrary, uncompressed output is sequential.
This oneliner made both output consistent and writing test cases less disturbing.