He tenido muchos usuarios con la necesidad de publicar un servicio en tiled en ArcGIS Online. Dos problemas que enfrentan son que no tienen ArcGIS for Server, y no quieren gastar todos sus créditos haciendo que ArcGIS Online cree los tiles. Este documento le mostrará cómo puede lograr esto sin encontrarse con estos problemas.<\/P>
<\/P>
1. Agregue los datos a ArcMap para los cuales desea crear un servicio en tiled. En el ejemplo a continuación, estoy usando un conjunto de datos mosaico de imágenes SID:<\/P>
2. (OPCIONAL)<\/STRONG> Abra la herramienta Generate Tile Cache Tiling Scheme<\/A> dentro del conjunto de herramientas Data Management > Tile Cache. Especifique generar un esquema de tiling NUEVO, especifique el número de escalas, las escalas mismas y el formato del tile:<\/P><\/P><\/P><\/P>3. Abra la herramienta Manage Tile Cache<\/A>. Especifique una ubicación para la caché, nombre de caché y la fuente de datos de entrada (es decir, en este ejemplo, el conjunto de datos mosaico). Para el esquema de tiling elija un esquema predefinido de ArcGIS Online desde el menú desplegable, o elija 'IMPORT_SCHEME' y busque el archivo XML que fue creado con la herramienta Generate Tile Cache Tiling Scheme. Opcionalmente, ajuste las escalas mínimas y máximas almacenadas en caché.<\/P><\/P><\/P><\/P>Nota<\/STRONG>: La configuración del entorno Parallel Processing Factor<\/A> puede usarse para acelerar el rendimiento aprovechando más de un núcleo.<\/P><\/P>4. Después de que esta herramienta termine, la caché se crea y se agrega al mapa. A continuación, abra la herramienta Export Tile Cache<\/A>. Especifique la caché que acaba de crear y una ubicación de salida. Elija 'TILE_PACKAGE' para 'Export Cache As'. Esta herramienta creará un archivo .tpk.<\/P><\/P><\/P><\/P>5. Comparta el archivo TPK en ArcGIS Online abriendo la herramienta Share Package<\/A>. Si no ha iniciado sesión en ArcGIS Online, se le pedirá sus credenciales. Una vez abierta la herramienta Share Package, especifique el archivo .tpk para el paquete de entrada creado previamente. Agregue un resumen, etiquetas y opcionalmente comparta esto con Everybody o sus Grupos de ArcGIS Online.<\/P><\/P><\/P><\/P>6. Después de que la herramienta Share Package termine, inicie sesión en ArcGIS Online usando un navegador de su elección y navegue a 'My Content'. Verá allí el paquete tile:<\/P>
3. Abra la herramienta
Nota<\/STRONG>: La configuración del entorno
4. Después de que esta herramienta termine, la caché se crea y se agrega al mapa. A continuación, abra la herramienta
5. Comparta el archivo TPK en ArcGIS Online abriendo la herramienta
6. Después de que la herramienta Share Package termine, inicie sesión en ArcGIS Online usando un navegador de su elección y navegue a 'My Content'. Verá allí el paquete tile:<\/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':
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.