The WKT specification allows both period and comma to be the decimal separator in floating-point numbers (section 7.2.1):
<decimal point> ::= <period> | <comma>
However, a comma could result in ambiguous WKT representations. In this example, the polygon is specified with five points, but the WKT could also be parsed as having three points:
POLYGON((0 0,0 1,1 1,1 0,0 0))
I'm assuming that nobody deliberately uses
, as decimal separator, but is that really true?
Is there any reason to try to parse numbers in WKT with
Or shouly I assume that the specification is just buggy?