peterstace / simplefeatures

Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification
MIT License
134 stars 19 forks source link

Separate `Envelope` validation from construction #560

Closed peterstace closed 1 year ago

peterstace commented 1 year ago

Description

This change moves Envelope validation out of constructors, and into a separate Validate method. This is similar to the recent changes for regular geometries.

It includes two further small breaking changes, so that all breaking changes are bundled together:

Check List

Have you:

Related Issue

peterstace commented 1 year ago

Thanks for reviewing @albertteoh 🙇