I think this is a good library to create shapefiles, and I think it can be improved by allowing users to pass in a dynamic record list, instead of having to specify every attribute.
This proposed solution will not affect other functionality and it will be backwards compatible.
I am closing this for now @alexmnt, at least until I hear back regarding what the PR intends to do (see my reply to your code, above). I'm open to accepting this, just need more background info.
I think this is a good library to create shapefiles, and I think it can be improved by allowing users to pass in a dynamic record list, instead of having to specify every attribute. This proposed solution will not affect other functionality and it will be backwards compatible.