Tag Info

New answers tagged

1

Unfortunately, the near function is only available with an Advanced license. For your problem, it could be solved with linear referencing. What you need is a Route (your transect line) and a list of Events (your points) that could be placed along the aforementioned Route. Shifting them left or right can be done using the Offset option with the Add Route ...


1

This would work better in model builder but you can run it as individual tools. If you start with Generate Near Table from the points to the line using the options closest and near angle this will give you the angle of the line (radians I think) at the closest location on the line. Add fields to the near table and original point file NEW_X and NEW_Y and ...


1

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 ...


0

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): ...



Top 50 recent answers are included