mpetroff / qgsazimuth

Fork of http://sourceforge.net/projects/qgsazimuth/
7 stars 3 forks source link

Problems to draw some curves #25

Open phporath opened 4 years ago

phporath commented 4 years ago

Hello, I am using your Plugin and I really like it. But I have a problem and I would like to see if you could help me to find it.

Let's see the code:


angle=Azimuth heading=Coordinate_System dist_units=Default angle_unit=degree startAt=719397;7098180;90.0 survey=Polygonal [data] 21D 48' 5;65.78;90;None;None 15D 25' 13;29.88;90;134.13;anticlockwise 9D 2' 22;128.21;90;None;None 41D 18' 18;62.44;90;55.44;clockwise 73D 34' 15;107.64;90;None;None 36D 38' 2;34.3;90;26.6;anticlockwise 359D 41' 49;119;90;None;None 332D 11' 46;92.2;90;96.05;anticlockwise 304D 41' 43;257.85;90;None;None 344D 38' 34;66.6;90;47.76;clockwise 24D 35' 24;49.77;90;None;None 59D 4' 59;70.09;90;58.22;clockwise 93D 34' 35;42.22;90;None;None 114D 30' 54;57.3;90;78.4;clockwise 135D 27' 13;188;90;None;None 101D 43' 16;88.17;90;74.88;anticlockwise 67D 59' 19;132.78;90;None;None 78D 39' 23;39.54;90;106.18;clockwise 89D 19' 26;59.02;90;None;None 11D 15' 41;149.78;90;54.97;anticlockwise


It's works fine until the last line. I am using the same values in Parcel Editor (ArcGIS) and I don't have the same problem.

mpetroff commented 4 years ago

You can't draw an arc with a distance more than twice the radius, since you can't have two points on a circle that are further away than the circle diameter. When the distance is exactly twice the radius, you get a semicircle. The line giving you the issue specifies a distance that is 2.7 times the radius.

While the error message could certainly be improved, I'm not sure what you expect the behavior to be for this case. I've never used ArcGIS, so I have no idea what it does.