Work with geoprocessing samples—ArcGIS Pro (2024)

A geoprocessing sample is a convenient method to share geoprocessing tools and workflows. A geoprocessing sample is a .zip file containing toolboxes, scripts, models, data, and supplemental files that run geoprocessing tools in ArcGIS. A geoprocessing sample can be a local .zip file on your desktop or on a network folder. Or, a geoprocessing sample can be shared and hosted in My Contents in ArcGIS Online or your ArcGIS Enterprise portal.

You and others can view and use the tools and data inside the geoprocessing sample by adding it to your ArcGIS Pro project.

Note:

Alternatively, you may consider sharing and using geoprocessing packages rather than samples. Geoprocessing packages offer similar capabilities without having to manually consolidate and zip a folder containing your toolbox and other files.

Create a geoprocessing sample

After creating custom script or model tools in a toolbox, consolidate all the necessary resources such as toolboxes, scripts, data, documents, projects, and so on, into a single folder that you can compress into a .zip file.

Note:

Ensure that script tools in your toolbox, data variables in your models, layer sources in your project, and other resources are saved with relative paths and have updated paths to the location in the consolidated folder. Otherwise, when someone is using the geoprocessing sample, these resources may need repair prior to use.

After consolidating the sample, test your models or script tools and other sample resources to ensure they are sourced correctly and that the tools are functional. Additionally, document your custom tools so that they are easy for others to use and understand.

Recommended folder structure and content

The following folder structure is recommended to consolidate all resources used by your tools. After consolidating, you will compress this folder into a .zip file to create a geoprocessing sample.

Folder nameDescription of contents

<Root folder>

This folder is the root of the geoprocessing sample and contains all of the following folders and the toolbox with the geoprocessing tools. This folder name should match the intended sample item name and the .zip file name.

ToolData

Contains all data used by your tools, including sample data. This folder typically contains geodatabases, shapefiles, rasters, projects, and layer files.

Scripts

Contains the scripts (.py files) for any script tools in the sample.

Scratch

This directory can be used for writing intermediate data in models and scratch data in scripts. It typically contains a geodatabase named scratch. Make sure that the folder or geodatabase does not contain datasets, which will make the sample file unnecessarily large.

Doc

Contains any supporting information that helps the user understand your sample, such as .pdf files or Microsoft Word documents and PowerPoint presentations.

Work with geoprocessing samples—ArcGIS Pro (1)

Create the geoprocessing sample .zip file

After consolidating your sample resources and testing that the tools are functional, create your .zip file using the following steps:

  1. In File Explorer, browse to the folder containing the root or main folder of your consolidated geoprocessing sample.
  2. Right-click the root folder and select Send to > Compressed (zipped) folder. Alternatively, use any zip or archive application of your choosing to create the .zip file.

The new .zip file will be in the current directory. If the directory is read-only, a dialog box will prompt you to create the file on your desktop or in your user directory.

Share a geoprocessing sample

Geoprocessing samples are a single .zip file that you can share by email, through a shared folder, or through a web page download. They are also a supported item type that can be uploaded and hosted in My Contents in ArcGIS Online or your ArcGIS Enterprise portal. Upload your geoprocessing sample using the following steps:

  1. In a web browser, go to arcgis.com or your ArcGIS Enterprise portal home app.
  2. Sign in using your credentials.
  3. At the top of the site, click Content.
  4. Click the New Item button.
  5. Drag your .zip file into the drop zone or click the Your device button or other buttons to select your .zip file.
  6. Click the Item Type drop-down menu and change the type to Geoprocessing Sample and click Next.
  7. Type the item title, folder, tags, and summary and click Save.

After completing these steps, you will be on the geoprocessing sample's item details page, where you can further configure and select sharing options for the item. By default, only you as the owner of the item can access and download it. Click the Share button to change the sharing level to Organization or Everyone (public) to allow others to download and use the sample.

Use a geoprocessing sample

Geoprocessing samples can include tools, code, projects, data, and other resources that may be useful for a problem you are trying to solve or your geoprocessing workflow. Depending on how you are obtaining the geoprocessing sample will determine how to use it.

  • Local .zip file
  • Hosted geoprocessing sample item

Local .zip file

To use a geoprocessing sample that was previously downloaded or copied to a folder on your machine or a network folder, use the following steps:

  1. In File Explorer, browse to the location of the .zip file.
  2. Right-click the .zip and select Extract All to extract the contents.
  3. In ArcGIS Pro, connect the extracted folder to your project.

Within the connected folder, you can see all the sample resources that are supported in catalog, including toolboxes and tools, geodatabases, and more.

Hosted geoprocessing sample item

To use a geoprocessing sample that is hosted in ArcGIS Online or your ArcGIS Enterprise portal, follow the steps below.

Note:

The following steps apply to Code Sample items as well as geoprocessing samples.

  1. Sign in and activate the portal in ArcGIS Pro.
  2. Search the portal for the geoprocessing sample item you want to use.
  3. Optionally, filter the search results to only the Item Type: Tools to make it easier to find geoprocessing samples.
  4. After finding the item you want to use, right-click it and select Add To Project.
    Work with geoprocessing samples—ArcGIS Pro (2)

Adding a hosted geoprocessing sample to your project will perform the following actions:

  • Download and extract the geoprocessing sample .zip file in the download location for the Other packages and files setting defined in download options. After extraction, the .zip file is deleted.
  • Add any toolboxes to the project's Toolboxes.
  • Add a folder connection to the root of the extracted folder.

