New answers tagged linear-referencing
Sounds like your route layer is not calibrated (as hinted by @FelixIP). It's not enough to create a polylineM featureclass you also need to give those polylines a measure along their length. The measure does not have to be in the units of the dataset (although it usually is). So for example you may have a dataset in UTM (so in metres) but your measure is in ...
Adapting my answer to this question: First make ~/.qgis2/python/mytools.py : from qgis.core import (QgsFeature, QgsGeometry, QgsVectorLayer, QgsMapLayerRegistry, QgsField) from PyQt4.QtCore import QVariant from qgis.utils import iface import math def redistribute_geometry_vertices(geom,dist): ...
Since the version 2.x, PyQGIS has an has an interpolate function similar to that of Shapely : for distance in xrange(0,lenght_line,20): point = line.interpolate(distance) look at How to create points in a specified distance along the line in QGIS？
Those ArcPy functions utilize the SgShape functions lower in the API stack. The ST_GEOMETRY object was built using some of those same functions, but doesn't expose them all (just the set that implements those required by Spatial Types and Functions implementation, which doesn't include LRS). The LRS primitive list exposed at the ArcSDE API isn't large: ...
The answer seems to be that the Overlay tool in the Linear Referencing toolbox does not like GUID data type fields as the Route ID field. The solution was to transfer the Route ID field which is a guid to a string field. All is working with the Route ID field as a string data type.
I agree with @Fezter. What you are describing sounds like Linear Referencing: Many organizations collect data about linear features as point locations along the line as an alternative to expressing the locations using x,y coordinates. In particular you may want to look at the Calibrate Routes (Linear Referencing) tool: Recalculates route ...
Top 50 recent answers are included