ewestern / geos

This is a Haskell binding to Geos, the open-source geometry library
MIT License
13 stars 9 forks source link

ReadHex format #1

Closed Rydgel closed 6 years ago

Rydgel commented 8 years ago

Hi,

I wanted to know the format read by GEOS.Serialize.readHex. If I understand correcty, it's a .wbk file in base 16 (hexadecimal). I've got issues reading my own file with that lib.

Rydgel commented 8 years ago

Forgot to put the stack trace

haskell-geo-exe(40254,0x7fff71ee7000) malloc: *** error for object 0x7ffcd9c055e0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
ewestern commented 8 years ago

Hi, sorry I missed this. I'm not sure about that file type -- but if it was stored as a well-known binary it shouldn't be a problem. This appears to be a bug in some of the FFI code, rather than an issue with file format --- will take a look.

ewestern commented 8 years ago

@Rydgel Actually, I'm not running into this issue. Perhaps you could upload the file you're working with?