-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Comments
Hi Stephan,
Is this close to what you're after?
http://nationalmap.gov.au/#share=s-ejm3RwtYyr9kDXkp0lUNqGaCuwk
This uses MapBox vector tiles on the back end, joined on the client side
with per-region values that are used for coloring. A simple spec defines
how tabular data (e.g. a CSV) is joined with regions and drawn on a map:
https://github.com/TerriaJS/nationalmap/wiki/csv-geo-au
You can create a CSV following this standard, drop it on the map, and get
fast color-coded regions backed by vector tiles.
It's part of our open source library, TerriaJS (http://terria.io), which
uses Cesium for visualization and has a fallback to Leaflet for systems
that can't run Cesium (click the Map button in the top right to try the 2D
mode).
|
Hi @kring
i also didn't found some information that terria.io is using vector tiles. |
Hi Stephan,
That's embarrassing, and strange. Can you tell me what browser you're
using? If you hit the Give Feedback link at the bottom and report the
problem, it will give me a few small details about your environment (such
as the browser's user agent string). Also if you have a few minutes to
debug, maybe you could pop into our chat channel and we can talk through
it? https://gitter.im/TerriaJS/terriajs
|
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. |
@kring |
Thanks, @strech345. I'll send you an email, since it's not really appropriate to talk about non-Cesium stuff here. |
@kring can you pass me that info too!? |
@bwyss please ask your questions in the Cesium forum: If your question is about TerriaJS, check the Contact page: |
Closing this since there's already a roadmap issue for vector tiles: #2132 |
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. 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. |
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?
The text was updated successfully, but these errors were encountered: