SRTM2SDF(1)
π srtm2sdf β the glow-up page π
okay so you found the srtm2sdf page in the man(1) manual, bestie, and I am so glad you're here. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
srtm2sdf β Generate SPLAT Data Files (SDFs) from 3-arc second STS-99 Space Shuttle Topography Mission (SRTM-3) elevation data files.
like. that's the whole vibe. we're turning SRTM-3 elevation data into SDFs. iconic behavior honestly π
πΈ SYNOPSIS πΈ
srtm2sdf [options] file
one command, one file, endless possibilities. slay.
π¦ DESCRIPTION π¦
so srtm2sdf is this utility that generates SPLAT Data Files (SDFs) from 3-arc second STS-99 Space Shuttle Topography Mission (SRTM-3) elevation data files. and listen β this data is of a much higher quality than what's in the older USGS Digital Elevation Models of the same resolution. we love an upgrade. we love a glow-up. β¨
but. and this is the part where I hold your hand π«Ά β many SRTM-3 Version 2 elevation models contain data "voids" and "wells" that are the consequence of the radar mapping process. not a flaw, just the lore. it's giving radar. it's giving physics. π
the srtm2sdf utility has the ability to detect and replace SRTM data outliers with equivalent SDF data created through the usgs2sdf utility (below β well, mentioned below, iykyk). and if equivalent USGS-derived SPLAT Data Files are not available? no worries, we cope. SRTM outliers get handled either through adjacent pixel averaging, or by threshold limiting using user-specified limits.
and of all three methods, bestie β and I need you to hear me on this β the USGS-derived SDF replacement method yields the best results. it's the main character. it ate. π
π OPTIONS π
the srtm2sdf utility accepts command-line options as follows:
-dβ used to specify the directory path to the location of existing SDF files. the-doption overrides the default path specified in your$HOME/.splat_pathfile. so if you've got a lil path situation set up in your dotfile, this flag walks in and is like "not today." π€-nβ used to specify the elevation (in meters) below which SRTM data is replaced. below this limit, SRTM elevation data is either replaced using existing SDF equivalent files, or averaged among adjacent elevation data points. the default threshold for the replacement limit is sea-level (0 meters). and unless elevations below sea-level are known to exist for the region being processed by thesrtm2sdfutility, the-noption need not be specified. so like. don't touch it unless you know you need it, okay? don't be extra for no reason. π
π EXAMPLES π
here's the mood board, bestie:
srtm2sdf N40W074.hgt
srtm2sdf -d /cdrom/sdf N40W074.hgt
srtm2sdf -d /dev/null N40W074.hgt
srtm2sdf -n -5 N40W074.hgt
pick your fighter. all of them valid. all of them eating. π
π FILES π
/usr/bin/srtm2sdf
that's where the magic lives. that's the address. π
π SEE ALSO π
splat(1),
(yeah there's a trailing comma in the original and I am respectfully preserving it. character accuracy is my roman empire.)
π BUGS π
No known bugs at this time.
not me saying this with my whole chest. flawless. unbothered. no cap. β¨
π AUTHOR π
Sindre Pedersen Bjordal (foolish@guezz.net)
legend behavior. thank you for your service. π«‘
π HISTORY π
2007 β Text copyed from README
("copyed" stays exactly as written. I do not fix typos, I cherish them. it's a period piece.) π
β οΈ real talk, bestie: everything above is verbatim-accurate to the original page. I added vibes, not facts. if you're processing actual terrain, go with the USGS-derived SDF replacement method β the page says it's the best of the three, and I'm just the messenger. π
and that's the page!! this was version 1.0, dated 09 December 2007, from the man(1) manual set. she's vintage, she's still slaying, and she's literally older than some of us. π¦π
β¨ bye bestie, go map some topography!! πΈ
π¦ where this page comes from
- fedora 43: splat 1.4.2-24.fc43 Β· GPL-2.0-or-later
- fedora 44: splat 1.4.2-25.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms