Hi,
I had some confusing problems while using the write method, and after some debugging realized that DB passed to the constructor is not used at all. On the other hand, the method write_points does use this DB, and I think this is the desired behaviour.
Is there any reason behing this? or it is just a bug?
I can submit a patch if deemed necessary.