Skip to content

Commit

Permalink
Updated Filling Osm Buildings Data Gaps In Lebanon
Browse files Browse the repository at this point in the history
  • Loading branch information
Claurt07 authored and Siteleaf committed Jan 8, 2025
1 parent f006f32 commit 4ac0b3a
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions _drafts/filling-osm-buildings-data-gaps-in-lebanon.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The first district completed in the update was Marjayoun, in southeast Lebanon.
<script>
const ctx = document.getElementById('buildingChart').getContext('2d');
const buildingChart = new Chart(ctx, {
type: 'bar',
type: 'horizontalBar', // Change to horizontalBar
data: {
labels: ['Microsoft ML Buildings', 'OSM, October 2024', 'OSM, January 2025'],
datasets: [
Expand Down Expand Up @@ -99,19 +99,10 @@ The first district completed in the update was Marjayoun, in southeast Lebanon.
},
scales: {
x: {
title: {
display: true,
text: 'Categories',
font: {
size: 14
}
}
},
y: {
beginAtZero: true,
title: {
display: true,
text: 'Number of Buildings',
text: 'Number of Buildings', // Keep this title for the x-axis
font: {
size: 14
}
Expand All @@ -121,6 +112,14 @@ The first district completed in the update was Marjayoun, in southeast Lebanon.
return value.toLocaleString();
}
}
},
y: {
// Remove the title configuration for the y-axis
ticks: {
callback: function(value) {
return value; // Display the labels as they are
}
}
}
}
}
Expand All @@ -131,6 +130,8 @@ The first district completed in the update was Marjayoun, in southeast Lebanon.
</html>
<br>

<br>

The comparison below between Microsoft ML buildings and OSM buildings (post update in this area) show OSM edits have better coverage and precision of buildings shapes.

![lebanon_comp.png](/uploads/lebanon_comp.png)
Expand Down

0 comments on commit 4ac0b3a

Please sign in to comment.