Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.
NAME
v.sort.points - Sorts a vector point map according to a numeric column
KEYWORDS
SYNOPSIS
v.sort.points
v.sort.points --help
v.sort.points [-r] input=name layer=string output=name column=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -r
- do not reverse sort
- --overwrite
- Allow output files to overwrite existing files
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- input=name [required]
- Name of input vector map
- Or data source for direct OGR access
- layer=string [required]
- Layer number or name
- Vector features can have category values in different layers. This number determines which layer to use. When used with direct OGR access this is the layer name.
- Default: 1
- output=name [required]
- Name for output vector map
- column=name [required]
- Name of attribute column used for sorting
v.sort.points takes an
input point vector map, sorts
the points by the values in the sort
column and then writes
the result to the
output map.
This is useful to display symbols in sizes proportionate to that same
column without having big symbols hide small symbols.
By setting the r flag, the user can also chose to reverse the
sorting order putting points with the highest value in front.
d.vect -r map=schools_wake@PERMANENT type=point,line,boundary,area,face width=1 icon=basic/circle size=1 size_column=CAPACITYTO
v.sort.points input=schools_wake output=sorted_schools column=CAPACITYTO
d.vect -r map=sorted_schools@user1 type=point,line,boundary,area,face width=1 icon=basic/circle size=1 size_column=CAPACITYTO
Moritz Lennert
SOURCE CODE
Available at:
v.sort.points source code
(history)
Latest change: Thu Feb 3 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c
Main index |
Vector index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2022
GRASS Development Team,
GRASS GIS 8.0.3dev Reference Manual