Skip to content
TerraTraceTerraTrace Open LiDAR · DTM

Guides / In actionKnown strongholds, real output

TerraTrace on
known strongholds.

A detector is easy to show off on the places it learned from. This page does the opposite: it runs the detector TerraTrace uses in production on registered strongholds that were kept out of its training, and shows exactly what came back.

Every box, confidence and count below is the model's own output, not a summary of it.

Updated
11 October 2026
Reading time
8 min
On this page08
  1. 01How the test was set up
  2. 02Results at a glance
  3. 03Ostrów Lednicki
  4. 04Tum near Łęczyca
  5. 05Międzyświeć
  6. 06Trzciel
  7. 07Czermno: a real production scan
  8. 08What this shows, and what it does not

How the test was set up

Before the detector was trained, a group of 17 annotated stronghold areas was set aside as a test set. None of the five models trained in cross-validation saw them, in training or in validation; we checked this against the file lists each of the five models was trained and scored on. The earthworks in these areas were outlined by hand when the data set was built, so we know where each stronghold is and can tell a hit from a miss.

The model is the one used in production scans: a YOLO11s detector, the fold with the best validation score in the five-fold test (mAP50 0.754). It ran with the same code and settings as a scan: confidence threshold 0.01, five light directions (315°, 45°, 135°, 225°, 337.5°), 1024-pixel tiles with a small overlap, and boxes from different light directions merged when they overlap by at least half.

Four of the 17 areas are shown below, each one a stronghold in the register of archaeological monuments kept by the National Heritage Board of Poland (NID). The fifth example, Czermno, is not from the test set: it is a full production scan of GUGiK data, the same kind a customer receives.

Results at a glance

Each test area covers about 1.1 × 1.2 km. “Rank” counts every box the model returned in the area down to confidence 0.01, which is what a reviewer's list contains before any filter.
StrongholdMunicipality, voivodeshipBox on the strongholdLight directionsRank in the area
Ostrów LednickiŁubowo, wielkopolskie0.835 of 51st of 7 boxes
TumGóra Świętej Małgorzaty, łódzkie0.905 of 51st of 4
MiędzyświećSkoczów, śląskie0.80 and 0.745 of 51st of 39
TrzcielTrzciel, lubuskie0.895 of 51st of 5
Czermno (production scan)Tyszowce, lubelskie0.89 and 0.825 of 5the four highest of 52 boxes

Across the test areas, not only the four shown: in 15 of them the best box on the annotated stronghold reached a confidence of 0.74 or more, in 12 it was found under all five light directions, and in 13 it was the most confident box of the whole area. At Międzyświeć the top box also lies on the stronghold, just off the drawn outline.

The model also returned 10 boxes with confidence 0.5 or more that do not match a drawn outline, spread over 7 of the 17 areas; one of them is the Międzyświeć box just mentioned. The others have not been checked in the field. Some fall on banks, roads and slopes; some may be real features nobody outlined. Their locations are not published here, because a box is a candidate, not a site.

Ostrów Lednicki

The largest of the five islands on Lake Lednica (gm. Łubowo, powiat gnieźnieński, wielkopolskie), one of the main strongholds of the early Piast state. Within its earthwork survive remains of a pre-Romanesque palace and chapel complex with baptismal basins and a separate church, built under Mieszko I shortly before 966. The island has been a Monument of History since 1994 (Wikipedia) and is in the register of archaeological monuments (NID: Ostrów Lednicki, decision 18/Wlkp/C of 10.11.2006; NID register).

Fig. 1TerraTrace · GUGiK data

Shaded relief of the Ostrów Lednicki island stronghold surrounded by blank water, with two orange detector boxes over the ring rampart
Ostrów Lednicki lit from 315°, about 550 × 365 m. The ring rampart is boxed with confidence 0.83, seen under all five light directions (0.73 to 0.83 depending on the light). The larger 0.62 box, found under two of the lights, is a second, looser box around the same stronghold.

The model returned 7 boxes for the whole area. Apart from the two on the stronghold, none reached 0.06. Two boxes on one stronghold are common. Here the lights did not agree on the extent: one group drew a tight box, two lights a looser one, and boxes that overlap by less than half are kept apart. Elsewhere (Tum, Czermno) the same stronghold is seen by two overlapping tiles. The review screen can hide such near-duplicates.

Tum near Łęczyca

The stronghold south-west of the village of Tum (gm. Góra Świętej Małgorzaty, powiat łęczycki, łódzkie) stood on a river island in the Bzura marshes. It was founded as a tribal stronghold at the end of the 8th century, rebuilt several times with ramparts up to 8 m high and used as a castellany seat until the first half of the 14th century; it was the original Łęczyca (Wikipedia). Register: Tum, site 1, decisions of 12.10.1946 and 11.06.1953 (NID register).

Fig. 2TerraTrace · GUGiK data

Shaded relief of the oval Tum stronghold with a double rampart, boxed twice by the detector with confidence 0.90 and 0.89
Tum lit from 315°, about 465 × 305 m. Two boxes, 0.90 and 0.89, both seen under all five light directions, from two overlapping tiles. The other two boxes in the area scored 0.04 and 0.01.

