SHPCAT(1)

✨ NAME ✨

shpcat β€” bestie, this one appends the records of a source shapefile πŸ’–

so like, real quick, what even is this page? it's SHPCAT(1), and it lives in the shplib manual, and it's here to help you smash one shapefile's records onto the end of another one. iconic behaviour tbh πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

shpcat [-v] [-f] from_shpfile to_shpfile

yeah that's it. three little pieces and two optional lil flags. we love a low-maintenance queen πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

okay so picture this: you've got a shapefile and you want its records to be the problem of another shapefile. that's literally the whole job. shpcat appends the content of a source shapefile into a destination shapefile. done. slay ✨

but β€” and this is the part where you have to pay attention, bestie, no scrolling β€” both files must be the same shapefile type. same type or it's not happening. that's non-negotiable, it's the vibe check, it's the law πŸ’…


🌸 OPTIONS 🌸

  • -v β€” verbose mode, aka shpcat starts yapping about what it's doing. not me wanting to see everything 🫢
  • -f β€” forces data conversion. you need this when the data field types aren't the same at both files, or when there's any null value in the from_DBFfile. lowkey the rescue flag πŸ™ˆ
  • from_shpfile β€” the source shapefile. the giver. the main character πŸ”₯
  • to_shpfile β€” the destination shapefile. the receiver. it's giving generous, honestly πŸ‘‘

πŸ¦‹ EXAMPLE πŸ¦‹

shpcat -v shapefile1 shapefile2

look at her go. verbosely. into shapefile2 she goes πŸ’€βœ¨


πŸ‘‘ AUTHOR πŸ‘‘

shpcat is part of shapelib, maintained by Frank Warmerdam. this guide was created by Eduardo Patoo Kanegae and converted to manpage by Johan Van de Wauw. the whole friend group ATE 🌈


πŸ“ SEE ALSO πŸ“

go read the whole clique, iykyk 🧚


and that's the page, bestie!! shplib, dated March 2026, filed under SHPCAT(1). drink water, back up your shapefiles, and stay hydrated πŸ’œβ­πŸŽ€

πŸ“¦ where this page comes from