Skip to content

Commit

Permalink
Merge pull request #910 from mapswipe/fix/hot-share-calc
Browse files Browse the repository at this point in the history
Fix _share values
  • Loading branch information
thenav56 authored Aug 31, 2023
2 parents 5dad0a4 + 35373ab commit a2eaa4b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def load_data(project_id: str, gzipped_csv_file: str) -> list:
"yes_count": int(column_index_map.get("1_count", 0)),
"maybe_count": int(column_index_map.get("2_count", 0)),
"bad_imagery_count": int(column_index_map.get("3_count", 0)),
"no_share": float(column_index_map.get("0_count", 0)),
"yes_share": float(column_index_map.get("1_count", 0)),
"maybe_share": float(column_index_map.get("2_count", 0)),
"bad_imagery_share": float(column_index_map.get("3_count", 0)),
"no_share": float(column_index_map.get("0_share", 0)),
"yes_share": float(column_index_map.get("1_share", 0)),
"maybe_share": float(column_index_map.get("2_share", 0)),
"bad_imagery_share": float(column_index_map.get("3_share", 0)),
"wkt": tile_functions.geometry_from_tile_coords(
task_x, task_y, task_z
),
Expand Down

0 comments on commit a2eaa4b

Please sign in to comment.