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>
Jake,
Ok, I will have to try that.
I'm trying to create a tiled service that is just address point labels. The label is maplex black text with yellow halo. When I create the service and cache and view it in my rest directory preview it looks ok. But when I add it to ArcGIS Online map I am getting only black text and not at the correct zoom levels either. Any idea what is going on? Thanks
If you have a simple map you can also use the Create Map Tile Package and do a lot of this in one step. There is no AOI option and it does not use Parallel Processing but it is easier for users. Looks like these will not be fixed in 10.4 either.
Also note I have 4 open bugs on these tools all dealing with the AOI parameter. You will get all kinds of issues in the extent when using AOI.
[BUG-000086429: The Manage Tile Cache tool does not honor the area of interest parameter set when creating the cache.] I have 2 out there now that say only 3.63% of the tiles published but it actually works just fine. Case #01691221 and #01642593
[BUG-000085241: Publishing tiles does not complete in ArcGIS Online. This may be due to incorrect extents, however this warning is never provided to the user when creating the tile package.]
Unknown number - the extent is also wrong when using the Export Tile cache tool. They listed BUG-000085241 but this is already above and different. I had case #01642593 and #01623834 because the export tool also bombs in scheduled scripts but works fine not scheduled.
BUG-000084160 The Manage Tile Cache tool will fail when run in python. I was trying to get around the bug above and found another one.
Also on the issue of not being able to cache a Esri basemap.
Our contractor also has an open issue that hurts him and us. It was supposed to be fixed in 10.3.1 but was not. Defect Escalation - BUG-000081937 / DE-000000372
It is probably because you used a AOI. There is a know bug I have open on this. See this post and below
Mange Tiles shows much larger size than cache using custom scales
I think I saw a post that Maplex is not supported on AGO
I have found that if your data and map projection are not the same you will have all kinds of issues. I have published to AGO in UTM but then you can not mix them with regular basemaps.
I just created my own Area of Interest and also saw a percentage instead of 100%, even though it appears to be done. So your comment helped me, thanks!
I had to create my own custom scale range for tile service/tile schema to get my labels at lower levels since the default from ArcMap only goes to 1:1128. I used
1:2257
1:1128
1:564
1:282
Hope this helps.
http://support.esri.com/en/knowledgebase/techarticles/detail/43247
about labels in map service, "Simply set the layers transparency to 100%"
Great tip, thanks!!
Esri support wasn't sure what the problem was. But if I started from scratch building a new mxd adding data from the geodatabase (not copy/paste from other mxd) I could publish the map service and cache looked like it should with the halos.
I'm having some difficulties with something I feel should be working just fine -- a tileset of only labels (transparent background).
My goal is to create an AGOL-hosted basemap reference layer, which will sit atop another hosted tileset (already published within my organization). I have an MXD with multiple annotations for the labels set up specifically for each of several zoom levels. While publishing the service through ArcGIS for Desktop's built in method, on "Analyze" I get warnings that "Annotation layer may use inline fonts that are not installed on the server," and "Map is being published with data copied to the server using data frame full extent." When I "Preview," everything looks as I'd expect it to, with my labels sitting on an empty background for the several zooms I care about. However, when I publish the tile set (using tiled mapping, not feature access), the resulting tileset on AGOL is empty. I can add it to an existing web map, set it as the reference layer, but I am not seeing any of the labels I should.
Would publishing the MXD using a different tile packaging method be better suited for this? I don't think fonts are the issue, as I've tried several different ones.. and wouldn't it default to a different font if the current wasn't installed?
Sounds like you are publishing a service. If you want a cache of labels build a tile package using Create Map Tile package. I have done this with labels. You can also do this with vector tiles if you are going to use it online.
My issue is that when I set the visibility scales to let say the room level in AGOL, the images will not show up even though the standard Imagery appears at 1:524. Any thoughts? I have some site/design plans that have been georeferenced and the engineers would like to zoom in more and don't necessarily care about the ortho behind it. But as you said, there are limitations to whatever basemap you're using. Is there a better workflow to be discovered? Such as creating my own basemap then overlaying the site plans?
I am currently creating tile packages so that I can use them within Survey123 offline. So far the best way I have found to do this is by Share As > Tile Package. Then once it is finished tiling, I place the .tpk in the media folder of my survey using Connect for Survey123. This makes the surveys rather large in terms of file size and so it will often take a while for my survey to publish (getting stuck at the creating the item info) to AGOL so our field agents can use them. We have to be able to work offline in case of a bad storm, however I was wondering if there was a way to call these Tile Layers from Survey123 if we did have a connection. For example, when I click on my geopoint question within the survey on my device and the map enlarges there is an option to change my basemap. The tile package I embed shows up on the list. Is there a way to see all of the Tile Layers I have hosted on AGOL on the same list?
Also, my tile packages consist of clipped SID imagery of Florida's coastline overlaid with labeled vector data representing range monuments. Would I be able to create a separate Feature Service of range monuments, call that Feature Service into my Tile Layer, and then call that Tile Layer into my survey to reduce file size? I have read up on using custom URL schemes within Survey123 but have yet to find an answer.
Thank you!
Thanks Jake, you prevented me from wasting a bunch of credits with this workflow.
Hi Jake,
I don't know if this thread is still being monitored, but I tried to do this in Pro, and I keep getting hung up on the Export part of the process. Here's a screenshot of my parameters and the resulting error. I've tried multiple times to run it, using different output locations and "Export Cache as" options, all resulting in same error. Any ideas on what I'm doing wrong?
Thanks,
Amy
Amelia Newsam have you tried the same tool in ArcMap? I'm curious to see if it fails there as well.
Also, what version of ArcGIS Pro are you using?
2.4.1, and I did just get it to work using ArcMap. I will now see if I can get it up on my ESRI and if it looks OK.
Yup, it worked!! Thanks!
Looks like ArcMap still has some skin in the game
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.