-
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.
Merge pull request #332 from Deltares/example/198-traffic-analysis-eq…
…uity-prioritarian Example/198 traffic analysis equity prioritarian
- Loading branch information
Showing
24 changed files
with
2,216 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[project] | ||
name = pontianak | ||
|
||
[analysis1] | ||
name = optimal route origin destination | ||
analysis = optimal_route_origin_destination | ||
weighing = length | ||
save_traffic = True #True if you want to record the traffic in each edge | ||
equity_weight = region_weight.csv #equity-weighted factors for each region, should be stored in static/network. Note that 'region' and 'region_var' should present in network.ini | ||
save_gpkg = True | ||
save_csv = True | ||
|
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,43 @@ | ||
[project] | ||
name = pontianak_newra2ce | ||
|
||
[network] | ||
directed = False | ||
source = OSM download | ||
primary_file = None | ||
diversion_file = Pontianak_4326_buffer_0_025deg.geojson | ||
file_id = None | ||
polygon = Pontianak_4326.geojson | ||
network_type = drive | ||
road_types = motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary,tertiary_link | ||
save_gpkg = True | ||
|
||
[origins_destinations] | ||
origins = origins_points.shp # Must be in the static/network folder, belongs to this analysis | ||
destinations = osm_health_point.shp # gis_osm_pois_pontianak.shp # Must be in the static/network folder, belongs to this analysis | ||
origins_names = A | ||
destinations_names = B | ||
id_name_origin_destination = OBJECTID #default if origins is a tif file = OBJECTID | ||
origin_count = values #necessary if traffic on each edge would be recorded in optimal_route_origin_destination | ||
origin_out_fraction = 1 | ||
category = category | ||
region = region.shp #necessary for distributional / equity analysis | ||
region_var = DESA #necessary for distributional / equity analysis | ||
|
||
[hazard] | ||
hazard_map = None | ||
hazard_id = 1 | ||
hazard_field_name = waterdepth | ||
aggregate_wl = max | ||
hazard_crs = None #EPSG:4326 | ||
|
||
[cleanup] | ||
snapping_threshold = None | ||
pruning_threshold = None | ||
segmentation_length = None | ||
merge_lines = None | ||
ignore_intersections = None | ||
|
||
|
||
[isolation] | ||
locations = None |
8 changes: 8 additions & 0 deletions
8
examples/data/equity_analysis/static/network/Pontianak_4326.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ples/data/equity_analysis/static/network/Pontianak_4326_buffer_0_025deg.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
examples/data/equity_analysis/static/network/origins_points.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 @@ | ||
ISO-8859-1 |
Binary file not shown.
1 change: 1 addition & 0 deletions
1
examples/data/equity_analysis/static/network/origins_points.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 not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
examples/data/equity_analysis/static/network/osm_health_point.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 not shown.
1 change: 1 addition & 0 deletions
1
examples/data/equity_analysis/static/network/osm_health_point.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 not shown.
Binary file not shown.
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 not shown.
36 changes: 36 additions & 0 deletions
36
examples/data/equity_analysis/static/network/region.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
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]] |
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,26 @@ | ||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> | ||
<qgis version="3.22.10-Bia?owie?a"> | ||
<identifier></identifier> | ||
<parentidentifier></parentidentifier> | ||
<language></language> | ||
<type>dataset</type> | ||
<title></title> | ||
<abstract></abstract> | ||
<links/> | ||
<fees></fees> | ||
<encoding></encoding> | ||
<crs> | ||
<spatialrefsys> | ||
<wkt></wkt> | ||
<proj4></proj4> | ||
<srsid>0</srsid> | ||
<srid>0</srid> | ||
<authid></authid> | ||
<description></description> | ||
<projectionacronym></projectionacronym> | ||
<ellipsoidacronym></ellipsoidacronym> | ||
<geographicflag>false</geographicflag> | ||
</spatialrefsys> | ||
</crs> | ||
<extent/> | ||
</qgis> |
Binary file not shown.
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
examples/data/equity_analysis/static/network/region_weight.csv
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,30 @@ | ||
region;weight | ||
SUNGAI JAWI;0.441758257 | ||
PARIT TOKAYA;0.153340981 | ||
BATU LAYANG;1.160449143 | ||
SUNGAI BANGKONG;0.423991044 | ||
BENUA MELAYU DARAT;0.992460846 | ||
SIANTAN HULU;1.469602714 | ||
BANSIR LAUT;0.032957022 | ||
SIANTAN TENGAH;3.483517402 | ||
SUNGAI JAWI DALAM;1.272954571 | ||
AKCAYA;0.380242685 | ||
KOTA BARU;0.536064278 | ||
SIANTAN HILIR;3.123689118 | ||
PAL LIMA;0.79156505 | ||
SUNGAI BELIUNG;0.94229261 | ||
BENUA MELAYU LAUT;2.444064492 | ||
BANSIR DARAT;0.012661925 | ||
TANJUNG HILIR;3.602120813 | ||
BANJAR SERASAN;2.444064492 | ||
DARAT SEKIP;2.505429248 | ||
DALAM BUGIS;1.32424381 | ||
TANJUNG HULU;0.127506152 | ||
SAIGON;0.254129908 | ||
BANGKA BELITUNG DARAT;0.069727254 | ||
SUNGAI JAWI LUAR;2.748538215 | ||
TENGAH;0.449771849 | ||
BANGKA BELITUNG LAUT;0.345899041 | ||
MARIANA;0.463968963 | ||
PARIT MAYOR;0.385813932 | ||
TAMBELAN SAMPIT;6.964804054 |
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.