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

Limit length of WKT in repr #124

Closed
jorisvandenbossche opened this issue Mar 24, 2020 · 1 comment · Fixed by #189
Closed

Limit length of WKT in repr #124

jorisvandenbossche opened this issue Mar 24, 2020 · 1 comment · Fixed by #189

Comments

@jorisvandenbossche
Copy link
Member

If you have big geometries, checking an array of those quickly completely fills the terminal with its repr. For printing purposes, I think it would be nice to limit the length of the repr (truncate the string after a certain amaount of characters). The to_wkt method is still available to see the full representation.

@caspervdw
Copy link
Member

Agreed, maybe 256 characters? Still a lot but not terminal-filling

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

Successfully merging a pull request may close this issue.

2 participants