Skip to content

Commit

Permalink
Necessary Input Data SHPs
Browse files Browse the repository at this point in the history
  • Loading branch information
waldstrom committed Jan 13, 2021
1 parent 72f9767 commit 6ba9296
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config_NE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ assess_predictions_NE.py:
trn: output-NE/trn_predictions_at_0dot05_threshold.pkl
val: output-NE/val_predictions_at_0dot05_threshold.pkl
tst: output-NE/tst_predictions_at_0dot05_threshold.pkl
#all: output-NE/all_predictions_at_0dot05_threshold.pkl
all: output-NE/all_predictions_at_0dot05_threshold.pkl
folders:
output: output-NE

42 changes: 42 additions & 0 deletions config_NE_update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
generate_training_sets_NE.py:
datasets:
ground_truth_sectors_shapefile: data-update/Sectors_groundtruth.shp
other_sectors_shapefile: data-update/Sectors_other.shp
ground_truth_swimming_pools_shapefile: data-update/sp_gt_missing_manuell.shp
other_swimming_pools_shapefile: data-update/Swimmingpools_other.shp
orthophotos_web_map_service:
url: https://sitn.ne.ch/mapproxy95/service
layers: ortho2019
srs: "EPSG:900913"
folders:
output: output-NE-update
tile_size: 256 # per side, in pixels
save_image_metadata: True
overwrite: False
n_jobs: 100
COCO_metadata:
year: 2020
version: 1.0
description: 2019 orthophotos w/ Swimming Pool segmentations
contributor: Système d'information du territoire Neuchâtelois (SITN)
url: https://sitn.ne.ch
license:
name: Unknown
url:


assess_predictions_NE.py:
n_jobs: 100
datasets:
labels_geojson: output-NE-update/labels-NE-manuell-fuse.geojson
image_metadata_json: output-NE-update/img_metadata.json
OK_tiles_geojson: output-NE-update/OK_tiles.geojson # tiles including at least one swimming pool, split in trn/val/tst subsets
aoi_tiles_geojson: output-NE-update/aoi_z18_tiles.geojson # aoi = Area of Interest
predictions:
trn: output-NE-update/trn_predictions_at_0dot05_threshold.pkl
val: output-NE-update/val_predictions_at_0dot05_threshold.pkl
tst: output-NE-update/tst_predictions_at_0dot05_threshold.pkl
all: output-NE-update/all_predictions_at_0dot05_threshold.pkl
folders:
output: output-NE-update/assessment-GEuNE

1 change: 1 addition & 0 deletions data-update/Swimmimgpools_groundtruth_missing.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file added data-update/Swimmimgpools_groundtruth_missing.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions data-update/Swimmimgpools_groundtruth_missing.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["CH1903+_LV95",GEOGCS["GCS_CH1903+",DATUM["D_CH1903+",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["latitude_of_center",46.95240555555556],PARAMETER["longitude_of_center",7.439583333333333],PARAMETER["azimuth",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",2600000],PARAMETER["false_northing",1200000],UNIT["Meter",1]]
1 change: 1 addition & 0 deletions data-update/Swimmimgpools_groundtruth_missing.qpj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["CH1903+ / LV95",GEOGCS["CH1903+",DATUM["CH1903+",SPHEROID["Bessel 1841",6377397.155,299.1528128,AUTHORITY["EPSG","7004"]],TOWGS84[674.374,15.056,405.346,0,0,0,0],AUTHORITY["EPSG","6150"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4150"]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["latitude_of_center",46.95240555555556],PARAMETER["longitude_of_center",7.439583333333333],PARAMETER["azimuth",90],PARAMETER["rectified_grid_angle",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",2600000],PARAMETER["false_northing",1200000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","2056"]]
Binary file added data-update/Swimmimgpools_groundtruth_missing.shp
Binary file not shown.
Binary file added data-update/Swimmimgpools_groundtruth_missing.shx
Binary file not shown.
Binary file added data-update/Swimmingpools_groundtruth_modifie.dbf
Binary file not shown.
1 change: 1 addition & 0 deletions data-update/Swimmingpools_groundtruth_modifie.prj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PROJCS["CH1903+_LV95",GEOGCS["GCS_CH1903+",DATUM["D_CH1903+",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["False_Easting",2600000.0],PARAMETER["False_Northing",1200000.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Azimuth",90.0],PARAMETER["Longitude_Of_Center",7.439583333333333],PARAMETER["Latitude_Of_Center",46.95240555555556],UNIT["Meter",1.0],AUTHORITY["EPSG",2056]]
Binary file added data-update/Swimmingpools_groundtruth_modifie.shp
Binary file not shown.
Binary file added data-update/Swimmingpools_groundtruth_modifie.shx
Binary file not shown.
1 change: 1 addition & 0 deletions data-update/sp_gt_missing_manuell.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8

0 comments on commit 6ba9296

Please sign in to comment.