SHPTEST(1)
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β NullShape1β Point2β PointZ3β PointM4β MultiPoint5β MultiPointZ6β MultiPointM7β Arc8β ArcZ9β ArcM10β Polygon11β PolygonZ12β PolygonM13β 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 thenum, bestie.10β Testnumnot 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 tostdout, notstderr. 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