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

simplify_coords function causes unexpected exit #11

Open
Joshua-IRT opened this issue Feb 19, 2020 · 0 comments
Open

simplify_coords function causes unexpected exit #11

Joshua-IRT opened this issue Feb 19, 2020 · 0 comments

Comments

@Joshua-IRT
Copy link

Joshua-IRT commented Feb 19, 2020

The simplify_coords function, which uses the RDP algorithm, causes my script to abruptly (and silently) exit under both 0.3.9 and 0.4.4 (the two versions I tested).

It was passed a list of approximately 212k LineStrings (i.e. [x, y, z] elements) and exited seconds later to command prompt.

ccount = len(coordlist)
simplified = simplify_coords(coordlist, 1)
print ccount, len(simplified)

I was running my script under Python 2.7.10 on Windows 10.

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

1 participant