Opened 13 years ago

Closed 13 years ago

#3849 closed patch (fixed)

road-graph plugin not work with

Reported by: stopa85 Owned by: timlinux
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: C++ Plugins Version:
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Road graph plugin not work with message "Tie point failed". It is two problem:

  1. Ignore "Enable 'on the fly' coordinate transfom" settings
  1. Division by zero in QgsPoint::sqrtDistToSegment(x1,y1,x2,y2, minDistPoint) function if (x1,y1) == (x2, y2)

Attachments (2)

roadgraph_fix_OTF_and_sqrDist.diff (6.5 KB ) - added by stopa85 13 years ago.
This path fix it
roadgraph_fix_OTF_and_sqrDist_01.diff (6.5 KB ) - added by stopa85 13 years ago.

Download all attachments as: .zip

Change History (6)

by stopa85, 13 years ago

This path fix it

comment:1 by stopa85, 13 years ago

Sorry. I upload broken file. Use new attach.

comment:2 by jef, 13 years ago

Resolution: fixed
Status: newclosed

applied in commit 92d69e09e78f6c97da12c8bba381eecc28d67986

comment:3 by stopa85, 13 years ago

Resolution: fixed
Status: closedreopened

It is available to apply in to release-1_7_0 ?

in reply to:  3 comment:4 by jef, 13 years ago

Resolution: fixed
Status: reopenedclosed

Replying to stopa85:

It is available to apply in to release-1_7_0 ?

applied to 1.7 in commit d61e6d5954a4ebbaaed4e6514834bb5434472575

Note: See TracTickets for help on using tickets.