londonkiwi
Programmer
How do I to manipulate that following MIF (text) file from format A to format B
A
Version 300
Charset "WindowsLatin1"
Delimiter ","
CoordSys NonEarth Units "m" Bounds (1837078.087, 5698821.102) (3394395.121, 7522516.836)
Columns 1
ID Integer
Data
Pline 21
2628498.718203998 6612852.52640656
2628509.279149464 6612865.550329644
2628532.958933625 6612894.755904976
2628552.001806316 6612993.734255396
Pen (1,2,0)
Pline 3
2628594.068054039 6612435.989741675
2628623.059846602 6612381.050907688
2628673.672650207 6612307.309770684
Pen (1,2,0)
B
21 1001 1002 2628498 6612852
22 1003 1004 2628509 6612865
22 1005 1006 2628532 6612894
23 1007 1008 2628552 6612993
21 1009 1010 2628594 6612435
22 1011 1012 2628623 6612381
23 1013 1014 2628673 6612307
Where 21-23 are Interger 2, denoting start, middle and end of a line
1000 + are the "x" node and "y" nodes (Interger 6)
"xxxxxxx" and "xxxxxxx" are fixed length coordinates
The files are gnerally over 64k, and up to 600k.
How do you sugest I best go about this [sig][/sig]
A
Version 300
Charset "WindowsLatin1"
Delimiter ","
CoordSys NonEarth Units "m" Bounds (1837078.087, 5698821.102) (3394395.121, 7522516.836)
Columns 1
ID Integer
Data
Pline 21
2628498.718203998 6612852.52640656
2628509.279149464 6612865.550329644
2628532.958933625 6612894.755904976
2628552.001806316 6612993.734255396
Pen (1,2,0)
Pline 3
2628594.068054039 6612435.989741675
2628623.059846602 6612381.050907688
2628673.672650207 6612307.309770684
Pen (1,2,0)
B
21 1001 1002 2628498 6612852
22 1003 1004 2628509 6612865
22 1005 1006 2628532 6612894
23 1007 1008 2628552 6612993
21 1009 1010 2628594 6612435
22 1011 1012 2628623 6612381
23 1013 1014 2628673 6612307
Where 21-23 are Interger 2, denoting start, middle and end of a line
1000 + are the "x" node and "y" nodes (Interger 6)
"xxxxxxx" and "xxxxxxx" are fixed length coordinates
The files are gnerally over 64k, and up to 600k.
How do you sugest I best go about this [sig][/sig]