Publish the Topographic Production Service

Disponible con licencia de Production Mapping.

The Topographic Production Service is deployed to ArcGIS Server when a map that contains feature data from ArcGIS Enterprise or a file geodatabase is published as a web layer. After the service is deployed, you can configure operations in ArcGIS Pro to run on ArcGIS Server as described below. You can also configure the self-serve Map Production System web app using the Enterprise product data files to export map products.

Nota:

The following items are either required before publishing the service or provide more information about the service:

  • The product data files must be installed on each ArcGIS Server machine in the Enterprise deployment and their version must match the version of the service.
  • The service stores temporary data for each job that is configured to run on ArcGIS Server. The default location for this data is C:\ProgramData\ESRI\TopographicProduction\jobs.
  • The output files created by the generateProduct operation are copied to the output directory of the map service.
    Sugerencia:

    You can make the Cleanup Interval property available through the Enterprise Manager site; it is infrequently used and unavailable by default. This property specifies the number of hours before temporary data used to produce a map product and the output map products themselves are deleted from the server. If you make it available, the default interval is 24 hours.

  • The ArcGIS Server account must have read and write access to the jobs directory location and the location that contains digital elevation models (DEMs) that are used by the map.
  • If your map products use DEMs, copy the DEMs or their mosaic datasets to each ArcGIS Server machine in your Enterprise deployment and use the updateProduct operation's productName and raster parameters to specify the location of the DEMs. Ensure that all ArcGIS Server machines in a multimachine deployment and the ArcGIS Server account have read and write access to the location that contains the DEMs.

Enable capabilities

Ensure that you're signed in to the ArcGIS organization that the service will deploy to with an account that is licensed for ArcGIS Defense Mapping or ArcGIS Production Mapping before you complete the following steps to enable the Topographic Production Service capability.

  1. In ArcGIS Pro, click the Share tab.
  2. In the Share As group, click the Web Layer drop-down arrow and click Publish Web Layer.

    The Share As Web Layer pane appears.

  3. Provide a name for the web layer in the Name text box.
  4. Si lo desea, complete los campos Resumen y Etiquetas.

    Para compartir la escena web en un portal de ArcGIS Enterprise 10.9 o un portal anterior, se requieren un resumen y etiquetas.

    Puede introducir un máximo de 128 etiquetas.

  5. In the Data and Layer Type section, do one of the following:
    • Choose Map Image to reference datasets in a registered Enterprise database.
      Nota:

      Check the Feature check box to share the web feature layer as a dependent layer to the map image layer.

    • Choose Map Image under Copy all data to copy all the layers to the hosting server's managed database.
  6. En Ubicación, utilice el menú Carpeta para elegir una carpeta del contenido de su portal en la que almacenar la capa web. Opcionalmente, cree una carpeta.

    De forma predeterminada, la capa web se almacena en el nivel raíz del contenido de su portal.

    Sugerencia:

    Haga clic en el botón Examinar Examinar para ir a una carpeta del contenido de su portal. También se puede escribir el nombre de la carpeta en el cuadro de texto.

  7. Utilice los menús desplegables Servidor y carpeta para especificar el servidor federado en el que se publicará el servicio y la carpeta en la que se almacenará. Opcionalmente, cree una carpeta.

    De forma predeterminada, el servicio se guarda en la carpeta raíz del servidor.

    Nota:

    Las opciones Servidor y carpeta solo aparecen al compartir en ArcGIS Enterprise con la opción Referencia a datos registrados. En este caso, también puede hacer clic en el botón Data stores Data stores para abrir el panel Administrar data stores registrados. Utilice este panel para registrar geodatabases y carpetas con servidores federados.

  8. En Compartir con, especifique cómo se compartirá la capa web:
    • Todos: comparta su contenido con el público. Cualquiera puede acceder a él y verlo.
    • Mi organización: comparta su contenido con todos los usuarios autenticados de la organización. Esta opción está disponible si ha iniciado sesión con una cuenta de organización.
    • Grupos: comparta su contenido con los grupos a los que pertenece y sus miembros.

    Deje todas las opciones desactivadas para definir el nivel de uso compartido del propietario del elemento.

  9. Click the Configuration tab.
  10. Ensure that the Configure Layers Configurar capas tab is active.
  11. In the Capabilities section, check the Topographic Production check box to enable the service.

    The list of available capabilities depends on the Enterprise version you're using, the types of data included in the map image layer, and whether you are sharing to a server that has server object extensions or server object interceptors.

Configure the service properties

