garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/mockups/field-check/v4.html

raw

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Cartopolis — field check v4: simple</title>
<link rel="stylesheet" href="style.css">
<style>
:root { --ok:#9fd3b4; --okbg:rgba(159,211,180,.16); --warn:#ffcf7a; }
body { width:1840px; }
.essence { font-size:25px; line-height:1.32; color:var(--cream); max-width:1500px; margin:16px 0 30px; letter-spacing:-.2px; }
.essence b { color:var(--brand); font-weight:inherit; }
.rules { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:44px; }
.rules div { background:var(--surface); border:1px solid var(--gline); border-radius:16px; padding:18px 20px; }
.rules h3 { color:var(--cream); font-size:17px; margin-bottom:6px; }
.rules h3 span { color:var(--brand); margin-right:6px; }
.rules p { color:var(--dim); font-size:14px; }
.rules i { color:var(--text); font-style:normal; }
.new { font-size:10.5px; padding:1px 6px; border-radius:6px; background:rgba(253,96,18,.2); color:#ffb48a; vertical-align:1px; margin-left:4px; }

/* the agent */
.agent { background:#2c3f47; }
.thead .who b .bot { display:inline; vertical-align:2px; font-size:10.5px; color:var(--accent); background:var(--hover); border-radius:6px; padding:0 6px; margin-left:6px; }

/* attach sheet */
.attach { position:absolute; left:10px; right:10px; bottom:86px; z-index:6; background:var(--glass); backdrop-filter:blur(16px); border:1px solid var(--gline); border-radius:20px; padding:10px; display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.attach div { display:flex; flex-direction:column; align-items:center; gap:6px; font-size:12px; color:var(--dim); padding:8px 2px; border-radius:14px; text-align:center; }
.attach .ic { width:46px; height:46px; border-radius:14px; background:var(--raised); border:1px solid var(--gline); display:grid; place-items:center; color:var(--text); }
.attach .hot { background:rgba(253,96,18,.12); color:var(--cream); }
.attach .hot .ic { background:var(--brand); color:#fff; border-color:transparent; }
.scrim { position:absolute; inset:0; background:rgba(5,8,9,.45); z-index:5; }

/* capture */
.cam { position:absolute; inset:0; background-size:cover; background-position:center; }
.cam::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.45) 0, transparent 20%, transparent 70%, rgba(0,0,0,.6) 100%); }
.ghost-layer { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.42; mix-blend-mode:normal; z-index:1; }
.chips { position:absolute; top:52px; left:12px; right:12px; z-index:4; display:flex; flex-wrap:wrap; gap:6px; }
.chips .chip { position:static; }
.chip.ok { color:var(--ok); border-color:rgba(159,211,180,.4); }
.chip.warn { color:var(--warn); border-color:rgba(255,207,122,.4); }
.dot { width:7px; height:7px; border-radius:50%; background:currentColor; }
.pip { position:absolute; right:12px; top:128px; width:112px; height:199px; border-radius:14px; background-size:cover; background-position:center; z-index:4; border:2px solid #fff; box-shadow:0 8px 20px rgba(0,0,0,.5); }
.pip span { position:absolute; left:6px; bottom:6px; font-size:10.5px; color:#fff; background:rgba(10,14,16,.75); padding:1px 6px; border-radius:6px; }
.camctl { position:absolute; left:0; right:0; bottom:34px; z-index:4; display:flex; justify-content:space-between; align-items:center; padding:0 34px; }
.shutter { width:74px; height:74px; border-radius:50%; border:4px solid #fff; display:grid; place-items:center; }
.shutter div { width:58px; height:58px; border-radius:50%; background:#fff; position:relative; overflow:hidden; }
.shutter div::after { content:""; position:absolute; right:0; top:0; bottom:0; width:50%; background:var(--brand); }
.round { width:48px; height:48px; border-radius:50%; background:rgba(10,14,16,.6); border:1px solid var(--gline); display:grid; place-items:center; color:#fff; position:relative; }
.round.on { background:var(--accent); color:var(--ink); }
.round small { position:absolute; bottom:-18px; font-size:10.5px; color:#fff; white-space:nowrap; }
.ghostbar { position:absolute; left:34px; right:34px; bottom:132px; z-index:4; display:flex; align-items:center; gap:10px; font-size:11.5px; color:#fff; }
.ghostbar .track { flex:1; height:4px; border-radius:2px; background:rgba(255,255,255,.3); position:relative; }
.ghostbar .track::before { content:""; position:absolute; left:0; top:0; bottom:0; width:42%; background:#fff; border-radius:2px; }
.ghostbar .track::after { content:""; position:absolute; left:42%; top:50%; width:16px; height:16px; border-radius:50%; background:#fff; transform:translate(-50%,-50%); }
.tip { position:absolute; left:12px; right:12px; bottom:196px; z-index:4; text-align:center; font-size:12px; color:#fff; text-shadow:0 1px 3px #000; }
.close { position:absolute; left:14px; top:50px; z-index:5; }

/* selfie stand-in */
.selfie { position:absolute; inset:0; background:radial-gradient(ellipse 60% 40% at 50% 45%, #5a4a44 0, #3a312e 45%, transparent 46%), linear-gradient(180deg, #8fb3cf 0, #b9c6cc 40%, #7f6a5c 41%, #5d4c42 100%); }
.selfie .head { position:absolute; left:50%; top:30%; width:150px; height:190px; border-radius:50% 50% 46% 46%; background:#c79c84; transform:translateX(-50%); }
.selfie .body { position:absolute; left:50%; top:52%; width:290px; height:330px; border-radius:140px 140px 0 0; background:#33505f; transform:translateX(-50%); }
.selfie .lbl { position:absolute; left:50%; top:44%; transform:translateX(-50%); color:rgba(0,0,0,.45); font-size:12px; z-index:2; }

/* the pair, in the thread */
.pair { align-self:flex-end; width:300px; background:var(--accent); color:var(--ink); border-radius:18px; border-bottom-right-radius:6px; overflow:hidden; }
.pair .imgs { display:grid; grid-template-columns:1fr 1fr; gap:2px; height:200px; background:var(--ink); }
.pair .imgs div { background-size:cover; background-position:center; position:relative; }
.pair .imgs span { position:absolute; left:6px; top:6px; font-size:10.5px; color:#fff; background:rgba(10,14,16,.72); padding:1px 6px; border-radius:6px; }
.pair .meta { padding:8px 11px 4px; font-size:12.5px; }
.pair .meta b { font-weight:inherit; display:block; font-size:14px; }
.pair .meta .q { display:flex; gap:6px; flex-wrap:wrap; margin-top:5px; }
.pair .meta .q span { background:rgba(10,14,16,.1); border-radius:6px; padding:1px 6px; font-size:11px; }
.pair .btns { display:flex; gap:6px; padding:6px 10px 10px; }
.pair .btns div { flex:1; text-align:center; background:var(--ink); color:var(--cream); border-radius:10px; padding:6px; font-size:12.5px; }
.pair small { text-align:right; display:block; font-size:10.5px; opacity:.6; padding:0 11px 6px; }
.m.them ol { margin:4px 0 0 18px; }
#reply { font-size:13.5px; max-width:86%; }
.m.them li { margin-bottom:3px; }

/* compare */
.wipe { position:absolute; inset:0; }
.wipe .a, .wipe .b { position:absolute; inset:0; background-size:cover; background-position:center; }
.wipe .b { clip-path:inset(0 0 0 52%); }
.wipe .line { position:absolute; top:0; bottom:0; left:52%; width:3px; background:#fff; z-index:2; box-shadow:0 0 8px rgba(0,0,0,.5); }
.wipe .knob { position:absolute; left:52%; top:50%; width:40px; height:40px; border-radius:50%; background:#fff; transform:translate(-50%,-50%); z-index:3; display:grid; place-items:center; color:var(--ink); font-size:14px; }
.wipe .tl { position:absolute; top:112px; z-index:3; font-size:12px; color:#fff; background:rgba(10,14,16,.75); padding:3px 9px; border-radius:8px; }
.posebar { position:absolute; left:0; right:0; bottom:0; z-index:4; background:var(--glass); backdrop-filter:blur(16px); border-top:1px solid var(--gline); border-top-left-radius:22px; border-top-right-radius:22px; padding:12px 16px 30px; }
.posebar h4 { color:var(--cream); font-size:15px; font-weight:inherit; }
.posebar p { color:var(--dim); font-size:12px; margin-top:2px; }
.posebar .actions { padding:10px 0 0; }

.bottom { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:18px; margin-top:52px; }
.bottom > div { background:var(--surface); border:1px solid var(--gline); border-radius:16px; padding:18px 20px; }
.bottom h3 { color:var(--cream); font-size:16px; margin-bottom:8px; }
.bottom li { color:var(--dim); font-size:13.5px; margin:0 0 7px 18px; }
.bottom li b { color:var(--text); font-weight:inherit; }
pre { background:var(--ink); border:1px solid var(--gline); border-radius:12px; padding:12px 14px; font:12.5px/1.5 ui-monospace, monospace; color:var(--text); margin-top:8px; }
pre i { color:var(--line); font-style:normal; }
.credit { color:var(--line); font-size:12px; margin-top:28px; }
.big { display:grid; grid-template-columns:900px 1fr; gap:36px; margin-top:52px; align-items:start; }
.big img { width:900px; border-radius:14px; box-shadow:0 0 0 1px #2b3438, 0 30px 60px rgba(0,0,0,.5); display:block; }
.big h2 { font-size:20px; color:var(--cream); margin-bottom:8px; }
.big h2 span { color:var(--brand); margin-right:6px; }
.big .cap { color:var(--dim); font-size:14px; margin-bottom:14px; }
.steps { display:flex; flex-direction:column; gap:12px; }
.steps div { background:var(--surface); border:1px solid var(--gline); border-radius:14px; padding:14px 16px; }
.steps h3 { color:var(--cream); font-size:15px; margin-bottom:4px; }
.steps h3 span { color:var(--brand); margin-right:6px; }
.steps p { color:var(--dim); font-size:13.5px; }
.steps code, .bottom code { color:var(--text); font-size:12.5px; }
.harness { font-size:10.5px; padding:1px 7px; border-radius:6px; background:var(--hover); color:var(--accent); margin-left:6px; vertical-align:2px; }
.pairmsg { align-self:flex-end; width:210px; background:var(--accent); color:var(--ink); border-radius:18px; border-bottom-right-radius:6px; overflow:hidden; }
.pairmsg img { width:100%; display:block; }
.pairmsg p { padding:7px 11px 2px; font-size:14px; }
.pairmsg small { text-align:right; display:block; font-size:10.5px; opacity:.6; padding:0 11px 6px; }
.dest { position:absolute; left:62px; right:62px; top:50px; z-index:5; text-align:center; font-size:12.5px; color:#fff; }
.dest b { display:block; font-weight:inherit; font-size:14px; }
.fixmsg { align-self:flex-start; width:300px; background:var(--raised); border-radius:18px; border-bottom-left-radius:6px; overflow:hidden; }
.fixmsg .ba { display:grid; grid-template-columns:1fr 1fr; gap:2px; height:90px; background:var(--ink); }
.fixmsg .ba div { background-size:cover; background-position:50% 20%; position:relative; }
.fixmsg .ba span { position:absolute; left:6px; top:6px; font-size:10.5px; color:#fff; background:rgba(10,14,16,.72); padding:1px 6px; border-radius:6px; }
.fixmsg p { padding:8px 12px 2px; font-size:13.5px; color:var(--text); }
.fixmsg .actions { padding:8px 10px 10px; }
.fixmsg small { text-align:right; display:block; font-size:10.5px; color:var(--dim); padding:0 11px 6px; }
.qsheet { position:absolute; left:0; right:0; bottom:0; z-index:6; background:var(--glass); backdrop-filter:blur(16px); border-top:1px solid var(--gline); border-top-left-radius:22px; border-top-right-radius:22px; padding:6px 16px 26px; }
.qsheet h4 { color:var(--cream); font-size:15px; font-weight:inherit; margin-bottom:6px; }
.qrow { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-top:1px solid var(--gline); font-size:13px; color:var(--dim); }
.qrow b { color:var(--cream); font-weight:inherit; text-align:right; }
.qrow b.ok { color:var(--ok); } .qrow b.warn { color:var(--warn); }
.qnote { font-size:12px; color:var(--warn); margin-top:6px; }
.touchmap { position:absolute; inset:0; background:url(aerial-touch.jpg) 0 0/390px 650px no-repeat, #222; }
.touchmap svg { position:absolute; left:0; top:0; }
.zoom { position:absolute; left:20px; top:300px; width:130px; height:130px; border-radius:50%; background:#2a3236; border:2px solid #fff; z-index:4; box-shadow:0 8px 20px rgba(0,0,0,.5); overflow:hidden; }
.zoom svg { position:absolute; inset:0; }
.zoom span { position:absolute; left:0; right:0; bottom:10px; text-align:center; font-size:10.5px; color:#fff; }
.seg.sm div { padding:6px 4px; font-size:12px; }
.tcard { padding:0 16px; }
.tcard h4 { color:var(--cream); font-size:15px; font-weight:inherit; }
.tcard .sub { color:var(--dim); font-size:12px; margin-bottom:6px; }
.real { color:#ffb48a; } .ex { color:var(--accent); font-style:italic; }
table.cmp td { padding:6px 12px; }
.legend { color:var(--dim); font-size:13px; margin:0 0 26px; }
.touchmap::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.6) 0, transparent 26%); }
.out { width:820px; }
.out img { width:820px; border-radius:14px; box-shadow:0 0 0 1px #2b3438, 0 30px 60px rgba(0,0,0,.5); display:block; }
.out h2 { font-size:17px; color:var(--cream); margin:16px 0 6px; }
.out h2 span { color:var(--brand); margin-right:6px; }
.out ul { color:var(--dim); font-size:13.5px; padding-left:18px; }
.out li { margin-bottom:4px; }
</style>
</head>
<body>
<svg width="0" height="0" style="position:absolute">
  <symbol id="back" viewBox="0 0 24 24"><path d="M15 5l-7 7 7 7"/></symbol>
  <symbol id="plus" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14"/></symbol>
  <symbol id="mic" viewBox="0 0 24 24"><rect x="9" y="3.5" width="6" height="11" rx="3"/><path d="M5.5 11a6.5 6.5 0 0013 0M12 17.5V21"/></symbol>
  <symbol id="x" viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18"/></symbol>
  <symbol id="photo" viewBox="0 0 24 24"><rect x="3.5" y="5" width="17" height="14" rx="2"/><circle cx="9" cy="10" r="1.8"/><path d="M4 17l5-5 4 4 3-3 4 4"/></symbol>
  <symbol id="pin" viewBox="0 0 24 24"><path d="M12 21s-6.5-6.2-6.5-11A6.5 6.5 0 0118.5 10c0 4.8-6.5 11-6.5 11z"/><circle cx="12" cy="10" r="2.3"/></symbol>
  <symbol id="loc" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3"/><circle cx="12" cy="12" r="7"/></symbol>
  <symbol id="twin" viewBox="0 0 24 24"><rect x="2.5" y="6" width="9" height="13" rx="1.6"/><path d="M14.5 6l7 3v10l-7-3z"/><path d="M14.5 6v10"/></symbol>
  <symbol id="flip" viewBox="0 0 24 24"><path d="M4 9a8 8 0 0114-3l2 2M20 15a8 8 0 01-14 3l-2-2"/><path d="M20 4v4h-4M4 20v-4h4"/></symbol>
  <symbol id="ghost" viewBox="0 0 24 24"><rect x="3.5" y="4.5" width="12" height="12" rx="1.5"/><rect x="8.5" y="7.5" width="12" height="12" rx="1.5" stroke-dasharray="2 2"/></symbol>
  <symbol id="world" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8.5"/><path d="M3.5 12h17M12 3.5c2.6 2.6 2.6 14.4 0 17M12 3.5c-2.6 2.6-2.6 14.4 0 17"/></symbol>
  <symbol id="wipe" viewBox="0 0 24 24"><rect x="3.5" y="4.5" width="17" height="15" rx="2"/><path d="M12 4.5v15"/></symbol>
</svg>

<h1>Cartopolis — <b>field check v4: simple</b></h1>
<p class="essence">Point the phone, press once: <b>one picture, real next to Cartopolis</b>, with where you stood written under it. It goes to the agent, who says where the virtual view differs from the real one.</p>

<div class="row" style="gap:40px">

<!-- A. CAPTURE -->
<div class="shot">
<div class="phone">
  <div class="cam" style="background-image:url(photo.jpg)"></div>
  <div class="status"><span>14:03</span><div class="notch"></div><span>●●● 71%</span></div>
  <div class="round close" style="width:38px;height:38px"><svg class="i"><use href="#x"/></svg></div>
  <div class="dest"><b>Field check</b>to viberfox</div>
  <div class="chips" style="top:100px"><div class="chip ok"><span class="dot"></span>RTK fixed · 1 cm</div></div>
  <div class="pip" style="background-image:url(render-north.jpg); top:146px"><span>Cartopolis</span></div>
  <div class="camctl">
    <div style="width:48px"></div>
    <div class="shutter"><div></div></div>
    <div class="round"><svg class="i"><use href="#flip"/></svg><small>rear</small></div>
  </div>
</div>
<h2><span>A</span>Capture</h2>
<ul>
  <li>The camera, Cartopolis's view of the same spot in the corner, a shutter, and front/rear.</li>
  <li>One chip: is the position good enough.</li>
</ul>
</div>

<!-- B. TO THE AGENT -->
<div class="shot">
<div class="phone">
  <div class="status"><span>14:06</span><div class="notch"></div><span>●●● 70%</span></div>
  <div class="thead"><svg class="i"><use href="#back"/></svg><div class="av sm agent">vf</div><div class="who"><b>viberfox<span class="bot">agent</span></b><span><span class="live"></span>field walk</span></div></div>
  <div class="msgs">
    <div class="pairmsg" style="width:250px"><img src="pair-v4.jpg"><p>check this one</p><small>14:03</small></div>
    <div class="m them" style="font-size:13.5px;max-width:90%">Different: the tower is drawn in brick with house windows; it's grey stone with Gothic arches and a copper top. The fountain and terrace are missing. The trees in front of it aren't in your photo.<small>14:06</small></div>
  </div>
  <div class="composer"><div class="circ"><svg class="i"><use href="#plus"/></svg></div><div class="field">Message</div><div class="circ hot"><svg class="i"><use href="#mic"/></svg></div></div>
</div>
<h2><span>B</span>To the agent</h2>
<ul>
  <li>The picture plus one line from you.</li>
  <li>The agent answers with what differs.</li>
</ul>
</div>

<!-- C. THE PICTURE -->
<div class="out">
  <img src="pair-v4.jpg">
  <h2><span>C</span>The picture</h2>
  <ul>
    <li>Real left, Cartopolis right, same spot, same direction.</li>
    <li>Under it: where, how accurate, which direction, which camera, when, and the app version: enough to render the same view again.</li>
    <li><b style="font-weight:inherit;color:var(--text)">The data is a shot preset</b>, the same format as <code>docs/shots.toml</code>, so the agent can put the camera back on exactly this view at any time with one command, before and after a fix:</li>
  </ul>
  <pre>[[shot]]
name   = "field-2026-10-15-1203"
group  = "field-check"
at     = [53.21830, 6.56790, 1.6]   <i># metres above the ground there</i>
look   = [14.0, -9.0]               <i># pitch, yaw</i>
roll   = 0.4                        <i># new</i>
fov    = 68.0                       <i># new: the phone lens, vertical</i>
date   = "2026-10-15"               <i># new: with time, the sun's position</i>
time   = 12.05                      <i># UTC</i>

[shot.measured]                     <i># new: data only, not rendered</i>
accuracy_m = 0.01
ground_nap = 7.02                   <i># compare with AHN</i>
camera     = "rear"
client     = "410d46f4"</pre>
  <pre style="margin-top:8px">cargo shots --shots docs/field-checks.toml --only field-2026-10-15-1203</pre>
  <ul style="margin-top:8px">
    <li>Every check is kept in <code>docs/field-checks.toml</code>, so the walk becomes a set of views that can all be re-rendered after any change.</li>
      </ul>
</div>

</div>

<p class="credit" style="margin-top:40px">Photo: "Martinitoren, Grote Markt Groningen", JAHensens, CC BY 4.0, Wikimedia Commons, a stand-in not taken from this spot. Render: Cartopolis, deck-2, 2026-10-15.</p>
</body>
</html>