Closed rmanoka closed 2 years ago
I think it should be possible! It'll require some changes to the underlying Wkt type which is currently restricted to num_traits::Float - but I can't imagine why it'd actually be relying on Float behavior for anything.
I can take a look tomorrow.
Currently the
ToWkt
impls. needT: CoordFloat + Display
on the geometry. Can this be relaxed toT: CoordNum + Display
? Or, is this a big structural change? Ideally, evenFromWkt
should rather useCoordNum + FromStr
thanCoordFloat
if that's possible.