Esri / TilePackageKreator

Tile Package Kreator
Apache License 2.0
28 stars 10 forks source link

Renamed .tpk disappeared in Survey123 #64

Closed yingwoei closed 6 years ago

yingwoei commented 6 years ago

By default, the Survey123 field app will label any offline map loaded as "Layers". I followed the steps in the link below to rename the "Layers" so that I can differentiate them when I have multiple offline maps loaded. However, the renamed map disappeared when I republished my survey.

Below is my detailed workflow:

  1. change the extension from .tpk to .zip
  2. extract the files
  3. open iteminfo.xml in Notepad
  4. rename the title at Layers
  5. zip the file and change the extension from .zip to .tpk

Below is the link: https://community.esri.com/groups/survey123/blog/2017/01/31/taking-your-maps-offline-with-tile-package-creator

I would appreciate if anyone know how to resolve this issue. Thank you very much!

defiantgoat commented 6 years ago

@yingwoei

It's best to do the editing without fully unzipping the package- there are particular zip settings that appear to be non-default. The recommended procedure would be to enter the zip file through an zip file explorer (if you change the extension .zip, Windows Explorer will allow you to do this) and either edit in place the .xml file or make a copy of it outside the package, update it, and recopy it into to the zip file.

You can find other similar comments and suggestions in the comments section of this post: https://community.esri.com/groups/survey123/blog/2017/01/31/taking-your-maps-offline-with-tile-package-creator

yingwoei commented 6 years ago

@defiantgoat This is long overdue, but thank you very much for pointing this out! It is really tricky in renaming the tile packages. I find 7-zip a very good tool to make edits within the zipped file.