root676 / QNEAT3

QNEAT3 - Qgis Network Analysis Toolbox 3
GNU General Public License v3.0
63 stars 12 forks source link

OD Matrix from Layers as Lines (m:n) reports null when network is not used #24

Closed alexberd closed 4 years ago

alexberd commented 4 years ago

Hi @root676,

Thanks a lot for developing this awesome tool!

After reading carefully to understand how it works at the following pages..1, 2..I found that when using "fastest Path" Optimization Criterion and when the "From Point Layer" and the "To-Point Layer" are too close to each other, so that the network is not used for traveling, the calculated time of the values entry_cost, network_cost, exist_cost and total_cost are null.

Would it be possible in the above cases, algorithm to calculate the traveling time between starting and ending point and storing it to one of the costs parameters?

This will be very usefull for instance when few travel distances rely on the actual (physical time distances - using the default speeds) for trasportation rather than to the network.

Please let me know if the above make sense. I look forward hearing from you!

Regards, Alex

root676 commented 4 years ago

Hi, I'm not quite sure if I understand your question correctly. What do you mean by from and to layers being "too close to each other". Are they identical? The network is always used for traveling unless the two layers are identical (why should there be a need of using the network or entering it?)