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

Packing scaled geoms gives different results than scaling packed geoms #147

Open
Notgnoshi opened this issue Feb 12, 2023 · 0 comments
Open
Labels
bug Something isn't working Rust tool a new tool, or an enhancement to an existing one

Comments

@Notgnoshi
Copy link
Owner

Input:

LINESTRING(0 0,1 0,2 0)
LINESTRING(0 0,1 0,1 1)

input

Packed:

LINESTRING(1 0,2 0,3 0)
LINESTRING(-0.5 -0.5,0.5 -0.5,0.5 0.5)

packed-then-scaled


Input:

LINESTRING(0 0,1 0,2 0)
LINESTRING(0 0,1 0,1 1)

Scaled:

LINESTRING(0 0,100 0,200 0)
LINESTRING(0 0,100 0,100 100)

input`

Packed:

LINESTRING(1 0,101 0,201 0)
LINESTRING(-50 -50,50 -50,50 50)

scaled-then-packed

@Notgnoshi Notgnoshi added bug Something isn't working tool a new tool, or an enhancement to an existing one Rust labels Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Rust tool a new tool, or an enhancement to an existing one
Projects
None yet
Development

No branches or pull requests

1 participant