Is there any tool to manipulate pmtiles adressing layers #7
Unanswered
FabriceACohen
asked this question in
Q&A
Replies: 2 comments 1 reply
-
The tools like https://github.com/protomaps/go-pmtiles don't perform any actions on individual tiles. For vector tiles in specific you should be able to modify your vector tile generation to only generate specific layers. This is a feature that's on the https://github.com/protomaps/basemaps roadmap. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi,
Thank you very much, that’s very usefull.
In order to check I have well understood, what you explained to me is that :
* I can create my own planet.pmtiles from OSM (planet / full) with planetiler and the basemaps project. I can in particular modify the ‘layer’ folder and the java files in this folder to select the layers and data I need in each layers… is it correct ?
My thoughts :
* Planetiler says it needs 0,5 x the pbf filesize in RAM => planet is 72GB => I need at least 36GB of RAM to do the job ?
* I would be amazing to follow reverse usage path : I create a style with my needs or that I already have one (so my data needs) => I use a tool to extract from osm planet file only the layers and data needed in the style to a pmtile file. I understand they may need a pivot file to match/group OSM data names / pmtile data names. That’s what I am going to do manually. Or at least a utility to pick layers/data from OSM, define the target layer/name and generate a conf file (as the java files in the layer folder mentioned earlyer). Do you know of something like that or plan to move towards that. Any comments on how you would do yourself ?
Tanksfully,
Fabrice.
[X]
_
Fabrice Cohen
06 50 07 18 39
***@***.***
***@***.***>
84 boulevard des Belges, 69006 Lyon
De : Brandon Liu ***@***.***>
Envoyé : vendredi 17 novembre 2023 02:24
À : protomaps/.github ***@***.***>
Cc : Fabrice Cohen ***@***.***>; Author ***@***.***>
Objet : Re: [protomaps/.github] Is there any tool to manipulate pmtiles adressing layers (Discussion #7)
The tools like https://github.com/protomaps/go-pmtiles don't perform any actions on individual tiles.
For vector tiles in specific you should be able to modify your vector tile generation to only generate specific layers. This is a feature that's on the https://github.com/protomaps/basemaps roadmap.
—
Reply to this email directly, view it on GitHub<#7 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A67Y32RO45FO7JCWTCAQGRLYE24ELAVCNFSM6AAAAAA7N6RLQWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKOJUGA2TC>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Would it be possible to have a tool to remove, extract, add layers from pmtiles ?
Does it already exists ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions