多くのユーザーがArcGIS Onlineにタイルサービスを公開する必要があります。 彼らが直面する2つの問題は、ArcGIS for Serverを持っていないことと、ArcGIS Onlineでタイルを作成する際にすべてのクレジットを消費したくないことです。 本ドキュメントでは、これらの問題に遭遇せずにこれを達成する方法を示します。<\/P>
<\/P>
1. タイルサービスを作成したいデータをArcMapに追加します。 以下の例では、SID画像のモザイクデータセットを使用しています:<\/P>
2. (オプション)<\/STRONG> データ管理 > Tile Cacheツールセット内のGenerate Tile Cache Tiling Scheme<\/A>ツールを開きます。 新しいタイルスキームを生成するよう指定し、スケール数、スケール自体、およびタイル形式を指定します:<\/P><\/P><\/P><\/P>3. Manage Tile Cache<\/A>ツールを開きます。 キャッシュの場所、キャッシュ名、および入力データソース(この例ではモザイクデータセット)を指定します。 タイルスキームにはドロップダウンからArcGIS Onlineの事前定義されたスキームを選択するか、「IMPORT_SCHEME」を選択してGenerate Tile Cache Tiling Schemeツールで作成されたXMLファイルを参照します。 必要に応じて最小および最大キャッシュスケールを調整します。<\/P><\/P><\/P><\/P>注意<\/STRONG>: 環境設定のParallel Processing Factor<\/A>は複数コアを活用してパフォーマンス向上に利用できます。<\/P><\/P>4. このツールが完了すると、キャッシュが作成されマップに追加されます。 次にExport Tile Cache<\/A>ツールを開きます。 作成したキャッシュと出力先を指定します。 「Export Cache As」には「TILE_PACKAGE」を選択します。 このツールは.tpkファイルを作成します。<\/P><\/P><\/P><\/P>5. Share Package<\/A>ツールを開いてTPKファイルをArcGIS Onlineに共有します。 ArcGIS Onlineにサインインしていない場合は資格情報の入力が求められます。 Share Packageツールが開いたら、先ほど作成した.tpkファイルを入力パッケージとして指定します。 要約、タグを追加し、必要に応じてEveryoneまたはArcGIS Online Groupsと共有します。<\/P><\/P><\p>
3.
注意<\/STRONG>: 環境設定の
4. このツールが完了すると、キャッシュが作成されマップに追加されます。 次に
5.
<\p>
Very cool.
Thanks for sharing!
Thanks Jake!
Agreed. Very cool indeed. Thank you Jake!
We have followed this workflow and are currently waiting on all of the tiles to be published. The tile package is 1.4GB and we kicked the publish off at 8am yesterday, 24hours later it says 22% of the tiles are available.
Does that seem correct, or should it process faster than that?
Is there another way we should be doing this?
Thanks for the help,
-HN
Hi Heather,
It should process much faster than this. Try clearing the browser cache, and refreshing the page. Does it still read 22%?
It still reads 22%.
Conclusion: In the end the tile layer is working, we have the map cache set up to only cache areas of interest (using a polygon), and I believe the 22% is coming from the fact that 22% of the full extent is cached, and this coincides with our areas of interest.
Thanks for the help Jake Skinner
Is the zoom level still limited to 19. I have been gathering aerial with a UAV and the zoom level is not granular enough.
On load basemap zoom level determines web map's zoom levels. So, add your layer, check to add it as basemap layer, save your map, reload the page. Now you should be able to zoom in as much as your layer permits.
Hey Jake,
This is really cool. And it mostly worked on my first try. A few details I need to resolve.
1) My tile layer definitely has a projection issue, what projection should I be working in when generating the tiles from my desktop?
2) Values that should have been transparent came out as light grey.... maybe that's due to my projection issue?
3) My tile layer has no legend when viewed in the Map... any ideas? Again maybe this has something to do with my projection problem.
Thanks for any suggestions.
Best Regards,
Paul
Thanks, but I already know that. I don't want the aerial from the drone as the base map. I want to overlay the available base maps but overide the base map limit of 19.
Hi Mark,
The web map's zoom level will be set based on the basemap you are using. If you are using the ArcGIS Online basemaps, you are limited to the max zoom level of these services. The only way to zoom into a larger scale is to add a basemap that is cached at a larger scale.
Hi Paul,
1. If you are using the Tiled Layer as a basemap, the projection can be any one you'd like. If you plan on overlaying the tiled layer with one of ArcGIS Online's basemaps, the projection should be WGS 1984 Web Mercator (auxiliary sphere).
2. If you are working with imagery, did you choose 'MIXED' for the Tile Format when you ran the Generate Tile Cache Tiling Scheme tool? More information about the Tile Formats can be found here.
3. ArcGIS.com is configured not to show Tiled Layers in the legend. I'm not sure if there is a way to change this.
Hi Jake, thanks for the useful information. I have a problem while publishing .tpk , an error appears:
There was an error publishing the service.
Has anyone else the same issue? It is an unanswered question on Geonet here Publishing tile package "There was an error publishing the service"
Thank you
Thanks again. Went ahead and got my grid in the WGS 84 Web Mercator (auxiliary sphere) projection and also reclassed the zero values to NoData which I believed helped with the transparency.
On the legend, I found this: Publish tiles—ArcGIS Online Help | ArcGIS
-- which using the first option will indeed give a legend in the output. It matched the legend in my origin mxd, just as hoped.
I'm not certain what the threshold is for a "large tile package" but I highly recommend the first option if anyone is looking to have a legend. My dataset was 30 meter cells for most of New England and this worked well.
Looks like the second option described there is a very simplified version of your excellent White Paper.
Thanks again for your help and Best Regards,
Thanks, Jake. I've run this process successfully in the past (using a model) but now I'm getting a blank cache when the Manage Tile Cache tool finishes. It writes out the file, but no imagery shows up at any scale. Do you have any idea why? I'm running 10.2.1.
Thank you.
Hi Jake,
Nice description of the process.
I've already published a post that addresses the issue thoroughly, with the 3 methods to create TPK and upload it to ArcGIS Online without the need for ArcGIS Server:
Create Cache and TPK without ArcGIS for Server - Workflows for Desktop users
I think That it could help people to deepen their understanding of the process, combining your screenshots.
Regards.
Many thanks Jake!
Jake Skinner I saw your presentation on this at NEARC a couple of weeks ago and you mentioned that I could use this to create labels for Collector. What steps to I need to take prior to this tutorial to do that. Just make my labels into annotations?
Thanks!
Thomas DiPietro you don't have to convert your labels to annotation. Simply set the layers transparency to 100%, and then follow the steps in the article.
Jake Skinner Thanks!
I'm having this same issue; I created the tile package for a single raster dataset and shared to ArcGIS Online with ArcMap version 10.3.1 and when publishing the .tpk via ArcGIS Online, get the error stated above. When I open the uploaded .tpk in ArcGIS for Desktop, it looks fine, so I can't figure out why this error would occur. I'm an administrator, so I have publishing rights.
Jake Skinner I would like to have the labels display at a scale smaller than 2000 but I seem to be unable to do so. I set up the scales at the appropriate in the tiling scheme just fine. Is there a work around I can use? Basically I need to label individual buildings within a small city, in such a way that the labels show up in Collector.
Can you share the tiled service to 'Everyone' and then send me the URL? You can private message me with the URL if you'd like.
Jake Skinner Here is the map that the service is in. http://arcg.is/1PxnGqB
It looks like you have a scale dependency on the layer when you built the cache. At smaller scales, the layer is available. You can tell by the layer in the Contents tab, it's not greyed out:
When zooming into a larger scale, you can see the layer is greyed out. This is due to a scale dependency:
You will need to remove this scale dependency within the MXD and then rebuild the cache for this scale.
Thanks for your sharing.
I have the version 10.3 of Arc gis, so the name of the too you used are different.
Once I generate a NEW tiling scheme, I cannot find the tool " Manage Tile Cache", I tried with the tool "Manage Globe Server Cache Tiles" and "Manage Map Server Cache Tiles".
So I cannot go forward and follow your steps.
Do you have any idea about that?
Thanks in advance
Andrea, here is the 10.3.1 help link for the topic
Manage Tile Cache—Help | ArcGIS for Desktop
Look in the Tile Cache toolset
Thanks Rebecca
I have ArcGIS for Server so I created my first map cache following the steps here: http://server.arcgis.com/en/server/latest/publish-services/windows/creating-a-map-cache.htm
So now I want to create a Tile package to upload to ArcGIS Online like it mentions here: http://blogs.esri.com/esri/arcgis/2013/02/06/workflows-for-building-and-hosting-cached-map-tiles-in-arcgis/
But when I open the "Export Tile Cache" tool the first thing it says is "Input Tile Cache" and asks for the location. Um? I guess it's on my server in the C:\arcgisserver\directories\arcgiscache folder? How do I path to that!?
Maybe I'll have to do it using your steps above and using ArcGIS Desktop instead. I can't find any info on how to use this Export Tile Cache tool. Any help would be appreciated!
Thanks,
Cache-ing Newbie
Hi Andrea,
Yes you are correct that you will need to get the cache from you cache directory. All you will need to do is connect to this folder. Click the browse icon for 'Input Tile Cache' and then select 'Connect to Folder at the top right':
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.