[Geopackage] New blog post: what about vector tiles in GeoPackage?

Jeff Yutzler jeffy at imagemattersllc.com
Wed Jun 27 15:44:03 EDT 2018


Thanks, Even. It looks like if we go with the MVT approach, we will want to
create two ancillary tables to mirror the JSON entry. No big deal.
I think I'll go ahead and draft a community extension just to get it out
there.
-Jeff

On Wed, Jun 27, 2018 at 3:10 PM, Even Rouault <even.rouault at spatialys.com>
wrote:

> On mercredi 27 juin 2018 14:53:01 CEST Jeff Yutzler via Geopackage wrote:
> > http://geopackage.blogspot.com/2018/06/what-about-vector-
> tiles-in-geopackage
> > .html
>
> Jeff,
>
> We discussed that recently on the gdal-dev mailing list.
>
> So yes there's pretty much everything needed to support MapBox Vector
> Tiles as
> GeoPackage. It would be a shame to reinvent a new encoding whereas MVT has
> now
> become a industry standard (although MapBox is currently working on a V3
> of
> the format)
>
> One point though is that it might be appopriate to have some way to
> describe
> the attribute structure of layers, similarly to the 'json' entry in the
> metadata tables of a .mbtiles storing MVT, to avoid having to read the
> tiles
> to figure out what vector layer they contain and their attribute
>
> Example taken from a MBTiles:
> {"vector_layers":[{"id":"water","minzoom":0,"maxzoom":14,"fields":
> {"class":"String"}},{"id":"waterway","minzoom":0,"maxzoom":14,"fields":
> {"name":"String","class":"String"}},{"id":"landcover","
> minzoom":0,"maxzoom":
> 14,"fields":{"class":"String","subclass":"String"}},{"id":"
> landuse","minzoom":
> 0,"maxzoom":14,"fields":{"class":"String"}},{"id":"park","minzoom":
> 0,"maxzoom":14,"fields":{"class":"String"}},{"id":"boundary","minzoom":
> 0,"maxzoom":14,"fields":{"admin_level":"Number"}},{"id":
> "aeroway","minzoom":
> 0,"maxzoom":14,"fields":{"class":"String"}},{"id":"
> transportation","minzoom":
> 0,"maxzoom":14,"fields":
> {"class":"String","oneway":"Number","ramp":"Number","
> brunnel":"String","service":"String"}},
> {"id":"building","minzoom":0,"maxzoom":14,"fields":
> {"render_height":"Number","render_min_height":"Number"}},
> {"id":"water_name","minzoom":0,"maxzoom":14,"fields":
> {"name":"String","name_en":"String","class":"String"}},
> {"id":"transportation_name","minzoom":0,"maxzoom":14,"fields":
> {"name":"String","ref":"String","ref_length":"Number","class":"String"}},
> {"id":"place","minzoom":0,"maxzoom":14,"fields":
> {"name":"String","name_en":"String","class":"String","
> rank":"Number","capital":"Number"}},
> {"id":"housenumber","minzoom":0,"maxzoom":14,"fields":
> {"housenumber":"String"}},{"id":"poi","minzoom":0,"maxzoom":14,"fields":
> {"name":"String","name_en":"String","class":"String","
> subclass":"String","rank":"Number"}}]}
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>



-- 
Jeff Yutzler
Image Matters LLC <http://www.imagemattersllc.com/>
Mobile: (703) 981-8753
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geopackage/attachments/20180627/3ce9271a/attachment.html>


More information about the Geopackage mailing list