Ich hatte viele Benutzer, die die Notwendigkeit hatten, einen Tiled Service auf ArcGIS Online zu veröffentlichen. Zwei Probleme, mit denen sie konfrontiert sind, sind, dass sie kein ArcGIS for Server haben und sie nicht alle ihre Credits verbrauchen möchten, indem ArcGIS Online die Kacheln erstellt. Dieses Dokument zeigt Ihnen, wie Sie dies erreichen können, ohne auf diese Probleme zu stoßen.<\/P>
<\/P>
1. Fügen Sie die Daten zu ArcMap hinzu, für die Sie einen Tiled Service erstellen möchten. Im folgenden Beispiel verwende ich ein Mosaik-Dataset von SID-Bildern:<\/P>
2. (OPTIONAL)<\/STRONG> Öffnen Sie das Generate Tile Cache Tiling Scheme<\/A>-Werkzeug innerhalb des Data Management > Tile Cache-Werkzeugsatzes. Geben Sie an, ein NEUES Kachel-Schema zu generieren, geben Sie die Anzahl der Maßstäbe, die Maßstäbe selbst und das Kachelformat an:<\/P><\/P><\/P><\/P>3. Öffnen Sie das Manage Tile Cache<\/A>-Werkzeug. Geben Sie einen Cache-Speicherort, einen Cachenamen und die Eingabedatenquelle an (z.B. in diesem Beispiel das Mosaik-Dataset). Für das Kachel-Schema wählen Sie ein vordefiniertes ArcGIS Online-Schema aus dem Dropdown-Menü oder wählen 'IMPORT_SCHEME' und navigieren zur XML-Datei, die mit dem Generate Tile Cache Tiling Scheme-Werkzeug erstellt wurde. Optional passen Sie die minimalen und maximalen zwischengespeicherten Maßstäbe an.<\/P><\/P><\/P><\/P>Hinweis<\/STRONG>: Die Umgebungs-Einstellung Parallel Processing Factor<\/A> kann verwendet werden, um die Leistung zu beschleunigen, indem mehr als ein Kern genutzt wird.<\/P><\/P>4. Nachdem dieses Werkzeug abgeschlossen ist, wird der Cache erstellt und der Karte hinzugefügt. Öffnen Sie anschließend das Export Tile Cache<\/A>-Werkzeug. Geben Sie den gerade erstellten Cache und einen Ausgabespeicherort an. Wählen Sie 'TILE_PACKAGE' für 'Export Cache As'. Dieses Werkzeug erstellt eine .tpk-Datei.<\/P><\/P><\/P><\/P>5. Teilen Sie die TPK-Datei mit ArcGIS Online, indem Sie das Share Package<\/A>-Werkzeug öffnen. Wenn Sie nicht bei ArcGIS Online angemeldet sind, werden Sie nach Ihren Anmeldedaten gefragt. Sobald das Share Package-Werkzeug geöffnet ist, geben Sie die zuvor erstellte .tpk-Datei als Eingabepaket an. Fügen Sie eine Zusammenfassung, Tags hinzu und teilen Sie dies optional mit Everybody oder Ihren ArcGIS Online-Gruppen.<\/P><\/P><\/P><\\/p>6. Nachdem das Share Package-Werkzeug abgeschlossen ist, melden Sie sich bei ArcGIS Online mit einem Browser Ihrer Wahl an und navigieren zu 'My Content'. Dort sehen Sie das Tile-Paket:<\\/p>
3. Öffnen Sie das
Hinweis<\/STRONG>: Die Umgebungs-Einstellung
4. Nachdem dieses Werkzeug abgeschlossen ist, wird der Cache erstellt und der Karte hinzugefügt. Öffnen Sie anschließend das
5. Teilen Sie die TPK-Datei mit ArcGIS Online, indem Sie das
<\\/p>6. Nachdem das Share Package-Werkzeug abgeschlossen ist, melden Sie sich bei ArcGIS Online mit einem Browser Ihrer Wahl an und navigieren zu 'My Content'. Dort sehen Sie das Tile-Paket:<\\/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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registrieren Sie ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.