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

Fix parsing from wkt (#74) #84

Merged
merged 3 commits into from
Sep 18, 2017
Merged

Conversation

DekiChan
Copy link

This PR closes issue #74

It also updates tests so the geometries under test don't start with coordinate (0, 0). Fixed issue arised from the fact that first latitude in MultiPolygon (and MultiPoint) when using method fromWKT() was always cast to 0. Therefore tests with first coordinate (0, 0) were not able to find the problem.

It was fixed by stripping all characters or parenthesis from Point::fromPair() argument.

@coveralls
Copy link

coveralls commented Sep 15, 2017

Coverage Status

Coverage increased (+0.1%) to 83.954% when pulling 057e4cc on DekiChan:fix-parsing-from-wkt into 278a6c1 on njbarrett:master.

@njbarrett
Copy link
Collaborator

Thank you @DekiChan

@njbarrett njbarrett merged commit 16e77b8 into mstaack:master Sep 18, 2017
@DekiChan DekiChan deleted the fix-parsing-from-wkt branch September 19, 2017 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants