Ik heb veel gebruikers gehad die de behoefte hadden om een tiled service te publiceren naar ArcGIS Online. Twee problemen waar ze tegenaan lopen zijn dat ze geen ArcGIS for Server hebben, en dat ze niet al hun credits willen opmaken door ArcGIS Online de tegels te laten maken. Dit document laat zien hoe u dit kunt bereiken zonder deze problemen tegen te komen.<\/P>
<\/P>
1. Voeg de data toe aan ArcMap waarvoor u een tiled service wilt maken. In het onderstaande voorbeeld gebruik ik een mosaic dataset van SID-beelden:<\/P>
2. (OPTIONEEL)<\/STRONG> Open de Generate Tile Cache Tiling Scheme<\/A> tool binnen de Data Management > Tile Cache toolset. Geef op om een NIEUW tiling scheme te genereren, specificeer het aantal schalen, de schalen zelf, en het tegel formaat:<\/P><\/P><\/P><\/P>3. Open de Manage Tile Cache<\/A> tool. Specificeer een cache locatie, cache naam, en de invoer data bron (bijv. in dit voorbeeld, de mosaic dataset). Voor het Tiling Scheme kies een vooraf gedefinieerd ArcGIS Online schema uit de dropdown, of kies 'IMPORT_SCHEME' en blader naar het XML-bestand dat is gemaakt met de Generate Tile Cache Tiling Scheme tool. Pas optioneel de minimale en maximale gecachte schalen aan.<\/P><\/P><\/P><\/P>Opmerking<\/STRONG>: De Environment Setting Parallel Processing Factor<\/A> kan worden gebruikt om de prestaties te versnellen door gebruik te maken van meer dan één core.<\/P><\/P>4. Nadat deze tool klaar is, wordt de cache gemaakt en toegevoegd aan de kaart. Open vervolgens de Export Tile Cache<\/A> tool. Specificeer de zojuist gemaakte cache en een uitvoerlocatie. Kies 'TILE_PACKAGE' voor 'Export Cache As'. Deze tool maakt een .tpk bestand aan.<\/P><\/P><\/P><\/P>5. Deel het TPK-bestand naar ArcGIS Online door de Share Package<\/A> tool te openen. Als u niet bent ingelogd bij ArcGIS Online, wordt u gevraagd uw inloggegevens in te voeren. Zodra de Share Package tool open is, specificeer het .tpk bestand als Input Package dat eerder is gemaakt. Voeg een samenvatting toe, tags, en deel dit optioneel met Iedereen of uw ArcGIS Online Groepen.<\/P><\/P><\/P><\/P>6. Nadat de Share Package tool klaar is, log in op ArcGIS Online via een browser naar keuze en ga naar 'My Content'. U zult daar het tile package zien:<\/P>
3. Open de
Opmerking<\/STRONG>: De Environment Setting
4. Nadat deze tool klaar is, wordt de cache gemaakt en toegevoegd aan de kaart. Open vervolgens de
5. Deel het TPK-bestand naar ArcGIS Online door de
6. Nadat de Share Package tool klaar is, log in op ArcGIS Online via een browser naar keuze en ga naar 'My Content'. U zult daar het tile package zien:<\/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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.