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

Bounds are too large for the selected scale #12

Open
cherukumilli opened this issue Jul 11, 2018 · 1 comment
Open

Bounds are too large for the selected scale #12

cherukumilli opened this issue Jul 11, 2018 · 1 comment

Comments

@cherukumilli
Copy link

cherukumilli commented Jul 11, 2018

The following works:

docker run -it \
  -v ~/entwine:/entwine \
  connormanning/entwine build \
    -i https://entwine.io/data/red-rocks.laz \
    -o /entwine/red-rocks

The following fails:

$ docker run -it \
>     -v ~/entwine:/entwine \
>     connormanning/entwine build \
>         -i https://entwine.io/data/red-rocks.laz \
>         -o /entwine/red-rocks-ecef \
>         -r EPSG:4978
Scanning input
1 / 1: https://entwine.io/data/red-rocks.laz
Exception in pool task: No default SRS supplied, and none inferred
Correcting malformed Bounds
Maximal extents: [(-2147483648, -2147483648, -2147483648), (2147483647, 2147483647, 2147483647)]
Scaled bounds:   [(-9223372036854775808, -9223372036854775808, -9223372036854775808), (-9223372036854775808, -9223372036854775808, -9223372036854775808)]
Encountered an error: Bounds are too large for the selected scale
Exiting.

The following also fails even though I added --noTrustHeaders flag

$ docker run -it \
>     -v ~/entwine:/entwine \
>     connormanning/entwine build \
>         -i https://entwine.io/data/red-rocks.laz \
>         -o /entwine/red-rocks-ecef \
>         -r EPSG:4978 \
>         --noTrustHeaders
Scanning input
1 / 1: https://entwine.io/data/red-rocks.laz
Exception in pool task: No default SRS supplied, and none inferred
Correcting malformed Bounds
Maximal extents: [(-2147483648, -2147483648, -2147483648), (2147483647, 2147483647, 2147483647)]
Scaled bounds:   [(-9223372036854775808, -9223372036854775808, -9223372036854775808), (-9223372036854775808, -9223372036854775808, -9223372036854775808)]
Encountered an error: Bounds are too large for the selected scale
Exiting.

The following WORKS (without --noTrustHeaders but by adding one more EPSG:4978 flag to the project param

docker run -it \
    -v ~/entwine:/entwine \
    connormanning/entwine build \
        -i https://entwine.io/data/red-rocks.laz \
        -o /entwine/red-rocks-ecef \
        -r EPSG:4978 EPSG:4978
@mixadrone
Copy link

You need to setup input projection for reprojection (as example -r EPSG:28355 EPSG:4978). Also flag -h helps.

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

2 participants