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

Vector Tile Support (Mbtiles) #6182

Closed
strech345 opened this issue Feb 2, 2018 · 10 comments
Closed

Vector Tile Support (Mbtiles) #6182

strech345 opened this issue Feb 2, 2018 · 10 comments

Comments

@strech345
Copy link

I want to load geometries (2d polygons) for exampe administrative areas which need to be aggregated for different zoom levels so it will be load fast on every level.
I don't know if this is possible with b3dm and also how to do the aggregation job automatically.
The only tool i know is mapbox tippecanoe which do it for mbtiles.

So i create an working example which load a mbtile layer into cesium. It's very difficult because i create the load, replace and caching on my own because i don't find any other solution.
http://my-sandbox.de/cesium/mbtiles/

I hope this community like also to include mbtiles, because the creation process from geojson to mbtile is very easy, the format is very compress and fast to read because of the pbf format.

Otherwise please tell me how to do it with other format.

For me gltf / b3dm looks like this will only works to position a model by one coordinate but not for geometries with georeferenced points like polygons of countrys, administrative areas,...
I'm right?

@kring
Copy link
Member

kring commented Feb 2, 2018 via email

@strech345
Copy link
Author

Hi @kring
Thanks.
For me the example didn't work

An error occurred
NationalMap experienced an error. Please report this by emailing data@digital.gov.au. Details of the error are below.
Request has failed. Status Code: 500

i also didn't found some information that terria.io is using vector tiles.

@kring
Copy link
Member

kring commented Feb 2, 2018 via email

@kring
Copy link
Member

kring commented Feb 2, 2018

One more thing, @strech345. In my haste to reply, I didn't realize this was a github issue; I thought it was a forum post (they look similar when they arrive in my email 😆). You may want to try posting your question to the Cesium forum, https://cesiumjs.org/forum/, as you'll likely get a better answer there, as well as a wider audience for your demo. The Cesium team uses GitHub issues exclusively for bug reports and feature requests.

@strech345
Copy link
Author

@kring
I send a feedback.
Ok thanks i will go to the forum. But can you please tell me where i find some documentation about terriajs and vector mbtiles?

@kring
Copy link
Member

kring commented Feb 4, 2018

Thanks, @strech345. I'll send you an email, since it's not really appropriate to talk about non-Cesium stuff here.

@bwyss
Copy link

bwyss commented Feb 15, 2019

@kring can you pass me that info too!?

@kring
Copy link
Member

kring commented Feb 16, 2019

@bwyss please ask your questions in the Cesium forum:
https://cesiumjs.org/forum/

If your question is about TerriaJS, check the Contact page:
https://terria.io/contact

@OmarShehata
Copy link
Contributor

Closing this since there's already a roadmap issue for vector tiles: #2132

@Jeetpal1
Copy link

Hey @strech345 strech345

Could you tell me what imagery provider did you use to load the tile from the backend?

I got the backend running, which serves any requested tile (zoom, x, y), but I am getting the following error.
image
image

After debugging, I found that front-end (Imagery provider) is requesting the tiles (zoom, x, y), which don't exist in mbtiles. I am using getTile() method of @mapbox/mbtiles

Any suggestion will be appreciated.

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

5 participants