SRTM2SDF(1)

πŸ“¦ version 1.4.2, in fedora 43, fedora 44

πŸ’– 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 -d option overrides the default path specified in your $HOME/.splat_path file. 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 the srtm2sdf utility, the -n option 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