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 PBF Slippy Tiles reading with Android #1589

Open
swa00 opened this issue May 20, 2023 · 5 comments
Open

Vector PBF Slippy Tiles reading with Android #1589

swa00 opened this issue May 20, 2023 · 5 comments

Comments

@swa00
Copy link

swa00 commented May 20, 2023

Hi together,

i'm using Tangram-es but i want to switch to this one with our projects.

is there also any possibility to read and render vector PBF Files under Android ?
i saw some code in the ios folder with a style json.

Does anyone has a android sample for that ?

Thx a lot

@sjg-wdw
Copy link
Collaborator

sjg-wdw commented May 20, 2023

Take a look at the AutoTester app.
I'd also give MapLibre Native a look.

@swa00
Copy link
Author

swa00 commented May 20, 2023

thx a lot sjg , but in autotester is only an example of an single mbtile file, not of slippy pbf's
MabLibre : thx

@sjg-wdw
Copy link
Collaborator

sjg-wdw commented May 20, 2023

VectorMBTilesTestCase is an mbtiles file full of PBFs.
If you want remote PBFs take a look at the MapTilerTestCase.

@swa00
Copy link
Author

swa00 commented May 24, 2023

Thanks for your support, works very well (after many changes and recompiling under android NDK)

Unfortunately, the construction is sometimes very slow or stalls (whether map or globe)
A cache function I have not found yet.....

Basically I want to underlay a map GL layer data ( no tiles ), which were determined from Grib2 data, and underlay them in the same projection congruent. (a 2D texture) (temperature,precipitation, cloudcovering).
I tried this with Tangram-es, am here now and actually can't find a solution .

Since you also "recommended" mapblibre native above :
Which way would you go with for my project ?

Many thanks to YOU

@sjg-wdw
Copy link
Collaborator

sjg-wdw commented May 24, 2023

Ah, weather data. Well for that we did use WhirlyGlobe.

mousebird consulting, the company that supported WhirlyGlobe-Maply is no more. We moved to Wet Dog Weather, a SaaS company focused on weather data display. So we are very familiar with how to display those kinds of data sets.

Unfortunately all of that work on top of WhirlyGlobe is proprietary. You can rebuild the parts you need yourself, including:

  • Custom data sampling shaders
  • Custom data display shaders
  • Support for data tiles rather than visual tiles
  • Back end processing to prep the data in tile pyramids

Having built that a few times for clients and then done it comprehensively for ourselves, it's a bit of work.

MapLibre is pretty bad at multi-frame data sets I'm afraid.

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