jonas-p / go-shp

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

return r.bbox for Writer #11

Closed gertcuykens closed 7 years ago

gertcuykens commented 7 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 7 years ago

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