Home -
General /
All posts - WKT float number length, precision of data
|
Hi all, I need to check the precision of the data represented in WKT, specifically for floating numbers. Does anyone know how many digits can a WKT value have? Best, Diellza
|
|
Don't know. The OGR specification doesn't say in the "numbers" section in page 13 at https://docs.ogc.org/is/18-010r11/18-010r11.pdf But as a practical matter, what is the real-life application where it matters when it comes to Manifold? Manifold has a float64 numeric type, which allows precision down to far greater detail than anything encountered in real life in GIS. (See https://en.wikipedia.org/wiki/Double-precision_floating-point_format ) So what's the real-life use case where it matters whether or not WKT could have more digits past the decimal point than what can be represented in float64?
|