Article 18 of Turkish Zoning Law No. 3194: A Web-Based 3D Parcelling and DOP Calculation Algorithm
Survey Engineering Consultant & YSN Team • • 8 min read
Our WebGL- and PostGIS-based approach to parcelling zoning blocks in the browser and visualizing the land readjustment contribution share (DOP) calculation in 3D, without being tied to desktop CAD programs.
The engineering problem
In conventional land readjustment practice, the calculation of the DOP (land readjustment contribution share) is mostly done with Excel and old CAD plug-ins; rounding and data transfer errors can later become the subject of objections.
The YSNSOFT solution
In HaritaPlan, the DOP rate is calculated from the cadastral parcels and the areas ceded for public use, and the allocation results are instantly visualized in 3D. The calculation results must be checked by a survey engineer before any official procedure.
Code excerpt
// HaritaPlan DOP Calculation Kernel
export function calculateDOP(kadastroParseller: KadastroParcel[], kamuTerkAlan: number): DOPResult {
const toplamKadastroAlani = kadastroParseller.reduce((acc, p) => acc + p.alan, 0);
const dopOrani = kamuTerkAlan / toplamKadastroAlani;
if (dopOrani > 0.45) {
throw new Error("DOP oranı yasal %45 tavan sınırını aşıyor (3194 Md. 18)");
}
return { dopOrani, tahsisCetveli: kadastroParseller.map(p => ({ ...p, imarTahsis: p.alan * (1 - dopOrani) })) };
}- #WebGL
- #Three.js
- #PostGIS
- #Computational Geometry
- #HaritaPlan
Related project: HaritaPlan / GeoPlan