[Qgis-user] Least Cost Path

krishna Ayyala ayyalakrishna at gmail.com
Tue Feb 4 11:49:05 PST 2025


I also ran v.clean on the network. Then ran v.net.salesman on the cleaned
network. That did not help. Getting the same error message. Is there a fix
for this? I wish to run  v.net.salesman without any errors.

On Tue, Feb 4, 2025 at 12:15 PM krishna Ayyala <ayyalakrishna at gmail.com>
wrote:

> Chris,
> Again thanks for your reply. I am not sure if my network is proper. I
> downloaded this from an online data source. How to fix it, if there are any
> errors? Are there any tools in qgis to fix this?
>
> Regards.
>
> On Tue, Feb 4, 2025 at 12:12 PM chris hermansen <clhermansen at gmail.com>
> wrote:
>
>> Krishna and list,
>>
>> On Tue, Feb 4, 2025, 10:49 krishna Ayyala <ayyalakrishna at gmail.com>
>> wrote:
>>
>>> Chris,
>>> Alternatively, I ran v.net.salesman. Even that is giving following error.
>>>
>>> [image: image.png]
>>>
>>> [image: image.png]
>>>
>>>
>>> On Tue, Feb 4, 2025 at 11:26 AM krishna Ayyala <ayyalakrishna at gmail.com>
>>> wrote:
>>>
>>>> Chris,
>>>> Thanks for your reply. When I run shortest path, I am getting the
>>>> following error.
>>>>
>>>> [image: image.png]
>>>>
>>>
>>
>>
>> What makes you think your network is properly formed ie suitable for this
>> kind of processing?
>>
>> For example it might need some kind of node - edge topology.
>>
>>>
>>>> On Tue, Feb 4, 2025 at 10:57 AM chris hermansen <clhermansen at gmail.com>
>>>> wrote:
>>>>
>>>>> Krishna and list,
>>>>>
>>>>> On Tue, Feb 4, 2025 at 9:21 AM krishna Ayyala via QGIS-User <
>>>>> qgis-user at lists.osgeo.org> wrote:
>>>>>
>>>>>> Hello,
>>>>>> I have  4 points and a road network as shown below. Both are vector
>>>>>> layers. How can I determine the least cost path for this?I installed the
>>>>>> "Least-Cost Path" plugin, but that does not work as it needs a raster
>>>>>> layer. When you get a chance, can you please reply?
>>>>>>
>>>>>> Have you looked at any of the several shortest path tools in QGIS?
>>>>> When I open the  processing toolbox and type "shortest" into the search box
>>>>> I see:
>>>>>
>>>>> [image: image.png]
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Chris Hermansen · clhermansen "at" gmail "dot" com
>>>>>
>>>>> C'est ma façon de parler.
>>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250204/f6fa9bec/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 39979 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250204/f6fa9bec/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 40174 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250204/f6fa9bec/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11390 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250204/f6fa9bec/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 35158 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250204/f6fa9bec/attachment-0007.png>


More information about the QGIS-User mailing list