Hi there,
We have to create and maintain (with desktop scripting) a bunch of Collector Offline Basemaps.
Collector only supports tilePackages (.tpk) as offline basemaps.
To match our needs, we must use area of interest to generate the caches.
So we must use the ManageTileCache Tool to create caches on our AOIs.
We have all the tiledCaches, but we can't export them to .tpk files with the ExpotTileCache Tool wich seems to be made for...
The error is 000242 : layer not supported.
The tool can be run despite of the error and indicates for each scale level that the export failed.
BUT the .tpk is generated, with the minimum scale showing in ArcMap but all other levels are empty.
We tried to unzip the .tpk, copy and paste the missing levels, but only the minimum scale can be read.
Any clue will be welcomed to aim that goal.
Thank you in advance.
Best regards.
Solved! Go to Solution.
Hi !
We figured it out.
It seems that the 000242 Error is for the area of interest featureclass and not the cache.
If you want to generate a .tpk, you MUST specify a non-empty area of interest.
In this case, the error on the first parameter (the tiled cache) disapear.
My team mate experienced a different behavior, the error did not disapear but the tool ran well anyway.
No clue on the reason, with the same version and caches...
However, we were not able to script the process with a stand alone python script nor a python command in the python window nor with an iterator in model builder.
The only solution found was to create a model builder with n tools in it.
Fortunately, I "only" had 33 tools to run...
I hope this will be fixed one day.
Hoping that this post be useful too.
Regards.
J.
Hi !
We figured it out.
It seems that the 000242 Error is for the area of interest featureclass and not the cache.
If you want to generate a .tpk, you MUST specify a non-empty area of interest.
In this case, the error on the first parameter (the tiled cache) disapear.
My team mate experienced a different behavior, the error did not disapear but the tool ran well anyway.
No clue on the reason, with the same version and caches...
However, we were not able to script the process with a stand alone python script nor a python command in the python window nor with an iterator in model builder.
The only solution found was to create a model builder with n tools in it.
Fortunately, I "only" had 33 tools to run...
I hope this will be fixed one day.
Hoping that this post be useful too.
Regards.
J.
Hi Jérémie,
I have the same issue and the tool cannot run because of " Missed or non valid parameter". I use Pro 2.1 and My Data is an Extract from DEM extracted from InterMap (raster type + includ Elevation information)
Here are the steps i do :
1. Create AOI that include my Raster (DEM)
2. Manage Cache Tile with filling all parameters even AOI
3. Export Cache Tile with specifing format, scales are read automatically from the in source data "cache" and adding AOI
4. Execute the tool but i have ERROR 000242: Le jeu de données, le fichier ou la couche en entrée n'est pas valide.—Aide | ArcGIS Desktop
I cannot figure out why it doesnt works....
What i want to do here is publish Elevation Service from my DEM to ArcGIS Online.
Thanks for help
Asma