Markus Metz 40f2d6440a Vlib: break lines only for lines or boundaries 11 tahun lalu
..
Makefile 11e44a917a vlib: Vect_read_colors() added 14 tahun lalu
README 3aa7302eb1 spelling 13 tahun lalu
area.c 2c4ee8ef67 vlib/pg: speed up PostGIS Topology by caching lines (experimental, work in progress) 11 tahun lalu
area_pg.c fcc231090a vlib/pg: fix Vect__get_area_points_pg() 11 tahun lalu
array.c 1b5c5cea0b fix compilation without gdal/ogr 13 tahun lalu
ascii.c 627cf8d1bb v.in.ascii: fatal error when import fails 12 tahun lalu
box.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error 12 tahun lalu
break_lines.c 40f2d6440a Vlib: break lines only for lines or boundaries 11 tahun lalu
break_polygons.c 2881d0edbd Vlib: Vect_break_polygons() stop rtree search on first hit 12 tahun lalu
bridges.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 tahun lalu
buffer.c 1b5c5cea0b fix compilation without gdal/ogr 13 tahun lalu
buffer2.c f2ec32951d fix some doxygen warnings 13 tahun lalu
build.c 664da45523 vlib: set level2 only when built level >= GV_BUILD_NONE 11 tahun lalu
build_nat.c 2e7adedc5c vlib(pg): speed up Vect_get_area|isle_points() for PostGIS Topology 12 tahun lalu
build_ogr.c 55e6a4a3ff vlib(pg): skip features without geometry 13 tahun lalu
build_pg.c 4172bf732b vlib/pg: force GV_BUILD_NONE level when cache is empty 11 tahun lalu
build_sfa.c 35b654fd05 vlib/ogr: empty geometry message cosmetics 12 tahun lalu
cats.c 7eb882569c vlib: added new subrouties to the public API 12 tahun lalu
cindex.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 tahun lalu
clean_nodes.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 tahun lalu
close.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
close_nat.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 tahun lalu
close_ogr.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
close_pg.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
color_read.c 1b5c5cea0b fix compilation without gdal/ogr 13 tahun lalu
color_remove.c 4e31098139 vlib: store alternative color tables to `vcolr2/mapset/name` 14 tahun lalu
color_write.c 1b5c5cea0b fix compilation without gdal/ogr 13 tahun lalu
constraint.c a658901634 Vlib: dox: updating documentation according to V2_read_next_line_nat etc. where Vect_box_overlap is used 13 tahun lalu
copy.c 68fce72c16 vlib/pg: fix copying map features for external formats when using temporary maps 11 tahun lalu
dangles.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 tahun lalu
dbcolumns.c 1dba9b62d4 dox: fixing several doxygen warnings (wrong file names, typos, lt gt chars) 13 tahun lalu
dgraph.c a7132b2eb7 remove debug code from dgraph.c 12 tahun lalu
dgraph.h b06b8a0105 vectorlib: 16 tahun lalu
e_intersect.c c0f639f291 update vectorlib.dox 12 tahun lalu
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 tahun lalu
field.c a0258a1690 vlib: Vect_map_del_dblink(): -1 to delete all dblinks 12 tahun lalu
find.c 46cd09da20 Vlib: update for changed fn defs 13 tahun lalu
geos.c 382f777bf3 fix r56095: do NOT store vector backward version info one place 12 tahun lalu
graph.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 tahun lalu
handler.c 5bcb75e3b6 vlib: free allocated string in error_handler_io() 13 tahun lalu
header.c 8fa64ef176 vlib: Vect_open_tmp_new() implemented 12 tahun lalu
header_finfo.c 696fab0410 vlib: Vect_get_finfo_topology_info() added 11 tahun lalu
hist.c 1a84429e14 some fixes for 'error: format not a string literal and no format arguments [-Werror=format-security]' 12 tahun lalu
init_head.c 8fa64ef176 vlib: Vect_open_tmp_new() implemented 12 tahun lalu
intersect.c 945247d698 Vlib: fix Vect_segment_intersection() 12 tahun lalu
legal_vname.c 22e3e2d77b replace GR_FATAL_* (rasters), GV_FATAL_* (vectors) by G_FATAL_* 13 tahun lalu
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 tahun lalu
level_two.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 tahun lalu
line.c 09b7db1dd9 doxygen errors fixed 13 tahun lalu
list.c e70a921252 change boxlist_add args 13 tahun lalu
local_proto.h 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
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 tahun lalu
merge_lines.c 4d0f88dfb8 Vlib: simplify code 12 tahun lalu
net.c e21edada02 Vlib: Stephan Turek: fix node costs 12 tahun lalu
open.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
open_nat.c 97c3fe995e vlib: fix open topo/cidx for temporary vector maps 12 tahun lalu
open_ogr.c bbbd600dd5 vlib/ogr|pg: remove unused function 12 tahun lalu
open_pg.c 082598877f vlib/pg: fix fid_column usage in several SQL statements 11 tahun lalu
overlap.c d855a1780a Vlib: update constraints which are now hidden in struct 13 tahun lalu
overlay.c 8dd511a034 Vlib overlay: adjust for new topology 13 tahun lalu
pg_local_proto.h 025c13437b vlib/pg: fix clean-up GRASS DB topology tables in full mode 11 tahun lalu
poly.c 46cd09da20 Vlib: update for changed fn defs 13 tahun lalu
read.c 6d39d35b87 Vlib: fix Read_next_line_array() 12 tahun lalu
read_nat.c 382f777bf3 fix r56095: do NOT store vector backward version info one place 12 tahun lalu
read_ogr.c 0764296ef8 dox: reducing doxygen warnings 13 tahun lalu
read_pg.c cde7e51e28 vlib/pg: fix issues in SQL statements related to the schema name 11 tahun lalu
read_sfa.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 tahun lalu
remove_areas.c 3818bd02ac Vlib: enhance Vect_remove_small_areas() 12 tahun lalu
remove_duplicates.c a7d0d33d3a Vlib: speed up Vect_remove_duplicates 12 tahun lalu
rewind.c 7c8d5a94b1 vlib: first steps for full PostGIS topology support 13 tahun lalu
rewind_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 tahun lalu
rewind_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 tahun lalu
rewind_pg.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
rtree_search.c f9b103cf33 Vlib: changed rtree search fn 13 tahun lalu
select.c fa2e73bd88 vlib: Vect_get_line|area|isle_box() return -1 on error 12 tahun lalu
simple_features.c df86491d5a vlib: add Vect_sfa_get_num_features() 12 tahun lalu
sindex.c d1f6f39e07 Vlib: optimize Vect_select_lines_by_box() 12 tahun lalu
snap.c 4457f85045 vlib: Vect_snap_lines(): progress messages should be printed on verbosity level 1 12 tahun lalu
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 tahun lalu
type.c a86e5f71ab vlib: fix Vect_option_to_types() for `type=auto` (v.out.ogr) 12 tahun lalu
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 tahun lalu
write.c 955ec9ab4c vlib: add V2__delete_line_topo_nat() 12 tahun lalu
write_nat.c 548b1c9df3 vlib/pg: fix building PostGIS Topology in update mode (line deleted) 11 tahun lalu
write_ogr.c 12c95080e3 vlib: remove V2_open_new_ogr|pg() from public API 12 tahun lalu
write_pg.c cde7e51e28 vlib/pg: fix issues in SQL statements related to the schema name 11 tahun lalu
write_sfa.c 1de4c17e37 vlib: implement V2__write_area_ogr() + V2__write_area_sfa() 12 tahun lalu

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.