Skip to content

Commit

Permalink
feat: update readme and og images
Browse files Browse the repository at this point in the history
  • Loading branch information
JfrAziz committed May 31, 2024
1 parent 6d3a5ce commit 96a7ebf
Show file tree
Hide file tree
Showing 43 changed files with 1,155 additions and 6,263 deletions.
121 changes: 120 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,120 @@
# Grid
# Granular Socio-Economic Mapping

![prototype](./public/images/thumbnail.png)

Social economics is primarily concerned with the interplay between social processes and economic activity within a society. Social economics may attempt to explain how a particular social group or socioeconomic class behaves within a society, including their actions as consumers. According to BPS Statistics Indonesia, low socio-economic fulfillment indicates poverty. Thus, socioeconomic data is important to read market needs to maximize sales. On the other hand, this data is also needed to show the incidence of poverty. However, traditional data collecting implies that socioeconomic data is only presented at the district level and updated once a year. This research aims to develop the granular socio-economic mapping based on remote sensing and other geospatial big data and present it in the form of a website-based dashboard enriched by insight into consumer behavior modeling and consumer behavior geographical factor analysis. This approach allows for presenting more granular socioeconomic data in terms of coverage and time at a cheaper cost and faster rate. To overcome this, we integrate multisource remote sensing satellite imagery and other geospatial big data by implementing artificial intelligence-machine learning and statistical analysis. The novelty of this research is the innovative advancement of remote sensing technology to improve market business strategy and poverty alleviation insights at the same time.​

This research aims to **integrate the potential of multisource remote sensing and other geospatial big data to predict the socio-economic conditions of granular areas**​. The main objective is then broken down into the following sub-objectives:​

1. **What socioeconomic conditions exist in each granular area?** we developed Granular socio-economic mapping with machine learning modelling and 1 km granular socio-economic mapping as the output.​
2. **What is consumer behaviour in certain area?** we developed consumer behaviour modeling with the mapping as the output.​
3. **What are the specific geospatial factors that contribute to the differences in socio-economic conditions across areas?** we analysed consumer behaviour geographical factor ​
4. **How to present insights for decision making and commercial needs?** we developed Website-based dashboard for non-technical users.

## Multisource Remote Sensing and Other Geospatial Big Data Approach​

We focus on three socioeconomic dimensions those are: economic activity, education, and health. The multisource remote sensing and other geospatial big data that we used are listed below.​

| Dimension | Data | Description | Data Source | Spatial Resolution | Temporal Resolution | Data Preprocessing |
| ----------------- | ----------------------------------------------- | ---------------------------------------------------------------- | ------------- | ------------------ | ------------------- | --------------------------------------------------------------------------------------- |
| Economic Activity | Night Time Light Intensity (NTL) | Detection of economic activity | NOAA-VIIRS | 500 m | 1 month | Median Reducing > Zonal Statistics |
| | Built-Up Index (BUI) | Urban areas detection based on building distribution | Sentinel-2 | 10 m | 5 days | Cloud Selection > Cloud Masking > Band Compositing > Median Reducing > Zonal Statistics |
| | Normalized Difference Vegetation Index (NDVI) | Detection of rural areas based on vegetation density | Sentinel-2 | 10 m | 5 days | Cloud Selection > Cloud Masking > Band Compositing > Median Reducing > Zonal Statistics |
| | Digital Elevation Model (DEM) | Detection of physical condition of the area | SRTM | 30 m | - | Median Reducing > Zonal Statistics |
| | Land Surface Temperature (LST) | Urban areas detection based on surface temperature distribution | MODIS-Terra | 1000 m | 4 days | Cloud Selection > Cloud Masking > Median Reducing > Zonal Statistics |
| | Carbon Monoxide (CO) and Nitrogen Dioxide (NO2) | Economic activity detection based on the pollution | Sentinel-5P | 1113 m | < 1 day | Median Reducing > Zonal Statistics |
| | Market Point of Interest (POI) | Accessibility and density to economic activity point of interest | OpenStreetMap | - | - | Google Maps Geospatial Location Scrapping > Distance and Density Calculation |
| Health | Healthcare Point of Interest (POI) | Accessibility and density to healthcare facilities | OpenStreetMap | - | - | Google Maps Geospatial Location Scrapping > Distance and Density Calculation |
| Education | Education Point of Interest (POI) | Accessibility and density to education facilities | OpenStreetMap | - | - | Google Maps Geospatial Location Scrapping > Distance and Density Calculation |


## Results

### Granular socio-economic mapping

Our research is capable of mapping socio-economic conditions at a granular level of 1 km. ​This result was obtained from machine learning-based modeling with the following description. ​

