Overview
An interactive web map that evaluates 898,800 parcels across 25 districts of Seoul on feasibility relative to the officially assessed land price, and lets users adjust the parameters themselves to explore candidate sites for rental dormitories. It started as an analysis of Seongbuk-gu alone and was expanded to all of Seoul.
Web map: cho-woojin.github.io/dormitory-site-selection (Korean) GitHub: github.com/Cho-Woojin/dormitory-site-selection
Details
- Period: 26.08 - 26.09
- Role: Data Analysis and Algorithm Development
- Status: Completed
Problem
Choosing sites for rental dormitories is not a simple ranking problem. Highly feasible parcels cluster on the outskirts, land near stations is expensive, and open parcels get good sunlight but have low density. In fact, the correlation between yield and sunlight openness was weak (r = -0.16), so each indicator carried independent information. (The median yield of grade A parcels near stations was 3.23% versus 3.65% for grade E, a reversal where yield rises as station access gets worse.)
Core Algorithm: Tiered Ranking with Tolerance Ranges
Instead of a weighted sum, I designed a three-step tiered ranking algorithm in which users set the priority between indicators and the "tolerance range" within which parcels count as equal.
- Priority 1, feasibility: parcels within the tolerance range (tol₁) are treated as equal
- Priority 2, sunlight: parcels within the tolerance range (tol₂) are treated as equal
- Priority 3, station access grade: ties are finally sorted by the raw feasibility value
Because the tolerance range itself is an adjustable parameter, results change smoothly: tol₁ = 0 gives a pure feasibility ranking, while tol₁ = 20 makes feasibility almost irrelevant.
Indicators
- S₁ feasibility index: total project cost from land cost (assessed price × area × transaction multiplier) plus construction and demolition costs, with NOI divided by net investment after deposits are treated as interest-free funding. It reflects the floor area ratios and temporary relaxations in the Seoul urban planning ordinance, and a parcel realization factor (from square to flag-shaped lots, from flat to steep)
- S₂ sunlight index: the openness index from the maximum elevation angle in each 15° sector south of the parcel, based on the winter solstice noon sun altitude (28.97°), with a bonus for sides facing a road
- S₃ station access grade: five grades from A to E by straight-line distance to the nearest station, with thresholds at 250 m, 500 m, 750 m, and 1 km (adjustable on the web)
Expanding to All of Seoul: Filtering Results
| Step | Parcels | Share |
|---|---|---|
| All | 898,800 | 100% |
| Eligible land category | 667,954 | 74.3% |
| Multi-family housing allowed | 649,612 | 72.3% |
| Eligible land use | 590,953 | 65.7% |
| Eligible road frontage and land price | 495,445 | 55.1% |
| Final candidates (20+ rooms) | 105,293 | 11.7% |
Room counts use the maximum basis (net-to-gross ratio of 0.57), where only the legally required shared space is kept and the rest becomes rooms. The 20-room filter alone removes 79% of the remaining parcels, which shows the character of Seoul's low-rise residential areas. By district, Gangnam-gu had the most candidates (11,337) but the lowest yield (1.85%), while Geumcheon-gu had 3,520 candidates and the highest yield (4.27%), a wide gap between districts.
Rent Index
A rent index for each legal neighborhood was calculated from 1.07 million actual lease transactions to normalize rent differences between districts (Seongbuk-gu = 1.00, range 0.51 to 2.12). In Yeongdeungpo-gu, top candidates concentrated in the semi-industrial zones of Dangsan-dong and Yangpyeong-dong (a synergy of 400% floor area ratio and a rent index of 1.33), and in Seongdong-gu, the semi-industrial zone of Seongsu-dong accounted for 47% of all candidates.
Parcel Merging and Hub Network
Selecting adjacent parcels on the map merges them and recalculates the indicators in real time. Merging turned 33,584 parcels that had failed on size into candidates, but yields improved only slightly (median +0.12 percentage points). Its value lies more in securing shared community space for a hub model. The hub network, which groups several parcels into one project, is selected automatically with a minimum spacing constraint (1,000 m by default) rather than simply listing the top ranks.
Tech Stack
I built the spatial analysis pipeline in Python (GeoPandas), stored only normalized raw indicator values, and designed the browser (JavaScript) to calculate final scores in real time. As the data grew with the Seoul-wide expansion, I switched the numeric data from JSON to a binary format (scoring.bin, 23.6 MB), cutting parsing cost to nearly zero, and split the vector tiles into three files (75/75/81 MB) to stay under GitHub's 100 MB limit while fetching only the needed tiles with Range requests. The map renders with MapLibre GL JS without tokens or API keys and is deployed fully static on GitHub Pages.
Verification
In Python (07_verify_tiles.py), I check tile presence, join integrity, and the order of the top 200 in the tiered ranking for 481,335 eligible parcels. In JavaScript (verify_ui.mjs), I verify not only that the JS and Python engines produce the same ranking, but also merged shape accuracy (relative error ≤ 2%), hub spacing, 32 layout combinations (8 states × 4 screen widths), and the boot budget (within 600 ms). If any check fails, deployment is blocked.
Limitations and Status
The sunlight analysis reflects only geometric shading and does not include legal setback review, and 21.6% of buildings lack height or floor data, so their values were estimated from floor area. Some inputs such as unit construction cost, net-to-gross ratio, and vacancy rate are still assumptions, so the results cannot be used for actual investment decisions (the site shows an "includes assumptions" badge at the top). Remaining work includes the mandatory non-residential share in commercial zones, the floor limit in Type 1 general residential zones, and the Dongbuk light rail line scheduled to open in 2027.