OGC Well Known Binary (WKB) writer in Erlang