pkreclassogr(1)

πŸ’– pkreclassogr β€” bestie's guide to reclassing your vector datasets πŸ’–

okay so real talk, you're in the pkreclassogr(1) manual page and honestly? you came to the right place. this little icon replaces field values of attributes in vector datasets. that's the whole vibe. it's giving glow-up for your attribute table. ✨


🌸 SYNOPSIS 🌸

pkreclassogr -i input [ -c from -r to ] -o output [options]

like, you need an -i and an -o or nothing happens, bestie. the -c/-r combo is optional but it's kind of the whole point of the party. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

pkreclassogr is a program to replace field values of attributes in vector datasets.

that's it. that's the girl. she takes your fields, she swaps the values, she serves. no cap. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -i filename, --input filename β€” the input vector dataset. your source material. the before picture. 🫢
  • -o filename, --output filename β€” the output file. the after picture. the main character reveal. 🌈
  • -nodata value, --nodata value β€” the nodata value to put in the vector dataset if not valid (default is 0). so like, when something's not valid, this is the placeholder it gets instead. πŸ“
  • -code filename, --code filename β€” recode text file, and it's got 2 columns: from to. yes, exactly like it sounds. from this, to that. πŸ’œ
  • -c classes, --class classes β€” the list of classes to reclass. heads up: this only really slays in combination with the reclass option. don't use it solo, she's a duo act. 😭
  • -r classes, --reclass classes β€” the list of recoded classes. same energy: in combination with the class option. the two of them together? iconic. πŸ”₯
  • -n name, --fname name β€” the field name of the shape file to be replaced. default is label. so if you don't say anything, she's coming for your label field, periodt. ⭐
  • -v level, --verbose level β€” verbose mode, and it only kicks in if level is greater than 0. so -v 1? chatty. -v 0? silent treatment. πŸ™ˆ

⚠️ real talk bestie: -c and -r are a package deal β€” the page says each one is used in combination with the other, so don't go splitting them up and expecting magic. πŸ’€

🧚 bye bye bestie 🧚

this page is dated 01 January 2025, and it's from the pkreclassogr(1) manual, so if you're citing it or whatever, that's the receipt. go reclass those fields, you absolute legend. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from