The same stronghold under three of the five lights. The boxes barely move and the confidence stays between 0.82 and 0.90: a clear, closed rampart reads the same from any direction. That is not the case for every site, as Trzciel shows below.

Fig. 3 · AZ 315°01 / 03

Shaded relief of the Tum stronghold lit from 315°, with the detector's boxes and their confidence under this light
Light from 315° (north-west): 0.87 and 0.87.TerraTrace · GUGiK data

Fig. 4 · AZ 045°02 / 03

Shaded relief of the Tum stronghold lit from 45°, with the detector's boxes and their confidence under this light
Light from 45° (north-east): 0.87 and 0.85.TerraTrace · GUGiK data

Fig. 5 · AZ 135°03 / 03

Shaded relief of the Tum stronghold lit from 135°, with the detector's boxes and their confidence under this light
Light from 135° (south-east): 0.86 and 0.82.TerraTrace · GUGiK data

Międzyświeć

An early medieval stronghold of the Golęszyce tribe at the place called Piekiełko, on a triangular spur about 60 m above the Bładnica valley (gm. Skoczów, powiat cieszyński, śląskie). It was occupied from the 7th to the end of the 9th century and was probably destroyed by the Great Moravian ruler Svatopluk; it was excavated in 1959–1963 (Wikipedia). Register: Międzyświeć, site 1, decisions of 04.11.1964 and 18.08.1981 (NID register).

Fig. 6TerraTrace · GUGiK data

Shaded relief of the Międzyświeć stronghold on a spur between a motorway and fields, with two orange boxes over its rampart
Międzyświeć lit from 315°, about 505 × 330 m. Two boxes on the stronghold: 0.80 over the northern rampart and slope, 0.74 over the interior and the southern side. The drawn outline sits between them.

This is the busiest of the five areas: 39 boxes in all, in hilly ground cut by a motorway and its embankments. Away from the stronghold the highest scored 0.37, the next 0.24, and the rest less. This is what a reviewer's list usually looks like: a few strong candidates at the top and a long tail of weak ones that a confidence filter removes.

Trzciel

A medieval stronghold on the right bank of the Obra at Trzciel (gm. Trzciel, powiat międzyrzecki, lubuskie): a cone-shaped mound on a sand dune, of the motte type, destroyed by fire (Wikipedia). Register: Trzciel, site 1, decision of 03.03.1966 and later ones (NID register).

Fig. 7TerraTrace · GUGiK data

Shaded relief of the Trzciel motte, a round mound inside ditches in wet ground, boxed by the detector with confidence 0.89
Trzciel lit from 315°, about 360 × 240 m. One box, 0.89, seen under all five light directions. The grey patches are water and wet ground with no ground points.

The light matters here. From 45°, 337.5°, 135° and 225° the mound scored 0.85 to 0.89. From 315°, the single direction most hillshades use, it scored 0.45. A scan with one light would still have caught it, but lower in the list. This is why TerraTrace looks at every tile five times and keeps the best of them.

Czermno: a real production scan

The stronghold at Czermno (gm. Tyszowce, powiat tomaszowski, lubelskie) has been identified with Czerwień, the centre of the Cherven Towns, a hypothesis first put forward by Zorian Dołęga Chodakowski. Czerwień is first mentioned in 981 and was destroyed in the Mongol invasion of 1240 (Wikipedia). Register: Czermno, site 1, decisions of 20.10.1967, 11.02.1988 and 08.02.2008 (NID register). It is not in the training data; the nearest training area is 67 km away.

This one was not run on a test image. On 08.10.2026 TerraTrace scanned an area of about 2 × 2 km around it exactly as for a customer: it downloaded nine survey sheets from GUGiK, built the terrain model, lit it from five directions and ran the detector. Of the 52 boxes it returned, the four most confident sit on the stronghold: 0.89 and 0.89, 0.82 and 0.82, all under five of five lights. The ring falls across a tile boundary, so one tile saw its western part (0.89) and the next its eastern part (0.82); each part was seen twice by tiles overlapping from above and below. Use the dial to change the light.

Shaded relief of the Czermno stronghold from LiDAR data
candidate, confidence 0.89

Light from 315°

Click a point on the dial to move the sun. The rampart shows under every one.

The stronghold at Czermno (Tyszowce municipality), a registered monument. A real TerraTrace scan of GUGiK LiDAR data: the model marked the rampart with confidence 0.89 and 0.82 under all five light directions.

What this shows, and what it does not

  • On clear, well-preserved strongholds the detector is reliable: high confidence, seen in all five lights, usually at the top of the list.
  • The output is a screening layer, not a verdict. A query of the monuments register comes first; TerraTrace adds to it by flagging relief that nobody has recorded.
  • Every area also produces boxes that are not the known site. Some will be modern or natural, some may be worth a look; only a reviewer can say which.
  • Five examples and 17 test areas are a demonstration, not a measurement of accuracy. The measured scores, on 217 areas, are in how TerraTrace finds earthworks.

To see how the relief behind these boxes is made and read, go to reading LiDAR for archaeology. To run the same scan over your own area, see the pilot and the pricing.

Rather not do it by hand?

TerraTrace fetches the open LiDAR for your area, builds the bare-earth model, lights it from five directions and ranks the earthwork candidates for your review.

Ask for a pilot