Publishing a hosted tiled map service to ArcGIS Online using an ArcMap document

SubscriptionSubscription:

Publishing hosted services requires an account that is part of an ArcGIS Online organization. See Getting started for more information.

From ArcMap, you can publish a tiled map service to be hosted on ArcGIS Online. An Internet connection is required to perform these steps.

The speed and bandwidth of your connection affect how fast the service will be published.

Steps:
  1. Start ArcMap 10.1 and open the map you want to publish.
  2. Click File > Sign In.
  3. Type your name and password for ArcGIS Online, then click Sign In.
  4. Click File > Share As > Service.
  5. Choose Publish a service and click Next.
  6. In the drop-down list of connection types, choose My Hosted Services. Then type a name for your service and click Continue.
  7. In the Service Editor, set the properties that you want for your service. Here you can choose what users can do with your service and take fine-grained control of how the server will expose your service.

    For information on how to best configure your services for deployment, see the help topic Tuning and configuring services. Some of the service properties referenced in that topic apply only to ArcGIS for Server and are not applicable when working with hosted services. For example, with ArcGIS Online hosted services there is no option to set the minimum and maximum number of instances of the service, because Esri handles the service scaling for you.

    TipTip:

    If you close the Service Editor during this session, you'll be prompted to save your work as a draft service. Draft services allow you to come back to your service configuration work at a later time. By default, draft services are saved in the Drafts folder of your connection to My Hosted Maps. For more information, see the topic About draft services.

    There are a few properties you need to set that are specific to ArcGIS Online hosted services. These are detailed in the following steps.

  8. In the left pane of the Service Editor, click Capabilities, then check Tiled Mapping to expose your map as a tiled map service. You can also optionally check Feature Access, although in most scenarios, you would use a different set of layers and a different map document for publishing a feature service.

    You can click the subitem Tiled Mapping in the left pane of the Service Editor to set advanced properties relating to what clients can do with the service.

  9. Click the Caching item to set properties for the tile cache. See Creating a map cache for more detailed steps, keeping in mind that some of the advanced caching settings described in that book are only available when publishing directly to ArcGIS for Server.
  10. In the left pane of the Service Editor, click Item Description and enter a summary and tags for your service. You'll need to enter this information before you can publish the service. For more information, see the item description section in Setting map service properties.
  11. In the left pane of the Service Editor, click ArcGIS Online, and choose who the service should be shared with. By default, your service is private, meaning it is only accessible to you. Your service will always be visible in My Content, but you can also choose to share it with everyone or just members of certain ArcGIS Online groups.
  12. In the Service Editor, click Analyze Analyze. This examines your map to see if it can be published as a service. You must fix the Errors Error in the Prepare window before you can publish your map as a service. Optionally, you can fix the warnings and informational messages to further improve the performance and appearance of your service. For more information about resolving these issues, see Analyzing your GIS resource.
  13. Optionally, in the Service Editor, click Preview Preview. This can give you an idea of how your service will look when viewed on the web.
  14. Once you've fixed the errors and optionally any warnings and messages, click Publish Publish.
    NoteNote:

    Your data is copied to the server at this point. The size of the data and your Internet connection speed and bandwidth will impact the time it takes to publish. You should also budget some time for your tiles to be generated, whether you chose to build the tiles automatically or manually.

Once your service is published, you'll see it when you expand the My Hosted Services node in the Catalog window.

On the My Content page, your hosted service is listed as two independent items: a Map Service and a Service Definition. A service definition is a zipped file containing the map, its data, and details about how the service should be published. A service definition can be transferred and published to any machine running ArcGIS 10.1 for Server.

Related Topics

5/16/2013