JuliaGeo / Shapefile.jl

Parsing .shp files in Julia
http://juliageo.org/Shapefile.jl/
MIT License
82 stars 14 forks source link

Implement a `.zip` writer #115

Open asinghvi17 opened 2 weeks ago

asinghvi17 commented 2 weeks ago

This would be as simple as amending the function here https://github.com/JuliaGeo/Shapefile.jl/blob/69bad032c3caef938c5f020ba39107e53a7ac593/src/writer.jl#L93 to switch behaviour based on the file name and return ZipFile file descriptors instead. This would be similar to the behaviour we introduced in .zip reading.

See https://github.com/fhs/ZipFile.jl/blob/a599b0aac5d17403fdbbc4ea63612be299cf8417/src/ZipFile.jl#L14-L1 for some example code that can do this, it seems quite straightforward.