Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Release of MBTiles? #2

Open
klokan opened this issue Jul 3, 2018 · 7 comments
Open

Release of MBTiles? #2

klokan opened this issue Jul 3, 2018 · 7 comments

Comments

@klokan
Copy link

klokan commented Jul 3, 2018

Amazing project!

Do you plan to make a release of MBTiles with the vector tiles inside (PBFs)?

It would be helpful even if this is just in beta status...

Technically - it can be easy to do. If "release" is made on GitHub on this repository you can attach the MBTiles there. GitHub provides free hosting for gigabytes of data.

We did the same way releases on OSMNames or (early versions) of OpenMapTiles/OSM2VectorTiles projects...

@bertt
Copy link

bertt commented Aug 1, 2018

FYI created one MBTile with PDOK vector tiles for experiment, Amsterdam area only, size 231MB, levels 0-17 https://github.com/bertt/pdok/tree/master/mbtiles/amsterdam.mbtiles

@Exerlol
Copy link

Exerlol commented Apr 13, 2020

@bertt Hello and first of all thanks for a great work you guys are doing!

I created proof of concept app using amsterdam.mbtiles you provided (converted with mb-util to {z}/{x}/{y}.pbf format and openlayers to load those) and it works great. I was wondering is there a place where we can download entire netherland.mbtiles? Or can we create mbtiles or pbf's of entire Netherland on our own?

Thanks for reply in advance!

@bertt
Copy link

bertt commented Apr 13, 2020

Hi @Exerlol, good you reactivated this issue, seems like nothing has happened... At the moment I don't think there is a complete Netherlands.mbtile file.

To create it ourselves it would involve download all the vector tiles, put them in mbtile format and host the file somewhere. For the Amsterdam sample, I've used zoom level 0-17. An option is to reduce the number of zoom levels to speed the process up and make resulting file smaller.

@Exerlol
Copy link

Exerlol commented Apr 13, 2020

Hello @bertt thanks for a quick reply!
Is creating Netherlands.mbtile in plan at all?
Since im kinda new at this, it would be of great help if you could provide me with some guidelines. For example an endpoint for obtaining PDOK vector tiles. Also what tool would we use for packing vector tiles into mbtiles format? Is there a third party tool which could help me out with any of above mentioned? (such as QGIS for example).
Also there is endpoint http://geodata.nationaalgeoregister.nl/beta/topotiles/{z}/{x}/{y}.pbf - can we somehow use this and obtain all pbfs for Netherlands?

@bertt
Copy link

bertt commented Apr 13, 2020

At the time, I wrote a little tool to download vector tiles and prepare the correct file structure for running mb-util tool: https://github.com/bertt/tilegrab

@Exerlol
Copy link

Exerlol commented Apr 21, 2020

Hi there @bertt I was quite busy previous days, however just wanted to let you know that I made use of tool provided and it was a real fortune to me. Thank you very much for your kind and quick responses!

@bertt
Copy link

bertt commented Apr 21, 2020

ok thanks! In the meantime I've updated the tool tilegrab a bit (it generates now directly mb-tile file instead of xyz tileset). And added some more cities to https://github.com/bertt/pdok/tree/master/mbtiles. Running for complete Netherlands should be possible but requires some (time/storage/bandwidth) resources.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants