Hi,
I want to output the shape file which contains the output attributes and follows the geometry of shape file based on the given GEOMI.
In the output shape file, A->B follows the geometry of GEOMI, but B->A doesn't.
I tried GEOMI with single link and double link but the results are the same.
Here is the code. How can I solve this problem?
RUN PGM=NETWORK PRNFILE="C:\XXXXXX\6.ASSIGNMENT\05NET00C.PRN" MSG='Assigned Cargo Ton Volume SHP'FILEI LINKI[1] = "C:\100_CubeProjects\XXXXXX\6.ASSIGNMENT\05PTR00F.NET"FILEI GEOMI[1] = "C:\100_CubeProjects\XXXXXX\3.Network\Shape Files\200812_Air and Maritime LinkRv4 RoutedNormalAndFlip.shp"FILEI LINKI[4] = "C:\100_CubeProjects\XXXXXX\6.ASSIGNMENT\05PTR00F.DBF"FILEI LINKI[3] = "C:\100_CubeProjects\XXXXXX\6.ASSIGNMENT\05PTR00E.DBF"FILEI LINKI[2] = "C:\100_CubeProjects\XXXXXX\5.CARGO\04HWY00A.NET"FILEO LINKO = "{SCENARIO_DIR}\{Scenario_ShortName}S{Tourism Scenario}_CgoTonByDirAssigned.shp", FORMAT=SHPFILEO NETO = "C:\100_CubeProjects\XXXXXX\6.ASSIGNMENT\05NET00H.NET"
PROCESS PHASE=INPUT;Use this phase to modify data as it is read, such as recoding node numbers.ENDPROCESS
PROCESS PHASE=NODEMERGE ; Use this phase to make computations and selections of any data on the NODEI files.ENDPROCESS
PROCESS PHASE=LINKMERGE;GEOMETRYSOURCE =1; Use this phase to make computations and selections of any data on the LINKI files.IF(MODE==11) TYPENO=15 ;Give TYPENO to AIRELSEIF(MODE=12) TYPENO=12 ;Give TYPENO to MaritimeENDIF
CGO_TON = LI.2.V_46+LI.3.TVOL+LI.3.NTVOL+LI.4.TVOL+LI.4.NTVOL;Cargo Ton/day/direction
ENDPROCESS
Hi, I could solve the problem by flipping both geometry and node name.
Thank you anyway.