Disponible avec une licence Business Analyst.
The Publish Routing Services utility allows you to publish directions, routing, and logistics services based on a network dataset to your ArcGIS Server. These services are similar to the routing services available with ArcGIS Online, but are published on-premises based on your own street network dataset.
Once published, the services can be used with Business Analyst Enterprise for creating study areas based on driving and walking times and distances.
Licence :
To use this utility, your ArcGIS Server site needs to have an ArcGIS Network Analyst extension license.
Data requirements
A street network dataset for the USA is provided for Business Analyst Enterprise users in file geodatabase format (. gdb file). Before using the .gdb file, you must install the Business Analyst data license (. sdlic ), which is emailed at the time of purchase or data update. You can review the license information in ArcGIS Pro to verify that the *. sdlic license file is enabled. Once enabled, the publish routing services utility can be used to publish services from the .gdb file.
To install authorize the data license, you can use the datadicinstall utility:
- On the machine hosting ArcGIS Server open a Terminal Window.
- Navigate to: <ArcGIS Server installation directory>/arcgis/server/tools.
- Run /datalicinstall <ArcGIS data license file>.
Remarque :
All data needed for street address geocoding and network analysis are included with the 2022 US Data for Business Analyst on My Esri.
ArcGIS StreetMap Premium product downloads for Pro and Enterprise may appear in your My Esri list. These files are not needed and should not be downloaded. Please follow the steps for downloading the street data below.
Downloading the street network data
- On the My Esri site, click My Organizations then click Downloads.
- Verify that you are in the Products section. In the Quick Search text box, enter Business Analyst or Business.
- Look for ArcGIS Business Analyst Enterprise with 2022 U.S. Data and ensure the version is 10.9.1. Click View Downloads.
There will be two downloads for the street data, both will need to be downloaded on a folder to your local drive.
- Click the Download Components tab then click Data and Content to expand the list of files.
- Locate #1 ArcGIS Business Analyst Enterprise 2022 Street Data (U.S.A) and click Download.
- In the Esri Download Manager dialog, click Click to download your file now.
- Locate #2 ArcGIS Business Analyst Enterprise 2022 Street Data (U.S.A) and click Download.
- Locate #3 ArcGIS Business Analyst Enterprise 2022 Street Data (U.S.A) and click Download.
- The Destination Folder for Files dialog will appear. Keep the default location or click Browse to choose a different location.
- Right click on ArcGIS_BAEnterprise_StreetsData_USA_2022.7z (1).001 and click 7-Zip > Extract Here.
Remarque :
You will only need to extract from the first compressed file (ArcGIS_BAEnterprise_StreetsData_USA_2022.7z (1).001). The extraction process automatically extracts and reassembles Files 001, 002, and 003 to create the full 2022 U.S. data pack. Do not attempt to extract File 002 or 003.
Conseil :
While you can keep the network dataset in a shared location that is accessible to all the machines in your GIS server site, it is recommended to copy the network dataset locally, on each machine, for best performance when running the services.Parameters
Une fois que vous avez correctement configuré le jeu de données réseau sur le site de votre serveur SIG, vous pouvez exécuter l’utilitaire Publish Routing Services (Publier des services de calcul d’itinéraire) à l’aide des paramètres suivants.
Paramètre | Détails |
---|---|
-u | Nom d’utilisateur d’un utilisateur doté de privilèges d’éditeur ou d’administrateur sur le site ArcGIS Server. Si le site est fédéré avec un portail, l’utilisateur doit être un utilisateur du portail et peut disposer d’un privilège d’administrateur ou d’un privilège d’éditeur permettant de publier des outils web et des couches basées sur un serveur. Si le site n’est pas fédéré, l’utilisateur doit disposer de privilèges d’administrateur. Si votre site est configuré avec l’authentification au niveau du web, spécifiez un utilisateur intégré, tel que le compte d’administrateur de site principal ou le compte d’administrateur initial sur votre portail. |
-p | The password of the user who was specified with the -u parameter. |
-s | Le nom de domaine complet de la machine exécutant ArcGIS Server, tel que gisserver.domain.com, ou l’URL locale de votre site ArcGIS Server au format https://gisserver.domain.com:6443/arcgis. |
-P | Le nom de domaine complet de la machine, tel que gisportal.domain.com, où Portal, avec lequel votre site ArcGIS Server est fédéré, est installé. La valeur peut également être une URL locale du portail au format https://gisportal.domain.com:7443/arcgis Une valeur n’est requise pour cette option que si le serveur ArcGIS allant héberger les services de calcul d’itinéraire est fédéré avec le portail. |
-n | Le chemin d’accès complet au jeu de données réseau. Outre le chemin d’accès à la géodatabase fichier, le chemin doit également inclure le nom du jeu de données réseau et le nom du jeu de données d’entité contenant le jeu de données réseau. Par exemple, cette option peut avoir pour valeur c:\data\Rues.gdb\Tournée\Tournée_ND sous Windows et /data/Rues.gdb\Tournée\Tournée_ND sous Linux, Rues.gdb étant la géodatabase fichier qui comporte un jeu de données réseau nommé Tournée_ND dans un jeu de données d’entité nommé Tournée. |
-o | Chemin d’accès à un dossier où l’utilitaire créera les fichiers de définition de service des services et un fichier journal nommé publishroutingservices.log et incluant les détails sur l’exécution et toute erreur pouvant survenir. |
-h | Prints help for the utility. |
Example usage
The following examples show how to call the Publish Routing Services utility on an ArcGIS Server site that is federated with a portal.
Publish routing services on ArcGIS Server. The example assumes that the ArcGIS Server installation location is /arcgis/server.
/arcgis/server/tools/publishroutingservices/publishroutingservices -s gisserver.domain.com -P gisportal.domain.com -o /data/routing-services/service-definitions -n /data/Streets.gdb/Routing/Routing_ND
Configuring a network utility services from ArcGIS Online
You have the option to configure your portal to use utility services from ArcGIS Online instead of publishing them to your own server. This has the added benefit of providing street network coverage outside the United States. If you would like to use online network services provided by Esri, you must have an ArcGIS Online organizational account. The account must have credits associated with it and the correct permissions to use the utility services.
The ArcGIS Online network services provide coverage for several countries or areas and can be configured in the portal following the steps below.
- Sign in to the portal website as a member of the default administrator role in your organization.
- At the top of the site, click Organization and click the Settings tab.
- Click ArcGIS Online on the left side of the page.
- Select Network.
- Enter the credentials for the ArcGIS Online account that is to be used for the utility services.
- Click Configure.
Next step
Vous avez un commentaire à formuler concernant cette rubrique ?