qedus / osmpbf

OpenStreetMap PBF file format parser in Go Lang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop decoding of a file

karsten42 opened this issue · comments

Is there a way right now to stop the decoding of a file?
As far as I see from looking at the code if you were to stop calling the Decode() method before you went through the entire file there would be dangling go routines that you can't stop. Am I missing something, or is it just not intended so far to stop the decoding prematurely?

You are right, it's not implemented yet. Feel free to send a PR if you have time.