Software version doesn't always match file versions

347
1
01-16-2023 12:03 PM
GeoffroyRicher-Lalonde
Occasional Contributor II

I've been following the updates of ArcGIS Earth since 1.10.1. As an administrator, one thing I realized with each new release is that you have to be careful with the version number in the file headers. Sometimes, a file won't work if you use the same version number as the software version. Sometimes, the file will work, but the version will be rolled back (overwritten) to another version. Here are 2 examples :

  • With ArcGIS Earth 1.16, a 1.16 basemap_layers.json will work. But it will be rolled back (overwritten) to 1.15.
  • With ArcGIS Earth 1.17, the config.xml that comes with the software has a 1.16 header. If you try to use 1.17 in the header, the configuration file won't work. (And the config.xml that saves personalized user configurations in workspaces still uses a 1.15 header.)

It would be far less confusing if the file headers could always match the software version for the following files :

  • basemap_layers.json
  • bookmarks.json
  • config.xml - the complete one (with Operational Layers)
  • config.xml - the smallest one (for personalized user configurations)
  • configManager.xml
  • elevation_layers.json
  • html_windows.json
  • icon_config.json
  • operational_layers.json

Thank  you.

Geoffroy Richer-Lalonde
GIS Specialist, Hydro-Québec
0 Kudos
1 Reply
Sharon_MU
Esri Contributor

Hi @GeoffroyRicher-Lalonde ,

Thank you for the question. 

Currently , it is by design that version in config.xml file is not updated if there is no change at a certain version.  The version only updates and is valid when there are changes at this version.  It means the version in config.xml file can be different from the version of ArcGIS Earth app. The previous version of config.xml is forward-compatible.

Your feedback is valuable and helpful.   We'll research on this issue and find if there is better solution for manual editing of version by users.  We'll keep you posted.

Thanks.

Sharon Mu

 

0 Kudos