Specifically, changing the return values from maptile.Set to (maptile.Set, error)
My concern is that the /maptile/tilecover/polygon.go code triggers a panic if it encounters an invalid geometry and it would be helpful for the package to return an error that I can handle in my application code rather than all the scaffolding necessary to trap and recover from a panic.
I am happy to do the work to produce a PR but figured I would see whether this was interesting to you, first.
Specifically, changing the return values from
maptile.Setto(maptile.Set, error)My concern is that the
/maptile/tilecover/polygon.gocode triggers apanicif it encounters an invalid geometry and it would be helpful for the package to return an error that I can handle in my application code rather than all the scaffolding necessary to trap and recover from a panic.I am happy to do the work to produce a PR but figured I would see whether this was interesting to you, first.