Giter VIP home page Giter VIP logo

Comments (3)

wilhelmberg avatar wilhelmberg commented on June 9, 2024

@a14stoner the concept of Mapbox Vector Tiles is that data and style rules for rendering are separate.

You find the style in the folder where you extracted bmapv_vtpk_3857.vtpk to:

p12/resources/styles/root.json

You need a renderer like MapLibre GL JS, MapLibre GL Native or even QGIS to combine the MVTs and the style into a map like in the screenshot.

But be aware, the style (root.json) is not properly formatted and does not work with any OSS out of the box.

You also need to incorporate the fonts and sprites that come with the VTPK.

I think you need to dig a little deeper into the concept of MVTs and styles and the how the rendering of those works before you are able to produce a map.

Good starting points would most likely be the MapLibre or Mapbox docs.

from vtpk2mbtiles.

a14stoner avatar a14stoner commented on June 9, 2024

I managed to render the bap with tileserver-gl:

image

but what is interesting: No hillshading data is here:

image

When opening the rar vtpk file (downloaded here: https://cdn.basemap.at/offline/bmapv_vtpk_3857.vtpk) hillshading is also not present:

image

When checking the data.gv.at website (https://www.data.gv.at/2019/06/25/basemap-at-vektor-tile-cache/) hillshading is there.

any idea? :D

P.S.: Should i share my configuration here?

  • Config for tileserver-gl
  • styles config for basemap

from vtpk2mbtiles.

a14stoner avatar a14stoner commented on June 9, 2024

Nevermind: https://www.data.gv.at/katalog/dataset/basemap-at-hohenlinien-vektor-offline-osterreich#resources

There is an extra vektor file for this.

from vtpk2mbtiles.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.