cesium.entwine.io icon indicating copy to clipboard operation
cesium.entwine.io copied to clipboard

Bounds are too large for the selected scale

Open cherukumilli opened this issue 6 years ago • 1 comments

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

cherukumilli avatar Jul 11 '18 02:07 cherukumilli

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

mixadrone avatar Feb 04 '21 19:02 mixadrone