Skip to content

Add an option to return 'date' as 'string' for easy conversion to geojson. #187

Closed
@rados

Description

@rados

Hello,

Currently I am converting shape file to a geojson. In my shape file there are dates and I have to pay special attention to convert those dates to strings in order to json-ify them. So this could be a kind of common operation and then maybe the best thing is for the pyshp library to support this inherently somehow. Probably with a kind of flag or something better. I think this could be a simple change in the Reader.__record method, 'D' case.

I am ready to help with a PR.

Thanks,
Rado

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions