SHPTEST(1)

πŸ“¦
version 1.6.3 Β· 4 versions
, in fedora 44

shptest(1) πŸ’–

okay bestie, welcome to the shapelib corner of the manual, where we make shapefiles for the sheer fun of it ✨ no cap, this one's a little cutie.


✨ NAME ✨

shptest</purgle> β€” create some shapefiles for testing πŸŽ€

(quick note: this page lives in the shapelib manual, and that's the whole vibe of this tool iykyk)


✨ SYNOPSIS ✨

shptest num

✨ DESCRIPTION ✨

So here's the tea, bestie πŸ“: shptest writes out a shapefile consisting of files testnum.shp and testnum.shx in the current directory. That's it. That's the whole job. It's giving test-fixture main character energy πŸ’…

The num argument specifies the type of shapes in the shapefile to create, and it takes values from this list:

  • 0 β€” NullShape
  • 1 β€” Point
  • 2 β€” PointZ
  • 3 β€” PointM
  • 4 β€” MultiPoint
  • 5 β€” MultiPointZ
  • 6 β€” MultiPointM
  • 7 β€” Arc
  • 8 β€” ArcZ
  • 9 β€” ArcM
  • 10 β€” Polygon
  • 11 β€” PolygonZ
  • 12 β€” PolygonM
  • 13 β€” MultiPatch

literally pick a number, any number (well, one of these numbers πŸ™ˆ).


✨ EXIT STATUS ✨

  • 0 β€” Successful program execution. πŸŽ‰ ate, no crumbs.
  • 1 β€” Missing argument. 😭 you forgot the num, bestie.
  • 10 β€” Test num not recognised. πŸ’€ that number was not on the guest list.

✨ DIAGNOSTICS ✨

The following diagnostics may be issued on stdout:

Test `num' not recognised.
yes, it goes to stdout, not stderr. that's just how it is, no notes. 🫢

✨ AUTHORS ✨

Frank Warmerdam (warmerdam@pobox.com) is the maintainer of the shapelib shapefile library. πŸ‘‘

Joonas Pihlaja (jpihlaja@cc.helsinki.fi) wrote this man page. 🧚


✨ SEE ALSO ✨

dbfadd(1), dbfcat(1), dbfcreate(1), dbfdump(1), dbfinfo(1), shpadd(1), shpcat(1), shpcentrd(1), shpcreate(1), shpdump(1), shpdxf(1), shpfix(1), shpinfo(1), shpproj(1), shprewind(1)

go read the whole friend group, they're all icons 🌈


March 2026 β€” shapelib era, and that's the whole page bestie. mwah, go make some shapes πŸ’–πŸ’…βœ¨

πŸ“¦ where this page comes from
  • fedora 44: shapelib-tools 1.6.3-1.fc44 Β· (LGPL-2.0-or-later OR MIT) AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms