You can also use pyqgis. This doesnt take the "parallelness" into account, only distance. Although it could be adapted to do so.
import itertools #To get all pairwise combinations of lines
lyr = QgsProject.instance().mapLayersByName('lines') #Change
reproject_to = "EPSG:32633" #Change
mindist = 1 #Change
#Reproject so distance is in ...
You can easily achieve this by first rasterizing the road network using the GDAL tool Rasterize (vector to raster) from the QGIS processing toolbox using a desired resolution. In a second step you apply the GDAL tool Proximity (raster distance) that can be found in the same processing algorithm collection.
If you have no intersecting lines, use "Select by expression" with this expression including overlay_nearest() and change the max_distance:
Be aware: your layer must be saved in a CRS using meters as units, thus don't use a geographic CRS like EPSG:4326 (WGS84). In this case, first reproject your layer.
The LengthToPointCalculator will do the task you need:
Calculates the length of a feature from its start until the closest spot to a point, and adds it as a new attribute. The point coordinates are taken from attributes in the original feature.
For the LengthToPointCalculator, input point coordinates are an attribute of the line feature. If you have ...
You can modify the expression by using:
line_locate_point (to get the distance from the start-point of the line to the point where the line intersects with the polygon (white dot on the screenshot below: the point point where the line intersects the polygon for the second time, = step 5 in the original solution)
line_substring to get the substring (blue on ...
Calculate Distance of whole line - distance from the start point (pseudocode) - use this expression:
length (geometry(get_feature('path','Jct_ID',"Point Code")))-
or, alternatively (where line 3 contains the expression for the line):
If you need a general near distance parameter in feet you can use the following calculation to convert decimal degrees to feet.
Add a field - right-click for field calculator and multiply the decimal degrees field by 364567. It won't be exact but fairly close.
Information was obtained from a nautical calculation website & verified with the measurement ...