SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Index: Constructor/AppEnv.cs |
| 1 | + | Index: ExportSurface.cs |
| 2 | =================================================================== | |
| 3 | - | --- Constructor/AppEnv.cs (revision 6363) |
| 3 | + | --- ExportSurface.cs (revision 6363) |
| 4 | - | +++ Constructor/AppEnv.cs (working copy) |
| 4 | + | +++ ExportSurface.cs (working copy) |
| 5 | - | @@ -235,6 +235,18 @@ |
| 5 | + | @@ -152,7 +152,7 @@ |
| 6 | - | set { vars["VECTORDATA5_OUTPUT_LNKD"].Value = value; }
|
| 6 | + | {
|
| 7 | - | } |
| 7 | + | string seaMaterial = "Sea4.1"; |
| 8 | ||
| 9 | - | + public string SurfaceL0Output |
| 9 | + | - tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\"; |
| 10 | - | + {
|
| 10 | + | + tempDir = appEnv.SurfaceTempDir; |
| 11 | - | + get { return vars["SURFACE_L0_OUTPUT"].StringValue; }
|
| 11 | + | System.IO.Directory.CreateDirectory(tempDir); |
| 12 | - | + set { vars["SURFACE_L0_OUTPUT"].Value = value; }
|
| 12 | + | Tools.Path.CleanupDir(tempDir); |
| 13 | - | + } |
| 13 | + | // apply-surface-types & merge |
| 14 | - | + |
| 14 | + | @@ -562,7 +562,7 @@ |
| 15 | - | + public string SurfaceTempDir |
| 15 | + | command = MergeOffshoresCommand(cutbysquares.ToArray(), mergedfilename); |
| 16 | - | + {
|
| 16 | + | task.AddCommand(command); |
| 17 | - | + get { return vars["SURFACE_TEMP_DIR"].StringValue; }
|
| 17 | + | |
| 18 | - | + set { vars["SURFACE_TEMP_DIR"].Value = value; }
|
| 18 | + | - var surfaceL0filename = tempDir + "surfaceL0.ofsh"; |
| 19 | - | + } |
| 19 | + | + var surfaceL0filename = tempDir + "surface-L0.ofsh"; |
| 20 | - | + |
| 20 | + | var mergedL0filename = tempDir + "mergedL0.ofsh"; |
| 21 | - | public string RrrSceneOutput |
| 21 | + | var finalL0filename = tempDir + "finalL0.ofsh"; |
| 22 | - | {
|
| 22 | + | var cutL0filename = tempDir + "cutL0.ofsh"; |