Wkt parser should parses geometry type as case insensitive
manhquang144 opened this issue · 2 comments
manhquang144 commented
The following value is a valid WKT : "polygon((153.05 -27.52 , 153.03 -27.648, 153.05 -27.59, 153.05 -27.52 ))", but the parser is throwing an error - Expect geometry type.
softdevca commented
Can you provide more context? Using the current version of the library this returns a Polygon object.
let mut wkt: Wkt<f64> = Wkt::from_str(
" polygon((153.05 -27.52 , 153.03 -27.648, 153.05 -27.59, 153.05 -27.52 ))",
)
michaelkirk commented
@manhquang144 - I'm going to close this as we cannot reproduce your issue. Let me know if you can provide more details.