| 
 
 NAMEv.reclass - Changes vector category values for an existing vector map according to results of SQL queries or a value in attribute table column. KEYWORDSvector, reclassification, attributes SYNOPSISv.reclass
   Flags:
 Parameters:
 DESCRIPTIONv.reclass allows user to create a new vector map based on the reclassification of an existing vector map. It also allows the user to change the key column away from the default of "cat" with the column option. Rules file may contain on each row either pair:
   keyword value(separated by space) or comment beginning with ’#’ (hash). Definition of new category begins with keyword cat followed by the new category value. Keyword where specifies SQL where condition. NOTESNo table is created for the reclassed map if the column option is used and the column type is integer (as the result could contain ambiguities). If the column option is used and the column type is string, a new table is created containing the newly generated cat numbers and a single column containing the unique string column values, sorted in alphabetical order. For dissolving common boundaries, see v.dissolve. Either the rules or column option must be specified. EXAMPLESExample 1: Reclass by rulesv.reclass input=land output=land_u type=boundary rules=land.rcl The rules file contains:
   # land reclass file cat 1 where use = ’E13’ and owner = ’Jara Cimrman’ cat 2 where use = ’E14’ Produces a new vector area map land_u containing boundaries
    from land with area category values selected from database by SQL
    select statement:
   Example 2: Reclass by attribute column(North Carolina sample dataset)
   v.reclass in=streams out=streams_by_type column=I_vs_P v.db.select streams_by_type cat|I_vs_P 1|intermittent 2|perennial KNOWN ISSUESNo table is created for reclassed layer if the rules option is used. SEE ALSOv.dissolve, v.extract GRASS SQL interface AUTHORSR.L. Glenn, USDA, SCS, NHQ-CGIS
   SOURCE CODEAvailable at: v.reclass source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Vector index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual 
 
  |