make Wkt<T> display
queer-emma opened this issue · 3 comments
queer-emma commented
I was trying to find out how to get a Wkt to actually convert to a string. Is there a reason why it doesn't implement Display
? It seems, instead i have to do ẁkt.item.to_string()
- which I find counter-intuitive.
lnicola commented
Until recently, a single Wkt
values could represent multiple geometries, which would have posed some problems when implementing ToString
. But adding it now seems quite reasonable.
queer-emma commented
This makes sense now. I just couldn't figure out why the README says that you can encode WKT strings, but there is no method for it. I didn't see that the individual types are Display
, and i also just wanted to encode the Wkt<_>
.
michaelkirk commented
Fixed by @categulario in #86