# Tagged Questions

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

3 views

### Calculate Network Lengths on a 3d landscape plotted line

I'm looking to find a way of calculating co-ordinate positions along the length of a line, however this is no ordinary length calculation. Background Here in the UK, network rail and national rail ...
18 views

### Segment polyline at distance from points

I have polylines with many vertices (i.e., a river). For analytical purposes, I want to segment this line at specific distances from points that occur along these polylines. Normally with straight ...
32 views

### Counting points (accidents) per segment of roads layer?

The addresses of the road accidents were known and I did geocoding in order to find their position. But their position are not snapped on the road. I managed to snap them to road segments by following ...
16 views

### ArcGIS Overlay route events

I have bus onboard volume data stored as a polyline shp file. The polyline lengths are the distances between sequential boardings and alightings. So along any particular bus route there are ...
58 views

### Linear referencing points when the corresponding line ID is known

I'm trying to use linear referencing on a set of points of which the corresponding line ID is known. The points are GPS measurements along a railway. Each measurement contains the ID of the railway ...
56 views

### ST_LocateAlong interpolation: difference between PostGIS and Spatialite

In a previous question, I discovered that ST_LocateAlong along a LineStringM is not implemented the same way in Spatialite than in PostGIS. While PostGIS interpolates between measures, this is not ...
71 views

### Dynamic Linear Referencing of events in QGIS from Excel or CSV using virtual layer

