Can't read .tpk file as LocalTileCacheLayer.

3110
2
11-07-2011 09:52 PM
Labels (1)
wangzhifang
Occasional Contributor
I've download a tile package file from http://www.arcgis.com/home/item.html?id=e6541657ec1e47ce9a20d512174df657 uploaded by Denise62. And ensure the file is valid by reading it using PBS(http://www.arcgis.com/home/item.html?id=48bf53da123e442ab8ac9aed52747552).

But I can't load it as LocalTileCacheLayer in ArcGIS Runtime for WPF sdk. The Initialized event has been fired, but I found that the app has read the tile rows/columns as 256*256, but in fact, the .tpk file has cache in 128*128. So the correct tile can't be loaded.

Don't know if this is a bug.

update�?sorry for uncorrect infos, WPF Runtime SDK could correctly read the conf.xml/conf.cdi information as tiling scheme. But for the specific tile package file(http://www.arcgis.com/home/item.html?id=e6541657ec1e47ce9a20d512174df657), it really can't display correctly. When load it as a LocalTileCacheLayer, Map displays blank.
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

Many significant changes have been made since Beta 1 in relation to the creation of Tile Packages in ArcGIS Desktop and how we read Tile Packages in the ArcGIS Runtime SDK for WPF.

I can confirm that this the TPK you refer to on ArcGIS.com can be read fine with the current API so it would appear that whatever the issue was, it has been resolved.

We really appreciate your feedback.

Cheers

Mike
0 Kudos
wangzhifang
Occasional Contributor
Thanks for your reply, Mike.
0 Kudos