peterstace / simplefeatures

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

Remove EmptySet type #85

Closed peterstace closed 4 years ago

peterstace commented 4 years ago

EmptySet can currently be Point, LineString, or Polygon. These should just be part of their respective types.

This is better in line with the behaviour of PostGIS, and allows a nicer interface in some cases (e.g. when returning a geometry and a flag, could instead just return a flag).

peterstace commented 4 years ago

Fixed by https://github.com/peterstace/simplefeatures/pull/117