Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Andrea Aime
On Thu, Sep 3, 2020 at 3:56 PM Niels Charlier wrote: > Ah, sorry, indeed, a fairly recent feature. I see it is using the same ECC > library as geoserver to decode them. But it still only possible to read the > PBF's as part of a mbtiles/sqlite database, right. Not by itself, or with a > tilejson

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Niels Charlier via GeoTools-Devel
Ah, sorry, indeed, a fairly recent feature. I see it is using the same ECC library as geoserver to decode them. But it still only possible to read the PBF's as part of a mbtiles/sqlite database, right. Not by itself, or with a tilejson file? Kind Regards Niels On 03/09/2020 15:41, Andrea Aim

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Andrea Aime
I must have imagined this one: https://github.com/geotools/geotools/blob/master/modules/unsupported/mbtiles/src/main/java/org/geotools/mbtiles/MBTilesDataStore.java Cheers Andrea On Thu, Sep 3, 2020 at 3:38 PM Niels Charlier wrote: > An mbtiles file can indeed contain data in PBF format, but he

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Niels Charlier via GeoTools-Devel
An mbtiles file can indeed contain data in PBF format, but here as well, it seems that the geotools module doesn't go as far supporting this feature. Only raster images seem to be supported as binary data in the mbtiles sqlite database: see https://github.com/geotools/geotools/blob/master/modul

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Andrea Aime
Not completely unrelated, read here: https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md Cheers Andrea On Thu, Sep 3, 2020 at 2:42 PM Niels Charlier wrote: > Andrea, > > Confusingly, mbtiles and mapbox vector tiles are two entirely distinct > formats, as I understand it. > > Mapbox

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Niels Charlier via GeoTools-Devel
Andrea, Confusingly, mbtiles and mapbox vector tiles are two entirely distinct formats, as I understand it. Mapbox vector tiles are unrelated to sqlite. https://github.com/mapbox/vector-tile-spec Regards Niels On 03/09/2020 14:33, Andrea Aime wrote: Hi Niels, the mbtiles store can read ve

Re: [Geotools-devel] mapbox vector tiles

2020-09-03 Thread Andrea Aime
Hi Niels, the mbtiles store can read vector tiles stored in a sqlite database. For map rendering usage only, don't try to use that thing for WFS, won't be pretty :-D Cheers Andrea On Thu, Sep 3, 2020 at 1:14 PM Niels Charlier via GeoTools-Devel < geotools-devel@lists.sourceforge.net> wrote: > He

[Geotools-devel] mapbox vector tiles

2020-09-03 Thread Niels Charlier via GeoTools-Devel
Hello, Is it correct that there is currently no possibility to read mapbox binary vector tiles with geotools (PBF files). There is a mapbox style parser, but I don't see anything there that can be done with PBF sources specified inside it. Geoserver has MB vector tiles output format (an old