paulmach / orb

Types and utilities for working with 2d geometry in Golang
MIT License
886 stars 103 forks source link

Replaced strings split with splitting by regexp #128

Closed m-pavel closed 1 year ago

m-pavel commented 1 year ago

Even WKT specification says nothing about whitespaces around parentheses there are systems generating WKT with spaces. This PR replaces splitting by token with splitting by regexp and adds some tests. It should also fix https://github.com/paulmach/orb/issues/127

paulmach commented 1 year ago

Thank you

paulmach commented 1 year ago

published v0.9.1 with this change https://github.com/paulmach/orb/releases/tag/v0.9.1