Select to view content in your preferred language

Create a single VTPK from multiple sources (i.e. merging)

60
0
Thursday
JulianBenz
New Contributor

I am trying to create a single vector tile package (VTPK) from multiple individual files. The styling, max level of detail, spatial reference, etc. are all the same. The only difference between the packages is the extent. I have tried to modify the approach in this post with editing the JSON file:

https://community.esri.com/t5/arcgis-field-maps-questions/consume-a-vtpk-with-multiple-sources-in-fi...

Instead of using a "main" vector basemap package with some secondary layers as described in that example, I tried to utilize the VTPK file structure of my first area of interest. Then, I added a second area of interest in a "p12" sub-folder (I just named it area_2) following the standard folder structure/file conventions. I then referenced this second source by editting the root.json file in the main "\p12\resources\styles" folder. After repacking everything, I tried to load this back into ArcGIS without any luck.

I should note that I did not change the extent in the root.json file under the "p12" folder (note that this is different that the styling root.json). Maybe this approach cannot work with areas of slightly overlapping extents. Just wondering if anyone could some suggestions, potentially on folder structure or what edits might need to be made to root.json files to potentially get it to work.

Tags (2)
0 Kudos
0 Replies