jonas-p / go-shp

Go library for reading and writing ESRI Shapefiles. Pure Golang implementation based on the ESRI Shapefile technical description.
MIT License
255 stars 67 forks source link

read any zip files #40

Closed landru29 closed 4 years ago

landru29 commented 4 years ago

The new function reads all the files in the zip to get exactly the .shp and the .dbf

The old OpenShapeFromZip(zipFilePath string, name string) remains in the code for compatibility

codecov-io commented 4 years ago

Codecov Report

Merging #40 into master will decrease coverage by 2.02%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
- Coverage   60.09%   58.07%   -2.03%     
==========================================
  Files           7        7              
  Lines         802      830      +28     
==========================================
  Hits          482      482              
- Misses        264      292      +28     
  Partials       56       56
Impacted Files Coverage Δ
zipreader.go 31% <0%> (-12.06%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9fd306a...b18f5b0. Read the comment docs.