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
0 votes
1 answer
43 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
192 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
  • 771
0 votes
1 answer
36 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
114 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
120 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
0 votes
1 answer
312 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
220 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
76 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
108 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
120 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
  • 64.9k
1 vote
1 answer
110 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
  • 64.9k
1 vote
2 answers
171 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
  • 64.9k
0 votes
1 answer
93 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
  • 64.9k
2 votes
1 answer
105 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
  • 64.9k
0 votes
1 answer
44 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
202 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.7k
2 votes
2 answers
198 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,114
1 vote
1 answer
461 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,114
0 votes
1 answer
466 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
108 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
133 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,445
3 votes
2 answers
768 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
275 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
  • 123
1 vote
1 answer
141 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,114
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
386 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,114
2 votes
1 answer
194 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
606 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
492 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
205 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
43 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
444 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
190 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
125 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
138 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
  • 91
2 votes
0 answers
66 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
47 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
44 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
42 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
121 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
75 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
  • 8,874
2 votes
0 answers
125 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,917
1 vote
1 answer
30 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 vote
1 answer
81 views

How to write route with measure to PostGIS with FME?

I have calibrated route in file geodatabase (ArcGIS). I have line coordinate (kilometre) in the start and the end point. I try export this route with M-value to PostGIS in FME. But in result I have ...
GRM's user avatar
  • 105
0 votes
0 answers
19 views

Get measurement values from point along the route Arcmap [duplicate]

I have two shape files, one is a route shapefile with polyline and have measurement values. The other one is point with coordinates but no measurement values. I am trying to snap the points to closest ...
user161007's user avatar
0 votes
1 answer
64 views

ArcMap calculate distance (from and to) from a points shape to the lines shape table

I am trying to calculate the From and To fields in the line table. I have got a points shape and i have got a line shape. ( see for example the figure bellow.) The points( in red ) intersect with ...
Ram's user avatar
  • 111
0 votes
0 answers
224 views

How to calculate interpolated timestamps of linearly referenced points in ArcGIS?

I have a point feature class with timestamp attribute belongs to bus-gps smartcard data-set. I've used linear referencing tool to snap these points to a bus-route. So there are milepoints in the ...
YellowFace's user avatar
4 votes
1 answer
426 views

Linear referencing to calculate maximum distance between points by group along line (river system) using ArcGIS Pro

I am using ArcGIS Pro. I have a series of points representing animal locations that were tracked in a small stream. I would like to get the distance between the most upstream and downstream location ...
Brewkeeper's user avatar
10 votes
2 answers
286 views

Writing out PointM shapefiles from QGIS

I have a PointZM shapefile and I would like to drop the Z value and just write out the PointM values to a new shapefile (I'm trying to test a shapefile reader so other formats are not an option). If ...
Ian Turton's user avatar
  • 79.9k
1 vote
1 answer
393 views

Creating linear event table from geometry using QGIS Linear Referencing

I am trying to find a way to dynamically create an event table from a linear feature. Imagine the example below. Registration of a sidewalk/fence or similar. The colours represent different routes. ...
geogrow's user avatar
  • 1,633

1
2 3 4 5 6