The tools in the toolboxes that are added to your project can be found in the project's Toolboxes node, or by searching for tools in the Geoprocessing pane.

Feedback on this topic?

Work with geoprocessing samples—ArcGIS Pro (2024)

FAQs

What is the maximum sample size in ArcGIS Pro? ›

The default sample size is 10,000 records. Limiting the sample size can improve performance but may inadvertently omit important outliers in the dataset.

How do I import a geoprocessing package into ArcGIS Pro? ›

Add a geoprocessing package to your project

To use a geoprocessing package, you must add it to your open project. Find the geoprocessing package in the Catalog pane. Right-click the package and select Add To Project.

What is the first step of geoprocessing? ›

The first step is to understand your data and its characteristics, such as its format, scale, projection, attributes, and quality. This will help you determine what kind of geoprocessing operations are possible, suitable, and efficient for your data.

What are the different types of geoprocessing? ›

Common geoprocessing operations include geographic feature overlay, feature selection and analysis, topology processing, raster processing, and data conversion. Geoprocessing allows for definition, management, and analysis of information used to form decisions".

What if sample size is too large? ›

A sample size that is too large is problematic because: It is unlikely that a difference between the hypothesized effect and true effect will be found, even if there is one (i.e., study is underpowered).

What is a good maximum sample size? ›

A good maximum sample size is usually 10% as long as it does not exceed 1000. A good maximum sample size is usually around 10% of the population, as long as this does not exceed 1000. For example, in a population of 5000, 10% would be 500.

How big of a sample is big enough? ›

Sampling ratio (sample size to population size): Generally speaking, the smaller the population, the larger the sampling ratio needed. For populations under 1,000, a minimum ratio of 30 percent (300 individuals) is advisable to ensure representativeness of the sample.

How do I publish a geoprocessing tool? ›

To publish a service, right-click the result and click Share As > Geoprocessing Service, as illustrated below. This opens a series of dialog boxes (the Share as Service step-by-step wizard and the Service Editor) where you create the service definition and the initial task in the service.

Is 16gb RAM enough for ArcGIS Pro? ›

How much memory (RAM) does ArcGIS Pro need? Esri recommends 32GB, so that is the minimum we offer on our ArcGIS Pro workstations. For large projects, or if you run a lot of other software at the same time, 64GB may be optimal.

Is Arcpro faster than ArcMap? ›

ArcGIS Pro is a 64-bit multi-threaded application with powerful processing and an upgraded display engine that allows faster analysis and rendering than ArcMap.

Is CPU or GPU more important for GIS? ›

CPU and RAM play a bigger factor in GIS software but it is important not to neglect GPU especially if the intent is to create 3D maps.

Where is the georeferencing tool in ArcGIS Pro? ›

You can access the Georeference tab from the Imagery tab as follows: In the Contents pane, select the layer you want to georeference. On the Imagery tab, click Georeference. to open the Georeference tab.

Top Articles
How to compare document text using Windows 10
Legal Risks for SMEs in China: Navigate Compliance Issues
Www.craigslist Virginia
No Limit Telegram Channel
Practical Magic 123Movies
PRISMA Technik 7-10 Baden-Württemberg
Walgreens Alma School And Dynamite
The Haunted Drury Hotels of San Antonio’s Riverwalk
Bbc 5Live Schedule
Best Restaurants Ventnor
zopiclon | Apotheek.nl
Job Shop Hearthside Schedule
7 Low-Carb Foods That Fill You Up - Keto Tips
Illinois Gun Shows 2022
Paychex Pricing And Fees (2024 Guide)
Tamilyogi Proxy
Golden Abyss - Chapter 5 - Lunar_Angel
How To Level Up Roc Rlcraft
Jet Ski Rental Conneaut Lake Pa
FDA Approves Arcutis’ ZORYVE® (roflumilast) Topical Foam, 0.3% for the Treatment of Seborrheic Dermatitis in Individuals Aged 9 Years and Older - Arcutis Biotherapeutics
Beverage Lyons Funeral Home Obituaries
Baja Boats For Sale On Craigslist
Shoe Station Store Locator
Select Truck Greensboro
A Christmas Horse - Alison Senxation
Costco Jobs San Diego
Nearest Ups Ground Drop Off
How rich were the McCallisters in 'Home Alone'? Family's income unveiled
Kacey King Ranch
Strange World Showtimes Near Regal Edwards West Covina
Whas Golf Card
Appraisalport Com Dashboard /# Orders
Movies123.Pick
Collier Urgent Care Park Shore
Zasilacz Dell G3 15 3579
Conroe Isd Sign In
Gun Mayhem Watchdocumentaries
B.C. lightkeepers' jobs in jeopardy as coast guard plans to automate 2 stations
Southwest Airlines Departures Atlanta
Online-Reservierungen - Booqable Vermietungssoftware
Senior Houses For Sale Near Me
3367164101
Dicks Mear Me
Euro area international trade in goods surplus €21.2 bn
Ajpw Sugar Glider Worth
Mejores páginas para ver deportes gratis y online - VidaBytes
Minute Clinic Mooresville Nc
Rétrospective 2023 : une année culturelle de renaissances et de mutations
Read Love in Orbit - Chapter 2 - Page 974 | MangaBuddy
Ssss Steakhouse Menu
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6646

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.