I have a PostGIS table with a geometry type LINESTRING M to represent routes. Here is the table specification: CREATE TABLE routes ( fid serial PRIMARY KEY, r_name text NOT NULL, geom geometry(...
58 views

### Calculate Statistics along a Linear Feature

I have a linear feature class (road network) that is split into segments less than 2 miles in length. Each segment is assigned a value. I want to calculate a distance weighted sum in some manner such ...
24 views

### PostGis - Geocode Milepost [duplicate]

I used this code to geocode milepost data and when i ran this i got result like this "01040000E0D408000000000000", so how to convert this result into Lattitude and longitude values ?? SELECT ...
54 views

### Create points along line using CCTV data (irregular interval!)

I am trying to create points along a line using CCTV data for our wastewater network using ArcMap 10.3. There is no field within our pipe to specify upstream/downstream so I have determined the flow ...
69 views

### Find distance from points along lines [closed]

I have two layers, one is a point layer of schools and another is a polyline layer of streets. The end goal is to create a buffer along the lines that is 20 feet from the centerline that goes 1 mile ...
33 views

### Creating points at specified distances along line radiating from midpoint of each line using ArcGIS for Desktop?

I want to create points at specified distances (i.e. every 10 meters) along a line radiating from the midpoint of each line. While I could manually create a number of 'buffers' from each mid-point ...
38 views

### Nearest Neighbor Analysis for route events

I have events that are on routes. You can think of it as accidents on a highway. I want to do some spatial statistics on it. The road is an M enabled feature class and decision makers want logical ...
66 views

### Create chainage points from hatch in ArcGIS

I have routes representing road centrelines created my geodatabase. I have hatched these features with point symbols and lables every 100m as shown below: I would like to create a point feature ...
55 views

### How does the parameter “offset” work with the ST_LocateAlong/ST_LocateBetween PostGIS function?

I try to understand the ST_LocateAlong/ST_LocateBetween PostGIS function. The documentation tells me this: geometry ST_LocateAlong(geometry ageom_with_measure, float8 a_measure, float8 offset); ...
57 views

### ArcMap, Network analyst data preparation

I have line feature class with pedestrian network ... and information about network parameters (surface type, surface quality, slope, etc. ... not in digital form now). I want to create network ...
47 views

### Find nearest upstream sensor to Event data

I am a newbie to ArcGis. I am trying to find out the nearest upstream sensor to an accident data table . The inputs that I have are: Sensor details: Latitude, Longitude, Road Name, Road Direction (...
30 views

### Dividing stream network of specified lengths in ArcGIS for Desktop? [closed]

we are trying to find hydro power potential of river basin by using ArcGis and SWAT ,we have created stream network ,but unable to divide stream network at 500mts interval, unable to find the tool
78 views

### Perpendicular Distance Markers on Polyline in MapInfo?

I have added chainage to a creek polyline in MapInfo v11.0.3 using the 1999 version of "Distance Marker" by Meridian. It looks poor as it does not have the functionality to create the markers ...
102 views

### Geocoding Street Segments Based on Extents in ArcGIS for Desktop?

I have a list of projects that need to be geocoded or drawn through some sort of automated process in ArcGIS 10.3 for Desktop. The are listed by primary street, a begin street intersection, and an end ...
73 views

### Interpolate missing M values along a line

Is there some way in PostGIS to interpolate missing M coordinates in a geometry like this? select ST_MakeLine(ARRAY[ ST_MakePointM (0, 1, 10), ST_MakePoint (0, 2), ST_MakePoint (0, 3),...
51 views

### How to change Linear Units

I have an ESRI feature class whose coordinates are 38.263, -122.672 Meters. When I load it into a data frame that uses the GCS_NAD_1983_NSRS2007 datum and the ...
39 views

### Locating Multiple Points on Mutlipes routes by a Unique ID

I'm trying to get a "MEASURE" for Points along a route. I need ARCGIS10 Desktop Linear Referencing tools or other application to use a unique identifier to match the Lines in the route to points ...
37 views

### How to intersect two polyline layers? [duplicate]

I have two line shapefiles that overlap 50% of the time. I want to generate a new single shapefile that includes attributes of both datasets AND no duplicate segments. A short segment from one layer ...
23 views

### Selection Based on Range of Values from another table

I'll try to explain this is as simply as possible. I've figured out how to create this table in SQL, no problem. But I'd like to have this done in python as part of a larger model. I have a feature ...
96 views

### Creating coordinates from beg and end points on a line [duplicate]

Is it possible to create WGS-1984 coordinates from the start and end points along a line segment? The line features were created using linear referencing but now I need to create lat and long ...
54 views

### Offsetting points from lines using SQL Server Spatial?

I'm new with SQL spatial data processing, so I'm not sure how to solve my task. I have two tables - table with lines and table with points that are located on lines. Lines and points are related by ID ...
66 views

### Labeling at M value vertices only?

How would one label at M value vertices only? We have added M values using linear referencing and now would like to label stations at the vertices.
164 views

### Find the point distance along a streams polyline?

Working in ArcGIS. I am looking for a way to find the distance of a point along a streams polyline. I read Finding distance of point along polyline? and it seems to be similar to what I need...the ...
35 views

### Creating a reference line among LiDAR points and retrieving distances between them?

I have a LAS dataset which contains points with x and y coordinates. For further analysis I need a new dimension which can be adjusted as the dataset requires. To make it understandable I made this (...
80 views

### Plotting new offset points in ArcGIS for Desktop?

I have a task where I have plotted positions along an alignment (see red dots in images) and I need to plot two offset points (from the chainage locations) at varying distance parallel to the ...
49 views

### Line sections between points in ArcMap?

How to get shape with lines between points which have to lay on the same line entity?
54 views

### Measuring distance on line geometry with ArcGIS IOS

I'm developing an IOS application which should run offline and need a feature; I want to be able to calculate distance to a point from the start of a given line geometry. With ...
120 views

### Using linear referencing in ArcGIS to plot line data

I have just started using the linear referencing tools in ArcGIS 10.2 but I'm having a bit of trouble. I'm trying to plot schemes as line data on to our road network layer which is also line data ...
366 views

### Arcpy.da.SearchCursor to retrieve the min and max measure values from Polyline-M shape

Is there a way to use a search cursor in ArcGIS to read the minimum measure and maximum measure values of a linear referenced route layer using arcpy? My goal is to build a route event using the start ...
29 views

### Shapely's object.project method dealing with overlapping polyline

So I am interested in knowing how far along a polyline a given point sits. Python's shapely package has a method to do such a thing, see the below code: from shapely.geometry import LineString ip = ...
165 views

### How to get polygon distance from a route?

I need to calculate the location of polygons along the route in ArcGIS (ArcInfo) 9 or 10. What I have already found out is only the calculation of the start and end of the intersection of a polygon ...
175 views

### Is there any tool to execute Postgis-like queries without a postgres server?

I would like to know if there is any way/tool of using geoprocesing queries like the ones you use with POSTGIS but without the need of having an actual database server available. The particular ...
115 views

### How to register “events” for linear referencing in pyqgis?

Is there an easy solution for recording events for a line crossing borders of zones in a polygon layer? I need to implement this in python using QGIS, thus pyqgis. The image attached illustrates what ...
190 views

### Locate features along routes when features are parallel

I am trying to use Esri's Linear Referencing Tool to conform a drawn line to a road route. I have a fairly large search radius of 20m. As long as the line I draw touches the route at some point, ...
137 views

### SQL Spatial Tools package - linear referencing

The SQLSpatialTools package website seems to be temporarily down, so I cannot access the article on linear referencing tool posted there at the moment. Is it possible, by any other means, to obtain a ...
211 views

### Create point on a line with given distance from end in PostGIS

Does anyone know how to create points along a line (MultiLineString geometry) with a given distance in PostGIS? I'd like to create points at a regular distance over a line, which represents a ...
89 views

### Dynamic segmentation with respect to a control factor

Is there a way either with python scripts or other solution to dynamically segment a table with linear measures (from-to fields) Each segmented section (from-to) should have all the item numbers ...
126 views

### How to publish linear referencing capability in ArcGIS for server?

I created a linear referencing event and want to publish as linear referencing service in ArcGIS for server . The problem is when i want to publish, High warning shows the linear referencing event ...
62 views

### Make Route Event Layer snaps event points to vertexes?

In ArcMap 10.2.1 I have made a route event layer using the geoprocessing tool in the normal way, trying to add equidistant route events along a route every 1.6 meters. This works fine in all the ...
291 views

### Alter the M values of an existing route

I have a Polyline ZM shapefile. The M values are in metres. I want to change the M values to kilometres. Seems simple enough, but I can't find a tool to do this. There is only one route in the ...
136 views

### How to access shapefile m-values with pyqgis?

Does anyone know how to access (read/write) m-values of a line-shapefile using pyqgis? I know how to do it with arcpy cursors (http://resources.arcgis.com/en/help/main/10.1/index.html#/...
98 views

### Object: Createobject Layer Invalid Data Source

I'm using a tool made for ArcGIS, however I keep getting this error (see picture). I do not know any python code and I'm trying to get this script to run. # Import system modules import sys, ...