Geoprocessing Task that accepts Reference Post information (Reference Post Number, Route and County, plus optional output Spatial Reference and Active [LRS] Date) and returns GDOT RouteID and Measure plus Reference Post XY coordinates.
Example input URL:
https://gdotserver.gdot.gov/arcgis/rest/services/ReferencePostToLRS/GPServer/ReferencePostToLRS/execute?ReferencePostNumber=0&Route=SR-1&County=Clay
Produces this output JSON:
{"results": [{"paramName": "LRSInfo", "dataType": "GPString", "value": {"status": "gdotRefPostFoundOK", "routeId": "1000100000100INC", "routeMeasure": 70.305405, "refPostX": -84.862406, "refPostY": 31.501473, "spatialReference": 4326}}], "messages": []}
| Parameter | Explanation |
|---|---|
| ReferencePostNumber | Input Reference Post Number or "From" Reference Post Number (when "To" Reference Post Number also provided). Examples are 1, 2, 3, 4, 5. |
| ToReferencePostNumber (Optional) | "To" Reference Post Number; only necessary to return both "From" and "To" LRS information. Examples are 1, 2, 3, 4, 5. |
| RouteSignName | Input Reference Post Route Sign Name. Examples are I-16, SR-22. Case insensitive. |
| County | Input Reference Post County or From County (when To Reference Post Number also provided). Examples are Clay, Cobb, Fulton. Case insensitive. |
| ToCounty (Optional) | "To" Reference Post County (when "To" Reference Post Number also provided). Defaults to County ("From" County) if "To" Reference Post Number provided. Examples are Clay, Cobb, Fulton. Case insensitive. |
| OutputSpatialReferenceWKID (Optional) | Well Known ID (WKID) of output X, Y coordinates. Default value is 4326 (WGS84 geographic [longitude/latitude]). |
| ReturnLRSGeometry (Optional) | Boolean "true" or "false" to indicate if LRS polyline geometry should be returned. Default value is "true" unless "To" Reference Post Number is not provided (i.e., can only provide polyline geometry between two Reference Posts). |
| ActiveDate (Optional) | Active date of Reference Post/LRS in the format m/d/yyyy. Examples are 1/4/2022, 10/23/2022. Default value is current date (today). |
There are no code samples for this tool.
Reference Post, Reference Post Number, LRS, Linear Referencing System
Georgia Department of Transportation.
None.