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

2.x.x: deck.gl does not draw tiles #137

Closed
skemaikin opened this issue Jan 24, 2024 · 11 comments
Closed

2.x.x: deck.gl does not draw tiles #137

skemaikin opened this issue Jan 24, 2024 · 11 comments

Comments

@skemaikin
Copy link

Hi,

Tiles generated by versions 2.x.x (starting from version 2.0.0, 4978 -> 4326) are not drawn by the deck.gl library. They are loaded, but not drawn.
Tiles are prepared with use_implicit_tiling=false. The asset.version inside the teleset.json was manually changed to 1.0 (the tileset follows this format).

Thanks!

@bertt
Copy link
Member

bertt commented Jan 24, 2024

Hi did you try with 2.1 also?

@skemaikin
Copy link
Author

Hi did you try with 2.1 also?

Yes, I did. Tiles generated by v.2.1 do not display (but they do load). v.1.8.5 - all correct.

@bertt
Copy link
Member

bertt commented Jan 24, 2024

ok, is there a minimal Deck.gl client to reproduce this? Maybe also a sample when it was working.

@skemaikin
Copy link
Author

ok, is there a minimal Deck.gl client to reproduce this? Maybe also a sample when it was working.

deckgl-viewer.zip
Tileset hosted on localhost:3000/tileset.json You can change this url (app.js:90). Nodejs v.18.18.2.

@bertt
Copy link
Member

bertt commented Jan 24, 2024

Something to check: If the client only support 1.0 (so only .b3dm files) you have to use ' --create_gltf false' also (otherwise glb's are created)

@skemaikin
Copy link
Author

Something to check: If the client only support 1.0 (so only .b3dm files) you have to use ' --create_gltf false' also (otherwise glb's are created)

Yes, I did so. ... --create_gltf false --use_implicit_tiling false

@bertt
Copy link
Member

bertt commented Jan 24, 2024

Fixed it in fb80c4f

You can also change in tileset.json the transform the last 0 to 1:

From

      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      1238318.875,
      -4794808.5,
      4006101.5,
      0.0

To

      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      0.0,
      0.0,
      0.0,
      1.0,
      0.0,
      1238318.875,
      -4794808.5,
      4006101.5,
      1.0

@skemaikin
Copy link
Author

Fixed it in fb80c4f

Now it works fine!!!

Another wish: It seems to me that while using the parameters --create_gltf false --use_implicit_tiling false the version can be defined as 1.0. Of course as per your preferences )))

@bertt
Copy link
Member

bertt commented Jan 24, 2024

Great it works :-)

I shall look into the version 1.0 when --create_gltf false --use_implicit_tiling false for next release

@bertt bertt closed this as completed Jan 24, 2024
@bertt
Copy link
Member

bertt commented Jan 25, 2024

PR for setting 1.0 version see #138

@bertt
Copy link
Member

bertt commented Jan 25, 2024

2.2.0 is released with these fixes

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