Skip to main content

Questions tagged [linear-referencing]

Linear referencing is the method of storing geographic locations by using relative positions along a measured linear feature.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
24 views

Survey identified monuments but encroachment occurred in the middle [closed]

I had a survey completed for a property line dispute. He verified the monuments were found and for the most part align. The neighbors agreed to replace the fence and we agreed. However I see were they ...
Julia Durand's user avatar
0 votes
0 answers
54 views

Accurate small-scale mile/km markers in QGIS. Qchainage and "Points along geometry" are inaccurate

Looks like Qchainage has been integrated into QGIS as "Points along geometry" and they're basically the same. But they only work in projected units so they'll be inaccurate for any small-...
James Ashton's user avatar
0 votes
1 answer
32 views

Draw straight-line diagram or single-line graph using Highcharts

I would like to use Highcharts (or similar) to display road attribute data as a straight-line diagram or single-line graph, but I can't find any examples that would be easy for this non-programmer to ...
cm1's user avatar
  • 2,290
3 votes
2 answers
80 views

PostGIS ST_LocateAlong returns incorrect interpolated Points

Can anyone explain to me why this query returns 11 Points instead of 1? The queried 'measure' does not exist in the set of points so 'postgis' needs to do an interpolation. SELECT ST_AsText(...
Richard's user avatar
  • 33
1 vote
1 answer
107 views

QGIS - Find point position on line (lengthwise)

I have a line layer with some lines, and a point layer whose points are located on those lines. Now I need to get the position "along" the line where each point is (as in distance from start ...
Daniel Möller's user avatar
0 votes
0 answers
41 views

Why is first output of ArcPy tool only one running?

I am attempting to write a python tool that uses the create routes, locate features along routes, and make route event layer tools (in that order). Essentially this is a three step process that I want ...
Wes's user avatar
  • 11
1 vote
1 answer
52 views

Setting up parameters for linear referencing tools in ArcPy

I am attempting to write a python script to utilize the Create routes, Locate features along route, and Make route event layer tools from the Linear Referencing tool box. The ultimate goal is to write ...
Wes's user avatar
  • 11
0 votes
1 answer
74 views

Linear referencing using Oracle Spatial

I wanted to Linear Reference a table in the Oracle database that has RouteID, Measurement From, and To in the fields using Oracle Spatial by referring to another Feature Class (Polyline) like it's ...
Johnny's user avatar
  • 11
8 votes
2 answers
220 views

Randomly offset duplicate points along linestring X meters using PostGIS

The query below selects all duplicate points on a line, which overlay one another, then randomly assigns each point location within a certain radius. The last step assigns each point back on what I ...
MJM's user avatar
  • 995
0 votes
1 answer
46 views

ESRI GEodatabase - LRS Metadata. Where to find it using SQL?

Prior, (I can confirm in version 2.4), I could check the LRS metadata using a query to the LRS_METADATA table in a Enterprise geodatabase. I used to have this script import xml.etree.ElementTree as ET ...
XtianGIS's user avatar
  • 782
0 votes
0 answers
191 views

Loading Georeferenced maps from QGIS to Avenza Maps - can only WSG84 UTM be used?

Am new to this. Tried to upload to Avenza Maps the following 2 georeferenced versions of the same map. WSG84 UTM 56S (QGIS: linear transformation) - Produces a slight vertically squished map GDA94 ...
heatherl's user avatar
1 vote
1 answer
170 views

QGIS Find position for point objects on a line object and add this length attribute to any point object

My QGIS (3.22. Biatowieza) question is the following: I have a line layer with objects that have a length in metres. And there is a separate point layer with point objects that are located besides of ...
Marco Schmidt's user avatar
1 vote
1 answer
482 views

AttributeError: DescribeData: Method shapeType does not exist

Can anyone help me resolve this error? Traceback(most recent call last): File "*file.py", Line 15 in if (arcpy.Describe(lyr).shapeType) == 'Polygon': AttributeError: DescribeData: Method ...
SaltyPatriot's user avatar
1 vote
1 answer
417 views

List layer by data type in python window, eg: Layer == Polyline or Layer == Point

I am trying to locate features along routes for polyline and point features in a map. The locate features along routes tool requires two separate parameters; one for polyline and one for point ...
SaltyPatriot's user avatar
0 votes
1 answer
98 views

Geoprocess generates a standalone table for layers, what is the correct parameter setting for my ArcToolbox?

I have a toolbox that is executing locate features along routes for a number of layers in a map. For each iteration of the locate features along routes I am expecting a stand alone table for each of ...
SaltyPatriot's user avatar
1 vote
1 answer
137 views

Using ArcPy for custom toolbox

I am trying to create a toolbox that will execute 'Locate Features Along Routes' in multiple layers and in two active maps in ArcGIS Pro. One map contains linear features to be located, the other ...
SaltyPatriot's user avatar
1 vote
1 answer
185 views

Appending Routes from Polyline Feature Class into LRS Network says duplicate route IDs with overlapping time representation found in source data

I am using ArcGIS Pro 2.9.3 with the Location Referencing extension. I am trying to create an LRS dataset with and LRS Network, and then to Append Routes into that LRS Network from a test polyline ...
PolyGeo's user avatar
  • 65.2k
1 vote
1 answer
154 views

Ensuring that polyline feature class and LRS Network have same XY Resolution using ArcPy, ArcGIS Pro and Location Referencing

As someone experienced in Dynamic Segmentation and Linear Referencing but new to Location Referencing within ArcGIS Roads and Highways I am struggling to use Create an LRS Network and its surrounding ...
PolyGeo's user avatar
  • 65.2k
1 vote
2 answers
243 views

Can routes be defined in LRS dataset without using calibration points?

The Essential Roads and Highways vocabulary from the ArcGIS Roads and Highways documentation says that a Calibration point is: A point feature that defines the measure for a specific location on an ...
PolyGeo's user avatar
  • 65.2k
0 votes
1 answer
121 views

Creating new route in empty LRS dataset using ArcGIS Pro

I am using ArcGIS Pro and the Location Referencing extension (from ArcGIS Roads & Highways) to try to digitize (create) a new route in an LRS dataset. I run the ArcPy code below to create an empty ...
PolyGeo's user avatar
  • 65.2k
2 votes
1 answer
187 views

Creating LRS dataset from line feature class with route IDs, from and to measures using ArcGIS Pro

I am using ArcGIS Pro 2.9.3 with the Location Referencing extension. I am trying to create an LRS dataset so that I can start using the Location Referencing tab on the ribbon to edit routes. I have a ...
PolyGeo's user avatar
  • 65.2k
0 votes
1 answer
48 views

Error running a geoprocess for all layers in separate maps ArcGIS Pro

Trying to create a toolbox that will run locate features along routes for all layers in two separate Maps in ArcGIS Pro. Code snippet is below. aprx = arcpy.mp.ArcGISProject("CURRENT") ...
SaltyPatriot's user avatar
1 vote
1 answer
299 views

Are linear referencing services supported in ArcGIS Online?

Does ArcGIS Online support services which have linear referencing enabled? I know Linear Referencing is supported in ArcGIS Server, but cannot find any support for ArcGIS Online.
Fezter's user avatar
  • 21.9k
2 votes
2 answers
299 views

How to request GeoJSON standard be enhanced to support M-values

As far as I can tell, the GeoJSON standard doesn't support the M-dimension of linear referencing lines. For example, Oracle Spatial doesn't support LRS lines when using the SDO_UTIL.TO_GEOJSON() ...
User1974's user avatar
  • 1,172
1 vote
1 answer
723 views

LRS SDO_GEOMETRY to "LINESTRING M" WKT format

I have a query that produces an LRS SDO_GEOMETRY as WKT (Oracle 18c): select SDO_UTIL.TO_WKTGEOMETRY(SDO_LRS.CONVERT_TO_LRS_GEOM(sdo_geometry('LINESTRING(1 2,3 4)'))) from dual Output: ...
User1974's user avatar
  • 1,172
0 votes
1 answer
602 views

How to generate points along a line at specific locations AND not at an equidistant intervall in ArcGIS?

Is there an option to generate points along a line at a specific location only? Say, when I want a point at 5% of the total length of the line and 95%. When using Generate Points along line I can ...
Olli's user avatar
  • 153
0 votes
1 answer
167 views

Creating route shapefile based on start and end mile markers in ArcMap

I am using ArcMap 10.8. I have an Excel file of road condition data that contains a ROUTE_ID field as well as beginning and end mile post values. I also have an existing line shapefile that contains a ...
Josh's user avatar
  • 11
0 votes
1 answer
178 views

QGIS - Using LRS plugin to route lines with same start & end points (road roundabouts)

I'm looking to route a road network using the LRS plugin and it fails to work on items with the same start/end points. Is there a way around this or is there a tool I can use to simply trim a meter ...
Alan Carr's user avatar
  • 2,473
3 votes
2 answers
1k views

QGIS 'Locate points along lines' plugin

3/28/2022 Measure line tool: I have attached two pix showing the Measure-Line tool used to measure my line (representing a rail corridor). Locate points along lines plugin: I’ve attached two pix ...
Doug's user avatar
  • 41
0 votes
1 answer
389 views

Use M Value with POLYLINE.segmentAlongLine

Currently I have a table with Begin and End M measurements. I also have a route feature class. I would like to be able to use the POLYLINE.segmentAlongLine(start_measure, end_measure) method but ...
kShort's user avatar
  • 73
1 vote
1 answer
189 views

Set M-values as distance: Multipart M-values are set in descending order

I have a multipart polyline in an ArcGIS Pro 2.9.2 FGDB feature class (NAD83 UTM): I can set the M-values to the cumulative distance of the line by using the Set As Distance tool (setting "...
User1974's user avatar
  • 1,172
0 votes
0 answers
21 views

Assigning point order (traffic signals) based on location on lines (bus routes) in another layer using ArcMap

I need to list all signalized intersections a bus route passes through, in order. I have both the intersection locations and the bus routes visualized in ArcMap. Any ideas?
bmat's user avatar
  • 1
1 vote
1 answer
530 views

Set M-values to cumulative length of line (via ArcPy)

ArcMap 10.7.1 — Oracle 18c EGDB — SDE.ST_GEOMETRY I have existing SDE.ST_GEOMETRY polylines that have M-values (aka 'measure values' for linear referencing purposes). I want to update the M-values ...
User1974's user avatar
  • 1,172
2 votes
1 answer
222 views

Points of tracklog inside a polygon with a re-enter tolerance

I have points in PostGIS that represent GPS coordinates with a timestamp from a tracklog. I'm interested in selecting the times at which the tracklog entered and exited the polygon with a certain ...
Enrique Vargas's user avatar
1 vote
1 answer
888 views

FME - Measure length of line to any point along line

Do you know how can I measure distance from the beginning of line to point. Points are on lines. I tried some solution and think about measuregenerator, lengthtopointcalculator, neighborfinder... but ...
adien's user avatar
  • 11
4 votes
2 answers
753 views

Ordering points along polyline using line_locate_point function in QGIS

I want to order a sequence of points along a polyline. I find solutions at this post and this one. They suggested to use line_locate_point() to identify the distance from each point in a point layer ...
Yuandong's user avatar
3 votes
1 answer
259 views

ST_3DIntersection with LINESTRING M and POLYGON M

I have a database of aircraft positions and I'm trying to develop a way to recreate what airspace looked like at a time T. So my idea was to store each pair of positions as a LINESTRING M(lon1 lat1 t1,...
Thiatt's user avatar
  • 235
2 votes
1 answer
52 views

ST_Snap alternative to not lose time dimension when splitting a Linestring

In order to compute the distance of a given track at different periodicity (daily, weekly ..), I am using ST_Split to split the track at different point in time and compute the length for each ...
Rona's user avatar
  • 51
0 votes
1 answer
532 views

Calculating chainage distance of points along polyline from start point of line using ArcGIS Desktop

I have road network polylines data with chainages at some specific points along the line. Is there any way to calculate the chainage distance of each points from starting point of the polyline?
Abreham Aschalew's user avatar
2 votes
1 answer
205 views

Reproducing drag-n-drop for Feature Classes using ArcPy in ArcGIS Pro

There is a Geodatabase with several Feature Datasets (FD), because a requirement in Location referencing tools in ArcGIS Pro 2.6 and above, Feature Classes (FC) from one FD should be moved to another ...
XtianGIS's user avatar
  • 782
0 votes
0 answers
186 views

Adding linear distances along polyline segments (start/end stations) to attribute table in QGIS

This seems like a pretty simple application but I've been struggling to find the appropriate tool. I have a polyline feature (a trail network) that contains fields with attributes about each segment ...
Drew's user avatar
  • 1
2 votes
0 answers
173 views

Remove Yellow Squares Created by the LRS Plug-in

Does anyone know how I can remove the yellow squares which appear in my QGIS project when using the "Locate" tool within the "LRS" Plug-in? I have refreshed the Project and also ...
Tim W's user avatar
  • 101
2 votes
0 answers
73 views

QGIS: Placing points on a shapefile in relation to their distance to other points on that shapefile

I'm attempting to add UK railway signal-boxes to QGIS to extract their coordinates - there's over 1000 of them. I have: The entire UK railway network shapefile The coordinates of train stations on ...
zaza_space's user avatar
0 votes
0 answers
50 views

Geocoding by route number and distance

How can one get coordinates from input consisting of country, route number and distance from the beginning of the route? For example: (Austria, A1, 0 km), (Belgium, A12, 20 km) etc. I have looked at ...
Gustavs's user avatar
0 votes
0 answers
54 views

Create distance intervals along a Route + Cross Section

I believe I've done this before but years ago. My goal is to make a X-Section of a line using a DEM. I want to create a Route (from a Polyline), give this route 1k intervals, and then "drape"...
Vanessa's user avatar
  • 113
2 votes
0 answers
43 views

Linear Referencing and Z measurements

I am trying to build a linear reference route that uses the DEM derived distance instead of the default 2D distance. I have tried this How To (https://support.esri.com/en/technical-article/000008984) ...
Clive's user avatar
  • 21
0 votes
1 answer
147 views

Creating lines along calibrated polyline from M values in ArcMap

I have an M-value enabled polyline feature class and from-to M-values of lines. The polyline is already calibrated. Is there any way to create line along the calibrated polylines or get that segment ...
Ayaz49's user avatar
  • 428
1 vote
2 answers
80 views

Storing information for each segment of spatial line

I have some spatial lines from a shapefile representing roads. I'd like to attribute to each segment an information, for example the state of the segment or more generally a scalar that gives an ...
JRR's user avatar
  • 9,479
2 votes
0 answers
132 views

Improving display speed of a virtual layer in QGIS

Following on this question. I have a set of reference lines and a non geometrical table of events. This table contains the mileage of the event along the reference lines, amongst other attributes. I ...
Kantan's user avatar
  • 1,927
1 vote
1 answer
32 views

Find sublines, given initial and final offsets, via the command line

I have a CSV file that looks essentially like this: id,id_wkt,start,end,wkt 11,11,0,43,"LINESTRING(3.3623676 51.3132714,3.3626663 51.3130068,3.363068 51.3126811,3.3636323 51.3122504,3.3640754 51....
Socci's user avatar
  • 225

1
2 3 4 5 6