Complete the following steps to configure service operations and other service properties:

  1. In the Capabilities section, for Topographic Production, click Configure Service Properties Configurar las propiedades del servicio.

    The TopographicProductionServer Properties pane appears.

  2. Optionally, check any of the check boxes in the Operations section to enable or disable the service operations.

    Topographic Production Service operations are enabled by default. The following operations are supported:

    products

    Retrieves the products that the Topographic Production Service supports

    jobs

    Contains more operations

    addProduct

    Adds a map product definition to the service that can be used to generate a map

    removeProduct

    Removes a product from the Topographic Production Service

    updateProduct

    Updates an existing product's properties

    generateProduct

    Automates the process of producing a layout or map based on a map product

  3. In the Properties section, specify the following properties:
    1. For tmserverDatabase, do one of the following:
      • If ArcGIS Server is deployed as a single-machine site and you only have one map service enabled, do not provide a value for this property. A file-based database is created at the following location after the service is published: C:\ProgramData\ESRI\TopographicProduction.
      • If ArcGIS Server is deployed as a multimachine site or if your single-machine site has multiple map services enabled, you must specify the path to an Enterprise connection file. Your Enterprise organization must have read access to the specified location and the database user specified in the connection file must be able to perform data manipulation language (DML) statements in the database. All machines with multiple map services enabled must use the same Enterprise connection file.

      If the server logs show an error such as -2147220893 Workspace or data source is read only when initializing the Topographic Production Server database, you may need to ensure that you are using an Enterprise connection file.

      Nota:

      The provided path updates the location of the jobs directory, which is used to store temporary data for each job.

    2. For productType, specify the type of map products the service will support, such as CTM, JOG, MTM, and TM.

      Map product definitions have a type property. When you specify a value in the productType text box, only the products that match this value are returned by the service. For example, if a single service contains the Multinational Geospatial Co-production Program (MGCP) data to produce MTM products, specify MTM as the product type. You can specify more than one product type by separating product type values with a comma. If you leave this text box blank, no products are returned.

    3. For extractionTimeout, specify how long in seconds the data extraction can run before timing out.

      The default is 900 seconds. If a data extraction time out error occurs when running the generateProduct operation, try increasing this value before running the operation again.

    4. For autoUpdateProducts, specify whether the service automatically updates existing map product definitions with the ArcGIS Pro product data files installed by the ArcGIS Production Mapping product files installer.

      The default is True.

  4. Optionally, click Configure Parameters Configurar parámetros to configure more properties.

    Configuration tab in the Share As Web Layer pane

  5. Click Configure Pooling Configurar agrupación.
  6. Ensure that the Dedicated instance option is chosen in the Instance Type group.
  7. Optionally, specify the range for the number of instances per machine in the Number of instances per machine section.

    This is the minimum and maximum number of dedicated instances that can run for the service at any given time, including when the service is not in use. These are the instances that handle calls to the map service, as well as REST operations that don't consume many resources and are handled quickly.

    Sugerencia:

    Adjust the range of instances as necessary after monitoring the network traffic to these endpoints. The generateProduct operation uses the TopographicProductionSystemTools geoprocessing service to perform the work. Adjusting the range of instances of this service impacts the throughput of generating map products.

  8. Opcionalmente, haga clic en la pestaña Contenido para ver la carpeta, la nueva capa web y las subcapas con Id. asignados, si están disponibles.

    Si ha habilitado la opción Permitir asignación de Id. numéricos únicos para compartir capas web en el cuadro de diálogo Propiedades del mapa, aparecerán los Id. asignados para cada subcapa. Para cambiar un Id., haga clic en el número situado junto a la capa o la tabla. En el cuadro de diálogo Propiedades de capa o Propiedades de tabla independiente, en la pestaña General, escriba un Id. entero personalizado en el cuadro de texto Id. de capa o Id. de tabla. Para obtener más información, consulte Asignar Id. de capa.

You're ready to analyze and publish the map as a service web layer.

Publish the service

Once you have configured all of the settings for the service, complete the following steps to analyze the configuration and publish it to your active Enterprise portal:

  1. Click Analyze to check for problems.

    Errors and warnings are listed on the Messages tab. Right-click a message to open its help topic or take corrective action in the software. Errors Error must be resolved before you can share the web layer. Resolving warnings Advertencia is recommended but not required.

    Learn more about analyzing GIS resources

  2. After you have resolved errors, and optionally, resolved warnings, click Publish to share the web layer.

    If you want to save a service definition of the web layer to publish later, click the Publish drop-down arrow and click Save As SD.

  3. When the web layer is finished publishing, click Manage the web layer at the bottom of the Sharing Map As A Web Layer pane.

    A browser page appears. If necessary, sign in to your portal to open the web layer's item page.

Once published, the service's operations are available in ArcGIS GIS Server from the API REST de ArcGIS and in a configured, self-serve Map Production System (MPS) web app on the Enterprise portal with the ArcGIS Defense Mapping or ArcGIS Production Mapping server extension.