Skip to main content
6 events
when toggle format what by license comment
Mar 14, 2022 at 23:19 comment added Mayo Yes, you can run the 25.1.15.8. Points to path algorithm setting the parameters like this: CLOSE_PATH: False, ORDER_EXPRESSION must be your 'ESRI_ID' field, GROUP_EXPRESSION can be calculated like this: 'ESRI_ID' % 2.
Mar 14, 2022 at 23:08 comment added Mayo This script doesn't use any attributes of the point layer, it works by connecting the nearest points. So you don't need to specify any fields, all you need to set is the layer name and whether you want to close the path. But if you know that all the odd ids are on one side of the path and all the even ids are on the other side, you can use the 25.1.15.8. Points to path tool.
Mar 14, 2022 at 21:46 comment added Amie Thanks for this code- unfortunately trying to adapt and run this has caused QGIS to freeze and crash twice. Just as a sanity check, layer_name should just be whatever is displayed in the Layers section (e.g. "markers" in this case). And I am a little new to using python in QGIS- how would I modify this to use the ID column "ESRI_ID"?
Mar 13, 2022 at 14:32 history edited Vince CC BY-SA 4.0
naming
S Mar 13, 2022 at 14:22 review First answers
Mar 13, 2022 at 14:32
S Mar 13, 2022 at 14:22 history answered Mayo CC BY-SA 4.0