Closed peterstace closed 3 years ago
We should do a similar thing for the SQL related methods as well.
We need to be careful here to ensure that geometries remain immutable after creation (with unit tests to show it).
We should do a similar thing for the SQL related methods as well.
This part was already completed in https://github.com/peterstace/simplefeatures/issues/351
Currently, the
json.Unmarshaller
interface is only satisfied by theGeometry
andGeometryCollection
types.The concrete geometry types (
Point
,LineString
etc) should also implement this interface.