Markus Metz c0f639f291 update vectorlib.dox před 12 roky
..
Makefile 11e44a917a vlib: Vect_read_colors() added před 14 roky
README 3aa7302eb1 spelling před 13 roky
area.c 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology před 12 roky
area_pg.c 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology před 12 roky
array.c 1b5c5cea0b fix compilation without gdal/ogr před 13 roky
ascii.c 627cf8d1bb v.in.ascii: fatal error when import fails před 12 roky
box.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error před 12 roky
break_lines.c 16ae7ee9cc Vlib: reinstate Vect_break_lines() speed-up (sorry for the noise) před 12 roky
break_polygons.c 2881d0edbd Vlib: Vect_break_polygons() stop rtree search on first hit před 12 roky
bridges.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() před 12 roky
buffer.c 1b5c5cea0b fix compilation without gdal/ogr před 13 roky
buffer2.c f2ec32951d fix some doxygen warnings před 13 roky
build.c 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology před 12 roky
build_nat.c 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology před 12 roky
build_ogr.c 55e6a4a3ff vlib(pg): skip features without geometry před 13 roky
build_pg.c b6739a9cc6 vlib(pg): fix updating topogeom data for faces před 12 roky
build_sfa.c ac6194c549 vlib(pg): implement PG version for Vect_get_area_points() před 12 roky
cats.c 7eb882569c vlib: added new subrouties to the public API před 12 roky
cindex.c 6d01929355 Vlib: use custom bsearch for Vect_cidx_find_next() před 12 roky
clean_nodes.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 před 14 roky
close.c 603b4e8a32 vlip(pg): fix creating topogeometry objects před 12 roky
close_nat.c a644db1e21 vlib: fix https://trac.osgeo.org/grass/changeset/55681 side-affect for external formats (Vect__delete() recursive call) před 12 roky
close_ogr.c 60496bf0ad vlib: when writing to external formats (defined by v.external.out) vector library creates link automatically when closing the map (no need to run v.external explicitly) před 13 roky
close_pg.c ac6194c549 vlib(pg): implement PG version for Vect_get_area_points() před 12 roky
color_read.c 1b5c5cea0b fix compilation without gdal/ogr před 13 roky
color_remove.c 4e31098139 vlib: store alternative color tables to `vcolr2/mapset/name` před 14 roky
color_write.c 1b5c5cea0b fix compilation without gdal/ogr před 13 roky
constraint.c a658901634 Vlib: dox: updating documentation according to V2_read_next_line_nat etc. where Vect_box_overlap is used před 13 roky
copy.c 8e3e0168e6 vlib: add GRASS_VECTOR_EXTERNAL_IGNORE variable před 12 roky
dangles.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 před 14 roky
dbcolumns.c 1dba9b62d4 dox: fixing several doxygen warnings (wrong file names, typos, lt gt chars) před 13 roky
dgraph.c c0f639f291 update vectorlib.dox před 12 roky
dgraph.h b06b8a0105 vectorlib: před 16 roky
e_intersect.c c0f639f291 update vectorlib.dox před 12 roky
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and před 16 roky
field.c a0258a1690 vlib: Vect_map_del_dblink(): -1 to delete all dblinks před 12 roky
find.c 46cd09da20 Vlib: update for changed fn defs před 13 roky
geos.c 382f777bf3 fix r56095: do NOT store vector backward version info one place před 12 roky
graph.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 před 14 roky
handler.c 5bcb75e3b6 vlib: free allocated string in error_handler_io() před 13 roky
header.c 8fa64ef176 vlib: Vect_open_tmp_new() implemented před 12 roky
header_finfo.c a1a453a0f4 vlib: Vect_get_finfo() returns for native format NULL před 12 roky
hist.c 60496bf0ad vlib: when writing to external formats (defined by v.external.out) vector library creates link automatically when closing the map (no need to run v.external explicitly) před 13 roky
init_head.c 8fa64ef176 vlib: Vect_open_tmp_new() implemented před 12 roky
intersect.c 945247d698 Vlib: fix Vect_segment_intersection() před 12 roky
legal_vname.c 22e3e2d77b replace GR_FATAL_* (rasters), GV_FATAL_* (vectors) by G_FATAL_* před 13 roky
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) před 14 roky
level_two.c 6161703763 vlib(pg): add_line_to_topo_pg() and delete_line_from_topo_pg() added před 12 roky
line.c 09b7db1dd9 doxygen errors fixed před 13 roky
list.c e70a921252 change boxlist_add args před 13 roky
local_proto.h 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology před 12 roky
map.c 1f8de160fb Vlib: fix https://trac.osgeo.org/grass/changeset/55401, windows can not delete files that are open, we have fixed that problem here before před 12 roky
merge_lines.c 4d0f88dfb8 Vlib: simplify code před 12 roky
net.c e21edada02 Vlib: Stephan Turek: fix node costs před 12 roky
open.c 8e3e0168e6 vlib: add GRASS_VECTOR_EXTERNAL_IGNORE variable před 12 roky
open_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place před 12 roky
open_ogr.c bbbd600dd5 vlib/ogr|pg: remove unused function před 12 roky
open_pg.c 769ab40f2d vlib(pg): enable attaching centroids for topo-geo-only mode před 12 roky
overlap.c d855a1780a Vlib: update constraints which are now hidden in struct před 13 roky
overlay.c 8dd511a034 Vlib overlay: adjust for new topology před 13 roky
pg_local_proto.h 3c97c50cd8 vlib(pg): store GRASS topology in DB (can be optionally disabled by the user) před 12 roky
poly.c 46cd09da20 Vlib: update for changed fn defs před 13 roky
read.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() před 12 roky
read_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place před 12 roky
read_ogr.c 0764296ef8 dox: reducing doxygen warnings před 13 roky
read_pg.c ac6194c549 vlib(pg): implement PG version for Vect_get_area_points() před 12 roky
read_sfa.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() před 12 roky
remove_areas.c 765ea55858 Vect_remove_small_areas(): report number of removed areas on standard message level (it's quite important info) před 12 roky
remove_duplicates.c a7d0d33d3a Vlib: speed up Vect_remove_duplicates před 12 roky
rewind.c 7c8d5a94b1 vlib: first steps for full PostGIS topology support před 13 roky
rewind_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) před 13 roky
rewind_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) před 13 roky
rewind_pg.c ac6194c549 vlib(pg): implement PG version for Vect_get_area_points() před 12 roky
rtree_search.c f9b103cf33 Vlib: changed rtree search fn před 13 roky
select.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error před 12 roky
simple_features.c df86491d5a vlib: add Vect_sfa_get_num_features() před 12 roky
sindex.c d1f6f39e07 Vlib: optimize Vect_select_lines_by_box() před 12 roky
snap.c 4457f85045 vlib: Vect_snap_lines(): progress messages should be printed on verbosity level 1 před 12 roky
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) před 14 roky
type.c a86e5f71ab vlib: fix Vect_option_to_types() for `type=auto` (v.out.ogr) před 12 roky
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) před 14 roky
write.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() před 12 roky
write_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place před 12 roky
write_ogr.c 12c95080e3 vlib: remove V2_open_new_ogr|pg() from public API před 12 roky
write_pg.c 3c97c50cd8 vlib(pg): store GRASS topology in DB (can be optionally disabled by the user) před 12 roky
write_sfa.c 1de4c17e37 vlib: implement V2__write_area_ogr() + V2__write_area_sfa() před 12 roky

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.