If your camera points have an attribute indicating the road ID (and your road geometries have the same ID in an attribute of the same name), you can use this as a Group By to prevent your camera points to snap to any other road geometries.
If your camera points have an attribute indicating the road ID (and your road geometries have the same ID in an attribute of the same name), you can use this as a Group By to prevent your camera points to snap to any other road geometries.
firstly, thanks for your reply
unfortunately no I don't have any fields indicating a route ID in the camera position layer
How is it determined that the horizontal road is the one the camera should be snapped to? You need to be able to define some sort of rule, whether that is angle, distance or something else.
How is it determined that the horizontal road is the one the camera should be snapped to? You need to be able to define some sort of rule, whether that is angle, distance or something else.
yes absolutely, that's the objective, but currently I can't imagine this rule.
How is it determined that the horizontal road is the one the camera should be snapped to? You need to be able to define some sort of rule, whether that is angle, distance or something else.
So, maybe there is a part of an attribute of the camera's that you can relate to the roads (e.g. all camera's that start with 1 stand along road A)?
Or maybe the camera's are numbered in a certain way, and you can determine camera's 101-199 stand along road B, and camera's 201-299 stand along road C?
Or maybe there is an external source that links camera ID's to roads?
Or maybe you can find out which roads have camera's, and which roads do not?
Or maybe something completely different...
You will have to look closely at all the information that is available to you, and maybe you will need to get extra information.
So, maybe there is a part of an attribute of the camera's that you can relate to the roads (e.g. all camera's that start with 1 stand along road A)?
Or maybe the camera's are numbered in a certain way, and you can determine camera's 101-199 stand along road B, and camera's 201-299 stand along road C?
Or maybe there is an external source that links camera ID's to roads?
Or maybe you can find out which roads have camera's, and which roads do not?
Or maybe something completely different...
You will have to look closely at all the information that is available to you, and maybe you will need to get extra information.
Hello, good for the layer of the cameras they do not have an attribute which can inform us on the route, there is only one attribute "name" which indicates to us from which video, the image is extracted, in all case i will see what i can do, thanks