Export JSON to Feature Class

Titleā€ƒ Export JSON to Feature Class

Summary

Makes HTTP get request to the measureToGeometry REST endpoint, passing it RouteID, FromMeasure and ToMeasure. It takes the JSON response and manipulates it into ESRI JSON syntax, which is written to a temporary JSON file for input to the JSON to Features GP tool.


Usage

Syntax

Parameter Explanation
route_id

RouteID used by NMDOT's Linear Reference System (LRS).

begin_milepoint

Begin milepoint (i.e. FromMeasure), value from the LRS Network layer.

end_milepoint

End milepoint (i.e. ToMeasure), value from the LRS Network layer.

feature_class_name

Name for output feature class.

Code Samples

Tags

LRS, Linear Reference System, Milepoint, FromMeasure, ToMeasure

Credits

Ed Conrad, GIS Support Unit, NMDOT


Use limitations