Markus Metz 9052abb562 fix debug level 14 years ago
..
Makefile becfaadeb8 spatial ref feature needs PROJ_INC (via gprojects.h) 14 years ago
README da6b6e3a9f orthography 15 years ago
area.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
array.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
ascii.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
box.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
break_lines.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
break_polygons.c fa44307ff5 add file-based version of Vect_break_polygons() 14 years ago
bridges.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
buffer.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
buffer2.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
build.c 8cad6316a6 Vlib: new spatial index 14 years ago
build_nat.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
build_ogr.c 44f7f93a2d vlib: introduce Vect_get_ogr_geometry_type() and V2_open_new_ogr() 14 years ago
cats.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
cindex.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
clean_nodes.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
close.c 8cad6316a6 Vlib: new spatial index 14 years ago
close_nat.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
close_ogr.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
constraint.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
dangles.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
dbcolumns.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
dgraph.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
dgraph.h b06b8a0105 vectorlib: 16 years ago
e_intersect.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 years ago
error.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
field.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
find.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
geos.c bffe7d50e6 Revert https://trac.osgeo.org/grass/changeset/38872 (re-instate https://trac.osgeo.org/grass/changeset/38867) 15 years ago
graph.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
header.c cef35690cf vlib: initial suppor for 3D vector data linked via OGR 14 years ago
hist.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
init_head.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
intersect.c 8cad6316a6 Vlib: new spatial index 14 years ago
legal_vname.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
level_two.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
line.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
list.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
map.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
merge_lines.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
net.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
open.c 9052abb562 fix debug level 14 years ago
open_nat.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
open_ogr.c cef35690cf vlib: initial suppor for 3D vector data linked via OGR 14 years ago
overlap.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
overlay.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
poly.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
read.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
read_nat.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
read_ogr.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
remove_areas.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
remove_duplicates.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
rewind.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
rewind_nat.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
rewind_ogr.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
select.c 8cad6316a6 Vlib: new spatial index 14 years ago
simple_features.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
sindex.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
snap.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
type.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 years ago
write.c 021f34879d format 15 years ago
write_nat.c 61b671bb99 cosmetics 15 years ago
write_ogr.c 44f7f93a2d vlib: introduce Vect_get_ogr_geometry_type() and V2_open_new_ogr() 14 years ago

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().
Se 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.