Drone Ortofotosu ve DEM'den Arazi Modeli, Şev ve Yol
Drone uçuşundan bir ortofoto (çoğunlukla ECW) ve bir yükseklik modeli (DEM, GeoTIFF) geldi. Ağaçları temizlemek, şev üstü ve altını, yolları çizmek, münhani ve AutoCAD için DXF almak istiyorsunuz. Bu rehber, bunu CTK Survey ile tarayıcıda adım adım anlatıyor. Dosyalar bilgisayarınızdan çıkmaz. Görüntüler gerçek bir drone işinden: yaklaşık 21 hektar, 10 cm ortofoto, 5,7 cm DEM.
Ne Gerekiyor?
DEM (GeoTIFF): drone yazılımının (Pix4D, Agisoft Metashape, DJI Terra…) verdiği yükseklik modeli. Drone ağaçların, yapıların ve araçların üstünü ölçer; bu yüzden gelen DEM aslında bir yüzey modelidir (DSM). Zemin modeline (DTM) aşağıdaki temizleme adımıyla geçilir.
Ortofoto: GeoTIFF ise doğrudan açılır. ECW tarayıcıda açılmaz; önce ECW okuyabilen bir programda (Netcad, QGIS, Global Mapper gibi) GeoTIFF olarak kaydedin (adımlar).
Büyük dosyalar: ücretsiz CTK Raster Çevirici (Windows) ortofotoyu 10 cm'ye indirir, boş kenarlarını saydam yapar, DEM'i sıkıştırır: yüzlerce MB'lık dosya birkaç MB olur ve tarayıcıda hızlı açılır. Şart değil ama önerilir.
Koordinat sistemi: metre cinsinden projeksiyonlu bir sistem (TUREF TM, ITRF96 3°, UTM…). GeoTIFF bunu içinde taşır; araç sistemi kendisi seçer. Ortofoto yalnız görüntü ve yeşillik içindir; ölçü DEM'den gelir.
ReklamAdvertisement
1. Dosyaları Açın
Dosya → DEM / Ortofoto ile iki dosyayı birlikte seçin ya da önizlemeye sürükleyin. Sağda Drone yüzeyi bölümü açılır: dosyaların boyutu, piksel boyu, kot aralığı ve koordinat sistemi yazar. Büyük ortofoto karo karo yüklenir; yakınlaştıkça asıl çözünürlüğe geçer.
Ortofoto ve DEM birlikte açıldı. Koordinat sistemi (TUREF / TM36) dosyadan okundu; mozaiğin boş kenarları saydam.
2. Ağaçları ve Yapıları Temizleyin (DSM → DTM)
Ağaçları ve yapıları temizle bloğunda Temizle'ye basın. Araç önce ortofotodaki yeşil alanları bitki olarak ayırır, sonra çevresinden belirgin yükselen yerleri (yapı, araç, yeşil olmayan ağaç) zemin süzgeciyle bulur. Ayrılan yerler komşu zeminden doldurulur. Yaklaşık 21 hektarlık alan bir iki saniyede temizlendi.
Gölgeli kabartma. Solda DSM: ağaçlar tepecik gibi duruyor. Sağda DTM: ağaçlar gitti, yol ve şev kenarları korundu.
Temizlenen yerler kutusunu işaretlerseniz ortofotonun üstünde neyin ayıklandığını görürsünüz: yeşil bitki, turuncu diğer nesneler.
Süzgeç ayarları:Eğim arazinin olağan eğimidir (0,35 = %35); dik arazide büyütün, yoksa sırtlar da nesne sanılır. En büyük nesne temizlenecek en geniş yapı ya da ağaç kümesidir. Yükseklik eşiği, zeminden bu kadar yüksek olanın nesne sayılmasıdır.
Geri al: sonuç beğenilmezse Geri al bir önceki temizlemeye, ayarlarıyla birlikte döner; en sonunda temizlenmemiş DSM'e.
DTM'i saklamak:DTM'i GeoTIFF indir temizlenmiş zemini GeoTIFF olarak verir; QGIS, Global Mapper ya da Civil 3D'de açılır.
Sık ormanda dikkat: drone ağaç altındaki zemini görmez; oradaki DTM komşu zeminden tahmindir. Önemli yerleri arazide ölçün.
3. Şevleri Bulun
Şevleri bul bloğunda en az eğimi ve en az yüksekliği verin. Seçilen eğimden dik yerler şev sayılır: üst kenarı şev üstü (kırmızı), alt kenarı şev altı (mavi) olarak 3D polyline çizilir, arası uzun-kısa taranır.
Şev (yatay : düşey)
Eğim
Nerede
1 : 1
45°
Kayada, sağlam zeminde yarma
3 : 2 (1,5 : 1)
33,7°
Dolgu, toprak yarma
2 : 1
26,6°
Yumuşak zemin, yüksek dolgu
35° üstü ve 1 m'den yüksek şevler. Kırmızı şev üstü, mavi şev altı; tarama şev üstünden şev altına en kısa yoldan, bir uzun bir kısa.
Önce ağaçları temizleyin: temizlenmemiş yüzeyde ağaç ve yapı kenarları da şev çıkar. Araç, temizlenen alana düşen kısa parçaları kendisi atlar.
Doğal yamaç seçtiğiniz eğimden dikse o da şev çıkar; o zaman eğimi büyütün ya da en az yüksekliği artırın.
DXF'te şev üstü CTK-CIZGI-SEVUST, şev altı CTK-CIZGI-SEVALT, tarama şev tarama katmanında.
4. Yolları Bulun
Yolları bul, ortofotoda çevresinden açık renkli ve bitkisiz, yüzeyde düz ve az eğimli şeritleri yol sayar. Her yolun ekseni ve iki kenarı 3D polyline olarak çizimlere eklenir (CTK-YOL-EKSEN, CTK-YOL-KENAR). Kenarlar enine kesitte yolun açık renginin bittiği ya da şevin başladığı yerdir; eksen iki kenarın ortasındadır.
Bulunan yollar: kırmızı eksen, sarı kenarlar. Sağ altta ve ortada birkaç kısa parça yanlış; bunlar tek tıkla silinir.
Patika, ağaçlandırma terası ya da açık toprak da yol sanılabilir. Yanlış olanları Çizim sekmesindeki Çizim sil ile silin; Geri al hepsini bir adımda geri alır.
3,5 m'den dar patikalar ve ağaç altında kalan yol parçaları bulunmaz; yol orada kesilir. Eksik yerleri çizim araçlarıyla tamamlayın.
Az yol çıkarsa Ayrıntılı ayarlar'da en çok eğimi ve kıvrım sınırını büyütün.
5. 3B'de Bakın
Önizlemenin köşesindeki 3B düğmesi DEM'i ortofotoyla kaplı olarak gösterir. Düşey abartı'yı 2× ya da 3× yapınca şevler ve basamaklar belirginleşir. Yüzey listesinden DSM ile DTM arasında geçebilirsiniz.
3B görünüm, düşey abartı 2×. Gri yerler ortofotonun boş kalan kısımları.
6. Noktalara Çevirin, Münhani ve DXF Alın
Noktalara çevir seçili yüzeyden (DTM) düzenli aralıklı kotlu noktalar üretir; araç alanın büyüklüğüne göre bir aralık önerir (bu işte 5 m). Şevleri bulduysanız şev üstü ve şev altı çizgileri de SEVUST1, SEVALT1… kodlu noktalar olarak eklenir: üçgen model bu çizgileri kesmez (kırıklık çizgisi), münhaniler şev kenarında doğru kırılır, tarama kendiliğinden gelir.
DTM'den 5 m aralıkla noktalar ve şev çizgileri; 1 m münhani, her 5 çizgide bir ana münhani. Münhaniler şev üstü ve altında kırılıyor.
Bundan sonrası olağan nokta dosyası gibidir: münhani ayarları, üçgen silme (tek tek ya da Alanla seç ile sürükleyerek), kenar döndürme. Ayrıntılar Nokta dosyasından arazi modeli rehberinde.
Çıktı
İçinde ne var
DXF (Dosya → DXF)
Noktalar, 3DFACE üçgen model, münhaniler, şev üstü / altı ve tarama, yol ekseni ve kenarları, önizlemede çizdikleriniz; her biri kendi katmanında. Nokta dosyası açık değilken de bulunan şevler ve çizimler DXF'e alınabilir.
LandXML (Dosya → LandXML)
Civil 3D için TIN yüzey
DTM GeoTIFF
Temizlenmiş zemin, raster olarak
Proje (Dosya → Proje)
Noktalar, ayarlar ve çizimler. DEM ve ortofoto proje dosyasına girmez; projeyi yeniden açınca onları da açın.
7. Ortofoto Üstünde Çizim
Çizim sekmesindeki araçlarla ortofotonun üstünde çizebilirsiniz. Kot, imlecin altındaki DEM'den okunur: 3D polyline her köşede kendi kotunu alır. Böylece bulunamayan bir yol kenarını, bir hendeği ya da istinat duvarını kotlu olarak sayısallaştırırsınız. Nokta eklerken de kot yüzeyden gelir.
Terrain Model, Slopes and Roads from a Drone Orthophoto and DEM
A drone flight gave you an orthophoto (often ECW) and an elevation model (DEM, GeoTIFF). You want to remove the trees, draw slope tops, toes and roads, and get contours and a DXF for AutoCAD. This guide shows how, step by step, with CTK Survey in the browser. Your files never leave your computer. The pictures come from a real drone job: about 21 hectares, 10 cm orthophoto, 5.7 cm DEM.
What You Need
DEM (GeoTIFF): the elevation model from your drone software (Pix4D, Agisoft Metashape, DJI Terra…). A drone measures the tops of trees, buildings and vehicles, so this DEM is really a surface model (DSM). The cleaning step below turns it into a terrain model (DTM).
Orthophoto: a GeoTIFF opens directly. ECW does not open in the browser; first save it as GeoTIFF in a program that reads ECW (Netcad, QGIS, Global Mapper…) (steps).
Large files: the free CTK Raster Converter (Windows) resamples the orthophoto to 10 cm, makes its empty edges transparent and compresses the DEM: files of hundreds of MB shrink to a few MB and open fast in the browser. Optional, but recommended.
Coordinate system: a projected system in metres (TUREF TM, ITRF96 3°, UTM…). A GeoTIFF carries it inside and the tool picks it up. The orthophoto is only for the picture and the greenness; measurements come from the DEM.
ReklamAdvertisement
1. Open the Files
Pick both files with File → DEM / Ortho or drop them on the preview. The Drone surface section opens on the right with the size, pixel size, elevation range and coordinate system of each file. A large orthophoto loads tile by tile and sharpens as you zoom in.
Orthophoto and DEM opened together. The coordinate system (TUREF / TM36) was read from the file; empty edges of the mosaic are transparent.
2. Remove Trees and Buildings (DSM → DTM)
In the Remove trees and buildings block press Clean. The tool first takes the green areas of the orthophoto as vegetation, then a ground filter finds anything that rises sharply above its surroundings (buildings, vehicles, non-green trees). Those places are filled from the nearby ground. This 21-hectare area was cleaned in a second or two.
Shaded relief. Left, the DSM: trees stand out as bumps. Right, the DTM: the trees are gone, road and slope edges are kept.
Tick Removed areas to see on the orthophoto what was taken out: green for vegetation, orange for other objects.
Removed areas. Green: vegetation from the orthophoto; orange: other objects found by the ground filter.
Filter settings:Slope is the usual terrain slope (0.35 = 35%); raise it on steep ground or ridges will be taken for objects. Largest object is the widest building or tree group to remove. Height threshold: anything this much above the ground counts as an object.
Undo: if you do not like the result, Undo goes back to the previous cleaning with its settings, and finally to the uncleaned DSM.
Keeping the DTM:Download the DTM as GeoTIFF gives you the cleaned ground as a raster for QGIS, Global Mapper or Civil 3D.
Dense forest: a drone cannot see the ground under trees; the DTM there is estimated from the nearby ground. Survey important places on site.
3. Find the Slopes
In Find slopes set the minimum slope and minimum height. Places steeper than the slope count as slopes: the top edge is drawn as the slope top (red), the bottom edge as the slope toe (blue), both 3D polylines, with long-and-short hatching in between.
Slope (H : V)
Angle
Typical use
1 : 1
45°
Cuts in rock or firm ground
3 : 2 (1.5 : 1)
33.7°
Fills, cuts in soil
2 : 1
26.6°
Soft ground, high fills
Slopes steeper than 35° and higher than 1 m. Red top, blue toe; hatching runs from the top to the nearest point on the toe, long and short in turn.
Clean the trees first: on an uncleaned surface, tree and building edges come out as slopes too. The tool skips short pieces that fall on removed areas.
If the natural hillside is steeper than your slope, it comes out too; raise the slope or the minimum height.
In the DXF the tops go to CTK-CIZGI-SEVUST, the toes to CTK-CIZGI-SEVALT, the hatching to the slope hatch layer.
4. Find the Roads
Find roads takes strips that are lighter than their surroundings and free of vegetation on the orthophoto, and flat and gently sloping on the surface, as roads. Each road's centreline and both edges are added to the drawings as 3D polylines (CTK-YOL-EKSEN, CTK-YOL-KENAR). The edges are where the light road surface ends or a slope starts across the road; the centreline lies midway between them.
Roads found: red centrelines, yellow edges. A few short pieces in the middle and bottom right are wrong; each goes with one click.
Paths, afforestation terraces or bare soil may be taken for roads. Delete the wrong ones with Delete a drawing on the Draw tab; Undo takes them all back in one step.
Paths narrower than 3.5 m and road stretches under trees are not found; the road breaks there. Complete them with the drawing tools.
If too few roads come out, raise the grade and bend limits under More settings.
5. Look at It in 3D
The 3D button in the preview's corner shows the DEM with the orthophoto draped over it. Set Vertical exaggeration to 2× or 3× to bring out slopes and benches. Switch between DSM and DTM in the Surface list.
3D view, vertical exaggeration 2×. Grey patches are the empty parts of the orthophoto.
6. Convert to Points, Get Contours and a DXF
Convert to points takes points at a regular spacing from the chosen surface (the DTM); the tool suggests a spacing from the size of the area (5 m here). If you found slopes, their tops and toes are added as points coded SEVUST1, SEVALT1…: the triangle model does not cross them (breaklines), contours break correctly along the slope edges, and the hatching comes along by itself.
Points at 5 m from the DTM plus the slope lines; 1 m contours, an index contour every 5 lines. The contours break at the slope tops and toes.
From here it works like any point file: contour settings, deleting triangles (one by one or by dragging with Select by area), flipping edges. See the Terrain model from a point file guide.
Output
What is in it
DXF (File → DXF)
Points, 3DFACE triangle model, contours, slope tops / toes and hatching, road centrelines and edges, your own drawings; each on its own layer. The found slopes and drawings can go into a DXF even with no point file open.
LandXML (File → LandXML)
TIN surface for Civil 3D
DTM GeoTIFF
The cleaned ground as a raster
Project (File → Project)
Points, settings and drawings. The DEM and orthophoto are not stored in the project file; open them again with the project.
7. Drawing on the Orthophoto
Use the tools on the Draw tab to draw on the orthophoto. The elevation is read from the DEM under the cursor: a 3D polyline takes each vertex's own elevation. This way you can digitise a road edge that was not found, a ditch or a retaining wall with levels. Added points take their elevation from the surface too.
ReklamAdvertisement
Common Problems
Symptom
Cause
Fix
ECW does not open
Browsers cannot read ECW
Save it as GeoTIFF from Netcad or QGIS
The file opens very slowly
A very large GeoTIFF without overviews
Slim it down with CTK Raster Converter
"Coordinates are in degrees"
The file is in latitude / longitude
Export it in a projected system (TM, UTM)
DEM and orthophoto do not overlap
Different coordinate systems or areas
Export both in the same system
Ridges and road edges were removed too
Filter slope too low for the terrain
Undo, raise the slope, clean again
Tree remains are left
Non-green trees or bushes, or the threshold is high
Lower the height threshold
Many short slopes on a hillside
Slope threshold below the natural hillside
Raise the slope or the minimum height
No roads found
Narrow road, in shade, or same colour as around it
Widen the width range, raise the bend limit; draw the rest by hand
Bu rehberle ilgili sorularınız, düzeltmeleriniz ve deneyimleriniz için. Genel konular ve yeni sorular için Pano.For questions, corrections and experiences about this guide. For general topics and new questions, use the Board.