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 Aime wrote:
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 <ni...@scitus.be <mailto:ni...@scitus.be>> wrote:

    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/modules/unsupported/mbtiles/src/main/java/org/geotools/mbtiles/mosaic/MBTilesReader.java#L261

    Cheers

    Niels

    On 03/09/2020 14:43, Andrea Aime wrote:
    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 <ni...@scitus.be
    <mailto:ni...@scitus.be>> wrote:

        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 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
        <mailto:geotools-devel@lists.sourceforge.net>> wrote:

            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
            version, using an
            old library).

            Just checking I am not missing anything?

            Kind Regards

            Niels



            _______________________________________________
            GeoTools-Devel mailing list
            GeoTools-Devel@lists.sourceforge.net
            <mailto:GeoTools-Devel@lists.sourceforge.net>
            https://lists.sourceforge.net/lists/listinfo/geotools-devel



--
        Regards, Andrea Aime

        == GeoServer Professional Services from the experts! Visit
        http://goo.gl/it488V for more information. == Ing. Andrea
        Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di
        Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313
        fax: +39 0584 1660272 mob: +39 339 8844549
        http://www.geo-solutions.it
        http://twitter.com/geosolutions_it
        ------------------------------------------------------- /Con
        riferimento alla normativa sul trattamento dei dati
        personali (Reg. UE 2016/679 - Regolamento generale sulla
        protezione dei dati “GDPR”), si precisa che ogni circostanza
        inerente alla presente email (il suo contenuto, gli
        eventuali allegati, etc.) è un dato la cui conoscenza è
        riservata al/i solo/i destinatario/i indicati dallo
        scrivente. Se il messaggio Le è giunto per errore, è
        tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
        sarei comunque grato se potesse darmene notizia. This email
        is intended only for the person or entity to which it is
        addressed and may contain information that is privileged,
        confidential or otherwise protected from disclosure. We
        remind that - as provided by European Regulation 2016/679
        “GDPR” - copying, dissemination or use of this e-mail or the
        information herein by anyone other than the intended
        recipient is prohibited. If you have received this email by
        mistake, please notify us immediately by telephone or e-mail./



--
    Regards, Andrea Aime

    == GeoServer Professional Services from the experts! Visit
    http://goo.gl/it488V for more information. == Ing. Andrea Aime
    @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A
    55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272
    mob: +39 339 8844549 http://www.geo-solutions.it
    http://twitter.com/geosolutions_it
    ------------------------------------------------------- /Con
    riferimento alla normativa sul trattamento dei dati personali
    (Reg. UE 2016/679 - Regolamento generale sulla protezione dei
    dati “GDPR”), si precisa che ogni circostanza inerente alla
    presente email (il suo contenuto, gli eventuali allegati, etc.) è
    un dato la cui conoscenza è riservata al/i solo/i destinatario/i
    indicati dallo scrivente. Se il messaggio Le è giunto per errore,
    è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
    sarei comunque grato se potesse darmene notizia. This email is
    intended only for the person or entity to which it is addressed
    and may contain information that is privileged, confidential or
    otherwise protected from disclosure. We remind that - as provided
    by European Regulation 2016/679 “GDPR” - copying, dissemination
    or use of this e-mail or the information herein by anyone other
    than the intended recipient is prohibited. If you have received
    this email by mistake, please notify us immediately by telephone
    or e-mail./



--

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- /Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail./

_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to