Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wkt parser should parses geometry type as case insensitive #65

Closed
manhquang144 opened this issue Mar 3, 2021 · 2 comments
Closed

Wkt parser should parses geometry type as case insensitive #65

manhquang144 opened this issue Mar 3, 2021 · 2 comments

Comments

@manhquang144
Copy link

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.

https://docs.opengeospatial.org/is/18-010r7/18-010r7.html

@softdevca
Copy link
Contributor

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
Copy link
Member

@manhquang144 - I'm going to close this as we cannot reproduce your issue. Let me know if you can provide more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants