Markus Metz 71348bf793 Vlib: fix segfault in ascii export (backport https://trac.osgeo.org/grass/changeset/63596) 10 vuotta sitten
..
Makefile 11e44a917a vlib: Vect_read_colors() added 14 vuotta sitten
README 3aa7302eb1 spelling 13 vuotta sitten
area.c 3489870fb6 Vlib: fix area perimeter 11 vuotta sitten
area_pg.c fcc231090a vlib/pg: fix Vect__get_area_points_pg() 11 vuotta sitten
array.c 1b5c5cea0b fix compilation without gdal/ogr 13 vuotta sitten
ascii.c 71348bf793 Vlib: fix segfault in ascii export (backport https://trac.osgeo.org/grass/changeset/63596) 10 vuotta sitten
box.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error 12 vuotta sitten
break_lines.c 40f2d6440a Vlib: break lines only for lines or boundaries 11 vuotta sitten
break_polygons.c 5d681c6a3f hcho: Vect_break_polygons_file: message synced with the memory version 11 vuotta sitten
bridges.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 vuotta sitten
buffer.c 1b5c5cea0b fix compilation without gdal/ogr 13 vuotta sitten
buffer2.c f2ec32951d fix some doxygen warnings 13 vuotta sitten
build.c 65d3254deb vlib: fix typo in plus data variable 10 vuotta sitten
build_nat.c f8f6ee0284 A correction of plural form text strings to use the new ngettext support 11 vuotta sitten
build_ogr.c 55e6a4a3ff vlib(pg): skip features without geometry 13 vuotta sitten
build_pg.c af9cbc57a5 vlib/pg: fix creating simple features from topo - force level 2 and write also polygons without category 11 vuotta sitten
build_sfa.c f8f6ee0284 A correction of plural form text strings to use the new ngettext support 11 vuotta sitten
cats.c f8f6ee0284 A correction of plural form text strings to use the new ngettext support 11 vuotta sitten
cindex.c 5a17d3add6 vlib: implement Vect_cidx_get_unique_cats_by_index() 11 vuotta sitten
clean_nodes.c ab5273d4c3 hcho: Vlib: translate "Removed duplicates" 11 vuotta sitten
close.c 44641f40af vlib: cosmetics when closing spatial index file 11 vuotta sitten
close_nat.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 vuotta sitten
close_ogr.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 vuotta sitten
close_pg.c c8ee0af179 vlib/pg: add field_info to Format_info_pg struct 11 vuotta sitten
color_read.c 993d9ec420 Vlib: backport from trunk https://trac.osgeo.org/grass/changeset/60225 11 vuotta sitten
color_remove.c 4e31098139 vlib: store alternative color tables to `vcolr2/mapset/name` 14 vuotta sitten
color_write.c 1b5c5cea0b fix compilation without gdal/ogr 13 vuotta sitten
constraint.c a658901634 Vlib: dox: updating documentation according to V2_read_next_line_nat etc. where Vect_box_overlap is used 13 vuotta sitten
copy.c af9cbc57a5 vlib/pg: fix creating simple features from topo - force level 2 and write also polygons without category 11 vuotta sitten
dangles.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 vuotta sitten
dbcolumns.c 1dba9b62d4 dox: fixing several doxygen warnings (wrong file names, typos, lt gt chars) 13 vuotta sitten
dgraph.c a7132b2eb7 remove debug code from dgraph.c 12 vuotta sitten
dgraph.h b06b8a0105 vectorlib: 16 vuotta sitten
e_intersect.c c0f639f291 update vectorlib.dox 12 vuotta sitten
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 vuotta sitten
field.c a0258a1690 vlib: Vect_map_del_dblink(): -1 to delete all dblinks 12 vuotta sitten
find.c 46cd09da20 Vlib: update for changed fn defs 13 vuotta sitten
geos.c 415149547a Vlib: fix memory leaks in read GEOS 10 vuotta sitten
graph.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 vuotta sitten
handler.c 5bcb75e3b6 vlib: free allocated string in error_handler_io() 13 vuotta sitten
header.c 27ef98a139 remove unused PROJECTION_SP (merge from trunk, https://trac.osgeo.org/grass/changeset/62061) 10 vuotta sitten
header_finfo.c 696fab0410 vlib: Vect_get_finfo_topology_info() added 11 vuotta sitten
hist.c f6731c1c11 vlib: Vect_hist_command() check return value of Vect_hist_write() 10 vuotta sitten
init_head.c 7ce2b57b20 Vlib: fix G_zero() usage 11 vuotta sitten
intersect.c 945247d698 Vlib: fix Vect_segment_intersection() 12 vuotta sitten
legal_vname.c f86f210888 Vlib: fix https://trac.osgeo.org/grass/changeset/12350, sync Vect_check_input_output_name() to Vect_open_new() 10 vuotta sitten
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 vuotta sitten
level_two.c bbad9cab92 Vlib: revert https://trac.osgeo.org/grass/changeset/60691, fix the module instead (trunk, https://trac.osgeo.org/grass/changeset/61447) 11 vuotta sitten
line.c 09b7db1dd9 doxygen errors fixed 13 vuotta sitten
list.c e70a921252 change boxlist_add args 12 vuotta sitten
local_proto.h 972d1ba55e vlib/pg: implement creating simple features from topogeometry data 11 vuotta sitten
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 12 vuotta sitten
merge_lines.c 22ad13d971 Vlib: merge only lines or boundaries 11 vuotta sitten
net.c e21edada02 Vlib: Stephan Turek: fix node costs 12 vuotta sitten
open.c 0dc3a9ebc1 Vlib: sync messages 10 vuotta sitten
open_nat.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 vuotta sitten
open_ogr.c bbbd600dd5 vlib/ogr|pg: remove unused function 12 vuotta sitten
open_pg.c de28ed30e0 diglib: change content of list of changed lines 10 vuotta sitten
overlap.c d855a1780a Vlib: update constraints which are now hidden in struct 13 vuotta sitten
overlay.c 8dd511a034 Vlib overlay: adjust for new topology 12 vuotta sitten
pg_local_proto.h 972d1ba55e vlib/pg: implement creating simple features from topogeometry data 11 vuotta sitten
poly.c 13572839fa Vlib: fix linkm usage 11 vuotta sitten
read.c 5a3e656249 Vlib: fix https://trac.osgeo.org/grass/changeset/55582, restore behaviour of Vect_*_alive() fns 10 vuotta sitten
read_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place 12 vuotta sitten
read_ogr.c 0764296ef8 dox: reducing doxygen warnings 13 vuotta sitten
read_pg.c 972d1ba55e vlib/pg: implement creating simple features from topogeometry data 11 vuotta sitten
read_sfa.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 vuotta sitten
remove_areas.c 30daef5aea Vlib: disable fast version of Vect_remove_small_areas() 11 vuotta sitten
remove_duplicates.c ab5273d4c3 hcho: Vlib: translate "Removed duplicates" 11 vuotta sitten
rewind.c 7c8d5a94b1 vlib: first steps for full PostGIS topology support 13 vuotta sitten
rewind_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 vuotta sitten
rewind_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 vuotta sitten
rewind_pg.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 vuotta sitten
rtree_search.c f9b103cf33 Vlib: changed rtree search fn 13 vuotta sitten
select.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error 12 vuotta sitten
simple_features.c e53a681469 vlib: fix sf table name handling 11 vuotta sitten
sindex.c d1f6f39e07 Vlib: optimize Vect_select_lines_by_box() 12 vuotta sitten
snap.c 4457f85045 vlib: Vect_snap_lines(): progress messages should be printed on verbosity level 1 12 vuotta sitten
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 vuotta sitten
type.c a86e5f71ab vlib: fix Vect_option_to_types() for `type=auto` (v.out.ogr) 12 vuotta sitten
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 vuotta sitten
write.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 vuotta sitten
write_nat.c 95d295b455 Vlib: fix memory leak 10 vuotta sitten
write_ogr.c 12c95080e3 vlib: remove V2_open_new_ogr|pg() from public API 12 vuotta sitten
write_pg.c 4939da3308 fix https://trac.osgeo.org/grass/ticket/2436 (v.out.postgis: Unsupported geometry type / Unable to write feature in vector map) 10 vuotta sitten
write_sfa.c 1de4c17e37 vlib: implement V2__write_area_ogr() + V2__write_area_sfa() 12 vuotta sitten

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.