-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 390 make sections optional (#391)
* chore: make sections optional * test: add test for network config with only project and network section
- Loading branch information
Showing
8 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/test_data/1_network_shape_minimal_config/network.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[project] | ||
name = 1_network_shape_minimal_config | ||
|
||
[network] | ||
directed = False | ||
source = shapefile | ||
primary_file = test_network_domrep.shp | ||
diversion_file = None | ||
file_id = ID | ||
polygon = None | ||
network_type = drive | ||
road_types = motorway | ||
save_gpkg = True |
1 change: 1 addition & 0 deletions
1
tests/test_data/1_network_shape_minimal_config/static/network/test_network_domrep.cpg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
UTF-8 |
Binary file added
BIN
+1.18 KB
tests/test_data/1_network_shape_minimal_config/static/network/test_network_domrep.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/test_data/1_network_shape_minimal_config/static/network/test_network_domrep.prj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] |
Binary file added
BIN
+143 KB
tests/test_data/1_network_shape_minimal_config/static/network/test_network_domrep.shp
Binary file not shown.
Binary file added
BIN
+860 Bytes
tests/test_data/1_network_shape_minimal_config/static/network/test_network_domrep.shx
Binary file not shown.