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

ST_PolygonFromEnvelope bug #554

Closed
czpmango opened this issue Apr 29, 2020 · 0 comments · Fixed by #556
Closed

ST_PolygonFromEnvelope bug #554

czpmango opened this issue Apr 29, 2020 · 0 comments · Fixed by #556
Assignees
Labels
arctern-0.1.1 arctern-0.1.1 arctern-0.2.0 arctern-0.2.0 bug Something isn't working

Comments

@czpmango
Copy link
Collaborator

test code:

def test_ST_PolygonFromEnvelope():
    x_min = pandas.Series([0.0 for x in range(1, 40000001)])
    x_max = pandas.Series([1.0 for x in range(1, 40000001)])
    y_min = pandas.Series([2.0 for x in range(1, 40000001)])
    y_max = pandas.Series([3.0 for x in range(1, 40000001)])

    rst = arctern.ST_PolygonFromEnvelope(x_min, y_min, x_max, y_max)
    assert len(rst) == 40000000

test result:

 AssertionError: assert 5363167 == 40000000
@czpmango czpmango added the bug Something isn't working label Apr 29, 2020
@czpmango czpmango added the arctern-0.2.0 arctern-0.2.0 label Apr 29, 2020
@neza2017 neza2017 added the arctern-0.1.1 arctern-0.1.1 label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arctern-0.1.1 arctern-0.1.1 arctern-0.2.0 arctern-0.2.0 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants