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

return r.bbox for Writer #11

Closed gertcuykens closed 6 years ago

gertcuykens commented 6 years ago

I think the writer should also have a method to return the final BBox like the Reader does

func (r *Reader) BBox() Box {
    return r.bbox
}
fawick commented 6 years ago

That was added in https://github.com/jonas-p/go-shp/commit/cf46417f0ce71f78191798ebfa24ddc3c4d41bfe.