mousebird-consulting-inc / WhirlyGlobe

WhirlyGlobe Development
Other
828 stars 254 forks source link

Vector PBF Slippy Tiles reading with Android #1589

Open swa00 opened 1 year ago

swa00 commented 1 year ago

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 commented 1 year ago

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

swa00 commented 1 year ago

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 commented 1 year ago

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

swa00 commented 1 year ago

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 commented 1 year ago

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:

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.