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>
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':
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.