peterstace / simplefeatures

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

Separate `Envelope` validation from construction #560

Closed peterstace closed 10 months ago

peterstace commented 11 months 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 10 months ago

Thanks for reviewing @albertteoh 🙇