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

[PyAtlas] Made printouts for geometric objects WKT compatible #146

Merged
merged 1 commit into from
Jun 22, 2018
Merged

[PyAtlas] Made printouts for geometric objects WKT compatible #146

merged 1 commit into from
Jun 22, 2018

Conversation

lucaspcram
Copy link
Contributor

@lucaspcram lucaspcram commented Jun 22, 2018

The old geometric printouts showed the WKT incorrectly. The WKT printouts now use degrees instead of dm7, and display in lon/lat order instead of lat/lon.

location = geometry.location_with_degrees(30.5, 101)
print location

# OLD way would print out "POINT(305000000, 1010000000)"

# NEW way prints out "POINT (101 30.5)"

Copy link
Collaborator

@matthieun matthieun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! @lucaspcram
Please add at least a short description to the PR in accordance to the contributing guidelines. Thanks!

@matthieun matthieun merged commit b5d81e1 into osmlab:dev Jun 22, 2018
@lucaspcram lucaspcram deleted the fixes branch June 22, 2018 20:42
@matthieun matthieun added this to the 5.1.3 milestone Jul 16, 2018
seancoulter pushed a commit to seancoulter/atlas that referenced this pull request Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants