Skip to content

RWSCollab/ArcProProjects

Repository files navigation

ArcProProjects

Below is the workflow to publish a service to the MGEL Enterprise Portal for the RWSC Portal.

Samantha's side

  • Create an ArcGIS Pro project (.aprx).
    • Can contain multiple maps. All the maps in the project will be published as separate weblayers.
    • The map name (title) has to be the service name. Letter cases, spaces, underscores, etc matter. Do not include version numbers. The spaces in the map name will be replaced with dashes "-".
      • e.g., The map title "Passive Acoustic Monitoring" will become the service name "Passive_Acoustic_Monitoring".
    • Can contain basemap though the basemap will not be included in the service.
    • Make sure all data sources are local (e.g. file geodatabase, shapefile). No data from the enterprise geodatabase should be included.
    • Make sure the visibility of the layers (the groups and layers are checked or unchecked) is managed according to what you expect when the service is initially loaded online.
    • The metadata should be entered in the map & layers’ metadata section. The summary, tags, description, credits and use limitations of the map metadata will be used for the service metadata.
  • Package the project using the “Package project” tool.
    • Output file name should be the same as the map title.
    • Check "All versions" for the Package Version.
    • Uncheck "Include Toolboxes".
  • Upload the package (.ppkx) to the GitHub repository at https://github.com/RWSCollab/ArcProProjects
  • Notify the MGEL team.

MGEL's side

  • Download the package from this repo.
    • Downloaded package is saved in V:\GIS_Phase2\RWSC RPT\RWSC_Samantha
    • The file name in the repo (e.g. xxx.ppkx) has to be the same as the one in "projectPath" property of the definitions in the script.
    • The package is unpacked in V:\GIS_Phase2\RWSC RPT\RWSC_Samantha\unpacked. This is a temporary folder. Every time the script is executed, this folder is first cleared.
  • Load the unpacked project with ArcGIS Pro
  • Publish it as a map image layer to the Enterprise Portal.
    • Folder: RWSC
    • Categories: RWSC
    • Group: RWSC
    • Share level: Public

All the steps above are done by a Python script under seamap-arcgispro-gee repo - DensityModels/MDAT/UploadToPortal.py. Multiple projects / services can be published in a single batch. Please read the notes in the script carefully before running it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors