SURVEXPORT(1)

πŸ’« SURVEXPORT(1) β€” the Survex girlies' conversion corner πŸ’«

okay so bestie, welcome to survexport, a genuine icon from the Survex manual (that's manual section 1, iykyk). she converts a processed survey data file to another format and honestly? she ate. ✨

🌸 NAME 🌸

survexport β€” convert a processed survey data file to another format πŸ¦‹


✨ SYNOPSIS ✨

survexport [OPTIONS] INPUT_FILE [OUTPUT_FILE]

πŸ’… DESCRIPTION πŸ’…

so the input formats she supports are literally all the ones the Survex "img" library handles β€” that's Survex .3d, Survex .pos, Compass PLT and CMAP XYZ files. no cap, that's the whole list. 🫢

And right now the output formats she can give you are CSV, DXF, EPS (Encapsulated PostScript), GPX, HPGL for plotters, JSON, KML, Survex POS files, and SVG. obsessed. πŸŽ€

Also! survexport can produce Compass .plt files, which were mainly meant for importing into Carto. And this part is genuinely sad β€” the principal author of Carto has sadly died, and it seems Carto is no longer actively developed. 😭 But we've left this support in place in case it's useful anyway β€” the generated files can, for example, be used with Compass itself, though they are rather crudely structured. 🫠

πŸ“ POS Format πŸ“

The POS format is a Survex-specific format containing a list of stations with coordinates (ordered x,y,z [East, North, Up]) and complete names. In old versions of Survex it was produced by the (now removed) 3dtopos tool. Since Survex 1.2.19 it can be generated by survexport or by aven's export feature. πŸ’–

The header line is translated to the user's language, but it always starts with ( and ends with ). no exceptions bestie.

While it's not a requirement of the format, in .pos files created by Survex the stations are sorted by name such that numbers occur in the correct order (so 2 before 10 β€” the way that's even possible, love that for us). Numbers with a prefix and/or a suffix are sorted by the prefix as a string, then the number part as described above, then by the suffix as a string, so you'd get:

040.sv8
040.sv8a
040.sv8b
040.sv8c
040.sv9
040.sv10
040.sv11
40_entrance_tag
40b_entrance_tag

🧡 DXF Format 🧡

DXF export separates Splays, Surface legs, Surface points, survey legs, and survey stations onto separate layers. Splays will export dotted, and surface legs dashed. This is not currently configurable. periodt. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -s, --survey=SURVEY β€” only load the sub-survey with this prefix πŸ”
  • --scale=SCALE β€” scale (50, 0.02, 1:50 and 2:100 all mean 1:50) πŸ“
  • --bearing=BEARING β€” bearing (90, 90d, 100g all mean 90Β°) 🧭
  • --tilt=TILT β€” tilt (45, 45d, 50g, 100% all mean 45Β°) πŸ“
  • --plan β€” plan view (equivalent to --tilt=-90) πŸ—ΊοΈ
  • --elevation β€” elevation view (equivalent to --tilt=0) ⛰️
  • --legs β€” underground survey legs 🦡
  • --surface-legs β€” surface survey legs 🌳
  • --splays β€” splay legs ✨
  • --crosses β€” station markers ❌
  • --station-names β€” station labels 🏷️
  • --entrances β€” entrances πŸšͺ
  • --fixes β€” fixed points πŸ“Œ
  • --exports β€” exported stations πŸ“€
  • --cross-sections β€” cross-sections πŸ”ͺ
  • --walls β€” walls 🧱
  • --passages β€” passages πŸ•³οΈ
  • --origin-in-centre β€” origin in centre 🎯
  • --full-coordinates β€” full coordinates 🌐
  • --clamp-to-ground β€” clamp to ground πŸͺ¨
  • --defaults β€” include items exported by default 🎁
  • -g, --grid, --grid=GRID β€” generate grid with spacing GRID metres (default 100) πŸ“Š
  • -t, --text-height=TEXT_HEIGHT β€” station labels text height (default 0.6) πŸ”€
  • -m, --marker-size=MARKER_SIZE β€” station marker size (default 0.8) πŸ“
  • --csv β€” produce CSV output πŸ“„
  • --dxf β€” produce DXF output πŸ“
  • --eps β€” produce EPS output πŸ–¨οΈ
  • --gpx β€” produce GPX output πŸ₯Ύ
  • --hpgl β€” produce HPGL output πŸ–ŠοΈ
  • --json β€” produce JSON output 🧩
  • --kml β€” produce KML output 🌍
  • --plt β€” produce Compass PLT output for Carto πŸ—‚οΈ
  • --pos β€” produce Survex POS output πŸ“
  • --svg β€” produce SVG output 🎨
  • --help β€” display short help and exit πŸ†˜
  • --version β€” output version information and exit πŸ”’

🫢 SEE ALSO 🫢

aven(1), cavern(1), diffpos(1), dump3d(1), extend(1), sorterr(1) β€” the whole friend group, go say hi πŸ’œ


Copyright 1998-2025 🌈

and that's the tea bestie β€” this page is dated Jun 23, 2026, from the Survex manual (section 1), and honestly? iconic. mwah. πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from