Open kylebarron opened 4 months ago
It doesn't appear that there's currently a way to write WKT values with a given precision?
I'm implementing "display methods" in geoarrow so that Python users can have a better display in a terminal than
<geoarrow.rust.core._rust.MultiPolygonArray at 0x10a12e9a0>
and in this use case, having too many decimals of precision is distracting. E.g. shapely gives a "repr" of
It looks like this format! would have to be changed? https://github.com/georust/geozero/blob/52a4d2d3c11f02e734274fcb6ee4b88b94b5b53d/geozero/src/wkt/wkt_writer.rs#L104
format!
Ref https://stackoverflow.com/a/49778870
It doesn't appear that there's currently a way to write WKT values with a given precision?
I'm implementing "display methods" in geoarrow so that Python users can have a better display in a terminal than
and in this use case, having too many decimals of precision is distracting. E.g. shapely gives a "repr" of
It looks like this
format!
would have to be changed? https://github.com/georust/geozero/blob/52a4d2d3c11f02e734274fcb6ee4b88b94b5b53d/geozero/src/wkt/wkt_writer.rs#L104Ref https://stackoverflow.com/a/49778870