Nicklas Larsson c37871b51d Fix -Wunused-variable compiler warnings (#2158) %!s(int64=3) %!d(string=hai) anos
..
testsuite fd86f50e9a Apply Black to tests (#1387) %!s(int64=4) %!d(string=hai) anos
Makefile 11e44a917a vlib: Vect_read_colors() added %!s(int64=14) %!d(string=hai) anos
README 3aa7302eb1 spelling %!s(int64=13) %!d(string=hai) anos
area.c e7a4e6b933 Patch to fix various spelling errors (see https://trac.osgeo.org/grass/ticket/3088) %!s(int64=9) %!d(string=hai) anos
area_pg.c fcc231090a vlib/pg: fix Vect__get_area_points_pg() %!s(int64=11) %!d(string=hai) anos
array.c 1b5c5cea0b fix compilation without gdal/ogr %!s(int64=13) %!d(string=hai) anos
ascii.c 8070c64c3a lib: Use the full string length in strncmp() calls (#1060) %!s(int64=4) %!d(string=hai) anos
box.c f98bfab4fc r.region: Vect_get_map_box() requires level 2 (#1404) %!s(int64=4) %!d(string=hai) anos
break_lines.c caf1a33971 Vlib: add comment to qsort cmp fn (see https://trac.osgeo.org/grass/ticket/3564) %!s(int64=6) %!d(string=hai) anos
break_polygons.c 7ed030f535 vectorlib: reduce compiler warnings %!s(int64=8) %!d(string=hai) anos
bridges.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() %!s(int64=12) %!d(string=hai) anos
buffer.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
buffer2.c 3089db70b0 Define MIN() and MAX() correctly and exactly once (#1795) %!s(int64=3) %!d(string=hai) anos
build.c 959de327f0 Vlib: change topology building messages to verbose messages %!s(int64=7) %!d(string=hai) anos
build_nat.c 5c8695675a Use platform independent int64 format specifier (#1316) %!s(int64=4) %!d(string=hai) anos
build_ogr.c d04e9f7472 Fix spelling error (fixes https://trac.osgeo.org/grass/ticket/3327) %!s(int64=8) %!d(string=hai) anos
build_pg.c 8d6ddd9a40 postgis topology: missing relations, fix https://trac.osgeo.org/grass/ticket/3339 %!s(int64=6) %!d(string=hai) anos
build_sfa.c 18bb4914f9 v.external: implement where statement option (requires distclean) %!s(int64=8) %!d(string=hai) anos
cats.c df6b90df8d fix usage of vector cats in constraint (#262) %!s(int64=5) %!d(string=hai) anos
cindex.c 6131278ecc vectorlib: Vect_cidx_find_all() should not allow mixing GV_AREA with other geometries, fixes https://trac.osgeo.org/grass/ticket/3235 %!s(int64=6) %!d(string=hai) anos
clean_nodes.c 5c031eacf3 Vlib: translate Modifications %!s(int64=11) %!d(string=hai) anos
close.c 49d0fd1fff vlib: fix GRASS_VECTOR_TEMPORARY when creating temporary maps using Vect_open_new_tmp() %!s(int64=10) %!d(string=hai) anos
close_nat.c 49d0fd1fff vlib: fix GRASS_VECTOR_TEMPORARY when creating temporary maps using Vect_open_new_tmp() %!s(int64=10) %!d(string=hai) anos
close_ogr.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) %!s(int64=11) %!d(string=hai) anos
close_pg.c a1dfd3cf37 make GRASS data TMPDIR configurable (GRASS_TMPDIR_MAPSET && TMPDIR) %!s(int64=10) %!d(string=hai) anos
color_read.c 356f487f05 Rast__read_colors (and G_find_file2) needs name. %!s(int64=11) %!d(string=hai) anos
color_remove.c 4e31098139 vlib: store alternative color tables to `vcolr2/mapset/name` %!s(int64=13) %!d(string=hai) anos
color_write.c 1b5c5cea0b fix compilation without gdal/ogr %!s(int64=13) %!d(string=hai) anos
constraint.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
copy.c c4191f465b vlib: fix copying centroids when using PostGIS Topology (see 'v.out.postgis -l') %!s(int64=8) %!d(string=hai) anos
dangles.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 %!s(int64=14) %!d(string=hai) anos
dbcolumns.c 7cf6c6eba9 libvector: fix -Wformat-overflow warning (#1401) %!s(int64=4) %!d(string=hai) anos
dgraph.c 3089db70b0 Define MIN() and MAX() correctly and exactly once (#1795) %!s(int64=3) %!d(string=hai) anos
dgraph.h af366d29e9 Various typo fixes (https://trac.osgeo.org/grass/ticket/2776) %!s(int64=9) %!d(string=hai) anos
e_intersect.c 3089db70b0 Define MIN() and MAX() correctly and exactly once (#1795) %!s(int64=3) %!d(string=hai) anos
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and %!s(int64=16) %!d(string=hai) anos
field.c 17f047a0c1 Avoid potential format overflow (#1406) %!s(int64=3) %!d(string=hai) anos
find.c 7e2481921f Vlib: fix Vect_find_area() %!s(int64=10) %!d(string=hai) anos
geos.c 21db35ef6e vector library: Added new methods to generate Well Known Text (WTK) and Well Known Binary (WTB) out of GEOS geometries %!s(int64=9) %!d(string=hai) anos
geos_to_wktb.c 350a60a3d5 vector library and pygrass rpc: Fixed bug in vector line to wkb conversion %!s(int64=9) %!d(string=hai) anos
graph.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
handler.c 5bcb75e3b6 vlib: free allocated string in error_handler_io() %!s(int64=13) %!d(string=hai) anos
header.c 8070c64c3a lib: Use the full string length in strncmp() calls (#1060) %!s(int64=4) %!d(string=hai) anos
header_finfo.c 696fab0410 vlib: Vect_get_finfo_topology_info() added %!s(int64=11) %!d(string=hai) anos
hist.c 094cda2a4e vlib: Vect_hist_command() check return value of Vect_hist_write() %!s(int64=10) %!d(string=hai) anos
init_head.c 7f95d80e6b Vlib: fix G_zero() usage %!s(int64=11) %!d(string=hai) anos
intersect.c 2c4d1ebb0d Vlib: fix fp error in Vect_segment_intersection() %!s(int64=6) %!d(string=hai) anos
intersect2.c c37871b51d Fix -Wunused-variable compiler warnings (#2158) %!s(int64=3) %!d(string=hai) anos
legal_vname.c b84d911d55 Vlib: fix https://trac.osgeo.org/grass/changeset/12350, sync Vect_check_input_output_name() to Vect_open_new() %!s(int64=10) %!d(string=hai) anos
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) %!s(int64=14) %!d(string=hai) anos
level_two.c b2227bb604 Vlib: revert https://trac.osgeo.org/grass/changeset/60691, fix the module instead %!s(int64=10) %!d(string=hai) anos
line.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
list.c e70a921252 change boxlist_add args %!s(int64=12) %!d(string=hai) anos
local_proto.h 49d0fd1fff vlib: fix GRASS_VECTOR_TEMPORARY when creating temporary maps using Vect_open_new_tmp() %!s(int64=10) %!d(string=hai) anos
map.c 17f047a0c1 Avoid potential format overflow (#1406) %!s(int64=3) %!d(string=hai) anos
merge_lines.c 1824514cec Remove extraneous parentheses (#1274) %!s(int64=4) %!d(string=hai) anos
net_analyze.c 0efc558ddc vectorlib, network analysis: initialize output, fix shortcut, prune path %!s(int64=8) %!d(string=hai) anos
net_build.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
open.c 31c686d9bf v.external.out: SRID lost when not exactly defined (see https://trac.osgeo.org/grass/ticket/3262) %!s(int64=8) %!d(string=hai) anos
open_nat.c 05b8e058b8 Match format specifier with argument type (#1256) %!s(int64=4) %!d(string=hai) anos
open_ogr.c 7dfe7e6e0a Handle OGR function calls which may fail (#1276) %!s(int64=4) %!d(string=hai) anos
open_pg.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
overlap.c d855a1780a Vlib: update constraints which are now hidden in struct %!s(int64=13) %!d(string=hai) anos
overlay.c c37871b51d Fix -Wunused-variable compiler warnings (#2158) %!s(int64=3) %!d(string=hai) anos
pg_local_proto.h 8d6ddd9a40 postgis topology: missing relations, fix https://trac.osgeo.org/grass/ticket/3339 %!s(int64=6) %!d(string=hai) anos
poly.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
read.c 109e7dc0ab Vlib: fix https://trac.osgeo.org/grass/changeset/55582, restore behaviour of Vect_*_alive() fns %!s(int64=10) %!d(string=hai) anos
read_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place %!s(int64=12) %!d(string=hai) anos
read_ogr.c 0764296ef8 dox: reducing doxygen warnings %!s(int64=12) %!d(string=hai) anos
read_pg.c ec34715f07 Vlib/pg: fix reading PostGIS features when fid column contains uppercase letter %!s(int64=8) %!d(string=hai) anos
read_sfa.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() %!s(int64=12) %!d(string=hai) anos
remove_areas.c ca90310887 Fix spelling errors. (#561) %!s(int64=5) %!d(string=hai) anos
remove_duplicates.c fd0f191ebb Vlib: translate "Removed duplicates" %!s(int64=11) %!d(string=hai) anos
rewind.c 7c8d5a94b1 vlib: first steps for full PostGIS topology support %!s(int64=13) %!d(string=hai) anos
rewind_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) %!s(int64=13) %!d(string=hai) anos
rewind_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) %!s(int64=13) %!d(string=hai) anos
rewind_pg.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) %!s(int64=11) %!d(string=hai) anos
rtree_search.c f9b103cf33 Vlib: changed rtree search fn %!s(int64=13) %!d(string=hai) anos
select.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error %!s(int64=12) %!d(string=hai) anos
simple_features.c 41e0300de8 vlib: fix sf table name handling %!s(int64=11) %!d(string=hai) anos
sindex.c 9715beb4c5 Vlib: fix pointer address for debug message %!s(int64=7) %!d(string=hai) anos
snap.c 86a694f611 Vlib: optimize snapping with box search instead of distance search %!s(int64=6) %!d(string=hai) anos
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) %!s(int64=14) %!d(string=hai) anos
type.c a86e5f71ab vlib: fix Vect_option_to_types() for `type=auto` (v.out.ogr) %!s(int64=12) %!d(string=hai) anos
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) %!s(int64=14) %!d(string=hai) anos
write.c 05b8e058b8 Match format specifier with argument type (#1256) %!s(int64=4) %!d(string=hai) anos
write_nat.c 05b8e058b8 Match format specifier with argument type (#1256) %!s(int64=4) %!d(string=hai) anos
write_ogr.c 05b8e058b8 Match format specifier with argument type (#1256) %!s(int64=4) %!d(string=hai) anos
write_pg.c 05b8e058b8 Match format specifier with argument type (#1256) %!s(int64=4) %!d(string=hai) anos
write_sfa.c d44f72c194 Vlib: sync write fns, fix for https://trac.osgeo.org/grass/ticket/2583 %!s(int64=10) %!d(string=hai) anos

README

Dangles
---------
GRASS doesn't allow areas/islands with dangles. If an island has dangle, it is not built
and attached to outer area and as a consequence, some functions do not work as expected.
For example Vect_area_area() and Vect_find_area().
See comments in build_nat.c: Vect_attach_centroids()

Category index
----------------
Category index is created when Vect_build(), i.e. Vect_build_partial(, GV_BUILD_ALL,)
is called. Plus_head.cidx_up_to_date is set to 1 if Category index is created.
Any later call to Vect_write_line() / Vect_rewrite_line() / Vect_delete_line() resets
Plus_head.cidx_up_to_date to 0 and doesn't update category index.
All modules using update on level 2 must call full build, i.e. Vect_build(), at the end.

All features without category are written to category index of field 0.
The category index also stores type of feature, that makes it possible to find areas
without centroid through category index.