-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14a82af
commit bfe193f
Showing
1 changed file
with
59 additions
and
6 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 |
---|---|---|
@@ -1,6 +1,59 @@ | ||
| Metric | definition | source | example | detailed explanation | | ||
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | ||
| osmbuildingsgappercent | This metric is based on H3: Hexagonal Hierarchical Spatial Index. This metric shows the percentage of populated h3 hexagons at 8 resolution (population > 0) for which there are no buildings in the OSM dataset | populated_area_km2,<br>building_count | {name:"percentageXWhereNoY", id:"osmBuildingGapsPercentage", x:"populated_area_km2", y:"building_count"} | detailed information about the indicators used can be taken from the "indicators" sheet | | ||
| antiqueosmbuildingpercent | This metric is based on H3: Hexagonal Hierarchical Spatial Index. This metric shows the percentage of populated h3 hexagons at 8 resolution (population > 0) for which there are no buildings in the OSM dataset that have been modified or created in the last 6 months | populated_area_km2,<br>building_count_6_months | {name:"percentageXWhereNoY", id:"antiqueOsmBuildingsPercentage", x:"populated_area_km2", y:"building_count_6_months"} | detailed information about the indicators used can be taken from the "indicators" sheet | | ||
| osmroadsgappercent | This metric is based on H3: Hexagonal Hierarchical Spatial Index. This metric shows the percentage of populated h3 hexagons at 8 resolution (population > 0) for which there are no highways in the OSM dataset | populated_area_km2,<br>highway_length | {name:"percentageXWhereNoY", id:"osmRoadGapsPercentage", x:"populated_area_km2", y:"highway_length"} | detailed information about the indicators used can be taken from the "indicators" sheet | | ||
| antiqueosmroadspercent | This metric is based on H3: Hexagonal Hierarchical Spatial Index. This metric shows the percentage of populated h3 hexagons at 8 resolution (population > 0) for which there are no highways in the OSM dataset that have been modified or created in the last 6 months | populated_area_km2,<br>highway_length_6_months | {name:"percentageXWhereNoY", id:"antiqueOsmRoadsPercentage", x:"populated_area_km2", y:"highway_length_6_months"} | detailed information about the indicators used can be taken from the "indicators" sheet | | ||
### Definitions | ||
|
||
- **Metrics**: Derived information based on indicators used to make statements or evaluate certain conditions (e.g., completeness, freshness, etc.). These allow for high-level assessments. | ||
- **Indicators**: Actual count or raw data used in calculations to produce metrics (e.g., building counts, road lengths, highway lengths, etc.). | ||
|
||
### Calculated Metrics | ||
|
||
1. **osm_building_completeness_percentage**: | ||
- **Definition**: Percentage of buildings in the OSM dataset compared to an AI-estimated building count. | ||
- **Formula**: | ||
```python | ||
combined_data["osm_building_completeness_percentage"] = ( | ||
100 | ||
if combined_data["osmBuildingsCount"] == 0 | ||
and combined_data["aiBuildingsCountEstimation"] == 0 | ||
else ( | ||
combined_data["osmBuildingsCount"] | ||
/ combined_data["aiBuildingsCountEstimation"] | ||
) * 100 | ||
) | ||
``` | ||
- **Indicators**: `osmBuildingsCount`, `aiBuildingsCountEstimation` | ||
|
||
2. **osm_roads_completeness_percentage**: | ||
- **Definition**: Percentage of highways in the OSM dataset compared to AI-estimated highway length. | ||
- **Formula**: | ||
```python | ||
combined_data["osm_roads_completeness_percentage"] = ( | ||
100 | ||
if combined_data["highway_length"] == 0 | ||
and combined_data["aiRoadCountEstimation"] == 0 | ||
else ( | ||
combined_data["highway_length"] | ||
/ combined_data["aiRoadCountEstimation"] | ||
) * 100 | ||
) | ||
``` | ||
- **Indicators**: `highway_length`, `aiRoadCountEstimation` | ||
|
||
3. **osm_building_recency_percentage (last 6 months)**: | ||
- **Definition**: Percentage of buildings in OSM that have been modified or created in the last 6 months. | ||
- **Formula**: | ||
```python | ||
osm_building_recency_percentage = ( | ||
osm_building_count_6_months / osm_building_count | ||
) * 100 | ||
``` | ||
- **Indicators**: `osm_building_count_6_months`, `osm_building_count` | ||
|
||
4. **osm_road_recency_percentage (last 6 months)**: | ||
- **Definition**: Percentage of highways in OSM that have been modified or created in the last 6 months. | ||
- **Formula**: | ||
```python | ||
osm_road_recency_percentage = round( | ||
(osm_highway_length_6_months / osm_highway_length) * 100 | ||
) | ||
``` | ||
- **Indicators**: `osm_highway_length_6_months`, `osm_highway_length` | ||
|