Wow, that was fast. Thanks a lot! strk at refractions.net wrote: > I've changed unparse_WKB interface to take two additional arguments: > size_t *retsize, byte hexform > Updated all code to use them and had WKBFromLWGEOM request non-hex > output. This way asBinary() output is from 3 to 5 times faster. > > --strk;