Drawing bearing and distance property line using C#/SVG/IE9/Visio (V2)
Here is expanded version of my little C# program which converts property description in bearing and distance to SVG, which can then be viewed by IE9 or imported into Microsoft Visio:
Program.cs (attached)
New features:
- endpath command to end a path with stroking
- closepath command to end a path with stroking and filling
- p command to store reference points
- r command to recall reference points
- Parsing and SVG generation seperated into two classes. We can later add generation of other formats.
Sample input (two properties):
S 893511 E 235.70
S 193826 E 28.68
endpath
S 614605 E 128.70
S 395224 E 72
S 340452 W 157.98
P0
N 534354 W 79.51
N 172709 w 87.74
n 652125 E 9.6
N 052600 E 112.75
closepath
R0
S 534354 E 75.40
S 063835 W 66.10
S 570654 E 64.04
N 535505 E 104.10
N 535505 E 52.90
N 382302 W 233.98
closepath
Sample output: