Comments (3)
@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.
I managed to render the bap with tileserver-gl:
but what is interesting: No hillshading data is here:
When opening the rar vtpk file (downloaded here: https://cdn.basemap.at/offline/bmapv_vtpk_3857.vtpk) hillshading is also not present:
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.
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)
- hard coded layer names HOT 2
- error in basemap vector files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vtpk2mbtiles.