1. Expenditure visualizations are displayed in 7 zones, from the highest expenditure zone to the lowest expenditure zone. Also, it can display information such as distance to the nearest school, distance to the nearest healthcare facility, vegetation condition, topography, urban, and pollution. ​
2. In general, the mapping patterns of food and non-food expenditure are similar, though with distinct details.​
3. The northern and central of West Java regions tend to be more promising areas. Meanwhile, the southern of West Java region requires government attention.​

![granular mapping](./public/images/analysis-2.png)

### Consumer Behaviour Modelling

To know consumer behaviour, we developed consumer behaviour modeling utilizing artificial Intelligence - Machine Learning Clustering ​

![Cluster](./public/images/analysis-3.png)

We found that consumer behavior according to socioeconomic conditions can be clustered into four groups:

1. Cluster 1

NonFood Expenditure > Food Expenditure

Well-Fulfilled Education, Health, and Economic Needs

2. Cluster 2

NonFood Expenditure > Food Expenditure

Relatively Fulfilled Education, Health, and Economic Needs

3. Cluster 3

Food Expenditure > NonFood Expenditure

Relatively Fulfilled Education, Health, and Economic Needs

4. Cluster 4

Food Expenditure > NonFood Expenditure

Relatively Underfulfilled Education, Health, and Economic Needs


Then, according to its geographical factors can be clustered into three groups:

1. Cluster 1

NonFood Expenditure > Food Expenditure

Highest urbanization and pollution Lowest vegetation

2. Cluster 2

NonFood Expenditure > Food Expenditure

Higher vegetation, Lower urbanization and pollution
3. Cluster 3

Food Expenditure > NonFood Expenditure

Higher vegetation, Lower urbanization and pollution


## Website Development

### Development

This prototype built with Single Page Application (SPA) arcticheture, **no server, no dynamic data, and only serve static files**, using some libraries:

1. [react](https://react.dev/)
2. [maplibre](https://maplibre.org/)
3. [react-map-gl](https://visgl.github.io/react-map-gl/)
4. [deck.gl](https://deck.gl/)
5. [parquet-wasm](https://github.com/kylebarron/parquet-wasm)

To run this project, just

1. clone the project
2. `pnpm install`
3. `pnpm run start`

### Challange

The challange to create this website is to serve big geospatial dataset (granular mapping grid 1kmx1km). This data can be big if we are using standard format like geojson, geopackage, or geobuff, so we compress the data with parquet and directly visualize the data with deck.gl, a highly performant large-scale data visualizations. with this method, we can save up to 50% file size.

### Basemaps

Basemap in this project is from modified version from cartodb positron and esri satellite in [mapbox style](https://docs.mapbox.com/style-spec/guides/).
18 changes: 16 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Granular Socio-Economic Mapping: West Java</title>
<title>Granular Socio-Economic Mapping: West Java Study Case</title>
<meta name="description"
content="Improving Market Business Strategy and Poverty Alleviation Through Granular Socio-Economic Mapping: Multisource Remote Sensing and Other Geospatial Big Data Approach" />
content="Improving Market Business Strategy and Poverty Alleviation Through Granular Socio-Economic Mapping: Multisource Remote Sensing and Other Geospatial Big Data Approach" />
</head>

<meta property="og:title" content="Granular Socio-Economic Mapping: West Java Study Case" />
<meta property="og:description"
content="Improving Market Business Strategy and Poverty Alleviation Through Granular Socio-Economic Mapping: Multisource Remote Sensing and Other Geospatial Big Data Approach" />
<meta property="og:image" content="https://jabar.pages.dev/images/thumbnail.png" />
<meta property="og:url" content="https://jabar.pages.dev" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@jfrAziz" />
<meta name="twitter:image" content="https://jabar.pages.dev/images/thumbnail.png" />
<meta property="twitter:title" content="Granular Socio-Economic Mapping: West Java Study Case" />
<meta property="twitter:description"
content="Improving Market Business Strategy and Poverty Alleviation Through Granular Socio-Economic Mapping: Multisource Remote Sensing and Other Geospatial Big Data Approach" />

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"@deck.gl/core": "^9.0.16",
"@deck.gl/layers": "^9.0.16",
"@deck.gl/mapbox": "^9.0.16",
"@deck.gl/react": "^9.0.16",
"@deck.gl/core": "^9.0.17",
"@deck.gl/layers": "^9.0.17",
"@deck.gl/mapbox": "^9.0.17",
"@deck.gl/react": "^9.0.17",
"@fontsource-variable/jetbrains-mono": "^5.0.21",
"@fontsource-variable/plus-jakarta-sans": "^5.0.21",
"@nivo/radar": "^0.87.0",
Expand Down Expand Up @@ -43,14 +43,14 @@
"devDependencies": {
"@biomejs/biome": "1.7.3",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.12.12",
"@types/node": "^20.13.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
"vite": "^5.2.11"
"vite": "^5.2.12"
}
}
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added public/images/analysis-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/analysis-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/analysis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 96a7ebf

Please sign in to comment.