30
Rahul Rakshit | Eric Blasko ArcGIS Pipeline Referencing/Esri Roads and Highways: Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API

ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

  • Upload
    others

  • View
    13

  • Download
    1

Embed Size (px)

Citation preview

Page 1: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Rahul Rakshit | Eric Blasko

ArcGIS Pipeline Referencing/Esri Roads and Highways: Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API

Page 2: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Location Referencing across the ArcGIS Platform

• Location Referencing extension is part of the Pro install• Linear referencing capability for server is part of the ArcGIS Enterprise install

Pro

• Network and CenterlineManagement

• Route and Event Loading• Geoprocessing tools• Data Reviewer and Workflow

Manager included

Enterprise

• LRS web services• Developer API samples

Web Apps

• Line and point event editing• Data queries• Quality checks

Page 3: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Linear Referencing REST APIProvides a simple, open web interface to linear referencing services hosted by ArcGIS Enterprise.

Generate Routes

Create Version

Derive Event Measures

Translate Release Locks

Apply Edits

Geometry to Measure

Acquire locks Generate Events

Remove Overlapping Centerlines Append Routes

Concurrencies

Apply Event BehaviorsMeasure to Geometry Query Attribute Set

Delete Version

Locks

Linear Referencing Service

Check Events

http://esriurl.com/LRAPI

Supports Esri’s Feature Services Architecture – feature service editing across the ArcGIS Platform including ArcGIS Pro and web apps

Page 4: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Demo: Publishing a service with LR capability

Page 5: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Login as a Publisher/Administrator

into ArcGIS Pro

Convert an empty Enterprise GDB to a Branched Database

Create LRS, Network and Events in the

Branched Database

Append data into the Network and Events

Add the Network, Events, Calibration Point, Centerline

feature classes into a Pro Map for Publishing

Set up the Display Field for the Centerline

Update the Layer names in the TOC

Set up time for the LRS layers Save the map

Publish the Map

Fix any publishing issues

Create a new Map in the ArcGIS Pro Project

for Editing

Browse to the Feature Service in the Portal in

ArcCatalog and add the LRS layers into the

map

Create a new version of the data

Start Editing the LRS dataset

Step by step workflow for publishing a LR capable service

Page 6: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step1: Minimum Requirements

ArcGIS Pro with Location Referencing extension enabledArcGIS Enterprise with Location Referencing License

• Login to ArcGIS Pro as a portal Publisher or Administrator

Page 7: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing
Page 8: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Helpful steps in ArcGIS Pro

Page 9: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step2: Configure a branch versioned database

• Right-click your database connection and choose Geodatabase connection properties

• Set your Versioning Type to Branch

Branched database can be edited only using REST services

More info: http://esriurl.com/BV

Page 10: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step3: Create LRS and append data

Page 11: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step4: Rename Layers

Page 12: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step5: Set up time awareness

Page 13: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step6: Set up the display field for the centerline

Page 14: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step7: Publish the service with Linear Referencing Capability

Page 15: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step7: Publish the service with LR Capability

Page 16: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Demo: Editing using a Feature Service

Page 17: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step8: Add the Data from Portal to edit

Page 18: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Step9: Create a new version for the data

Page 19: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Confirming the source of data is a feature service

• Data Loading• Publishing

Feature Service

Editing

Direct Connect

Any changes in the data structure needs republishing of the feature service

Page 20: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Demo: Editing using REST

Page 21: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Using a widget to edit LR data

Portal for ArcGIS

ArcGIS Server

Database

Web AppBuilderfor ArcGIS

Feature Service

Federated

Page 22: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Demo: Creating routes using GPS points

Page 23: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Automating Route Creation

GPS Data LRS Routes

• XY to Point• Point to Line• Append Routes• Generate Calibration Points• Generate Routes

• XY to Point• Point to Line• Copy to Centerline• Use Create Route tool for each route

OR

Page 24: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Demo: Reassigning a route

Page 25: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Reassigning a route

Route1

Route1 Route1X

Page 26: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Online help and samples

Page 27: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Linear Referencing REST API: Resources

http://esriurl.com/LREST http://esriurl.com/LRWIGET

• REST API developer guide• Sample LRS enabled services• Sample web apps

• Web App builder samples

Page 28: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Linear Referencing REST APIAs of ArcGIS Enterprise 10.8

http://esriurl.com/LREST

Page 29: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Quick Recap

• ArcGIS Pro publishes, consumes, and then edits LRS feature services from ArcGIS Enterprise.

• Portal handles identity, sharing (of the feature service), and roles/privileges/access that would previously have been file based (.sde connection files) or administered directly in the database.

• Versioned editing is handled via the version management service, allowing Pro and web apps to have versioning capabilities through the rest endpoint without direct database access at the desktop client level.

• Branch versioned database is required for editing a LR feature service.

• You can start to configure your LRS from scratch here:https://pro.arcgis.com/en/pro-app/help/production/location-referencing-pipelines/create-the-lrs-networks-and-events.htm

Page 30: ArcGIS Pipeline Referencing/Esri Roads and Highways ... · Preparing and Utilizing Web Services for Creating and Editing Linear Referenced Data and with the REST API. Location Referencing

Presenter(s)Demo Title

Thanks

Rahul Rakshit Eric [email protected] [email protected]