Markus Metz baa791e3e9 avoid struct stat 15 anos atrás
..
Makefile 002bbe23df Keep all library dependencies in Grass.make 15 anos atrás
README da6b6e3a9f orthography 15 anos atrás
area.c b06b8a0105 vectorlib: 16 anos atrás
array.c b06b8a0105 vectorlib: 16 anos atrás
ascii.c 92ba88a4e4 accept D:M:S coords in standard mode (merge from devbr6) 15 anos atrás
box.c b06b8a0105 vectorlib: 16 anos atrás
break_lines.c b06b8a0105 vectorlib: 16 anos atrás
break_polygons.c 62a5737c3b add balanced search tree to lib, update Vlib and segment 15 anos atrás
bridges.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
buffer.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
buffer2.c 73623901d6 added missing headers 15 anos atrás
build.c e62a3956c9 libvect: implement V1/2_delete_line_ogr() 15 anos atrás
build_nat.c aee6f2ede5 only attach isles that are not attached 15 anos atrás
build_ogr.c e62a3956c9 libvect: implement V1/2_delete_line_ogr() 15 anos atrás
cats.c 5e156c2c1a v.clean: OGR support (read access) 15 anos atrás
cindex.c b06b8a0105 vectorlib: 16 anos atrás
clean_nodes.c b06b8a0105 vectorlib: 16 anos atrás
close.c 6d806ab04c support GV_FORMAT_OGR_DIRECT 15 anos atrás
close_nat.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
close_ogr.c 994deb050b initial steps towards direct OGR support (map/layer <-> OGR dsn/layer) 15 anos atrás
constraint.c b06b8a0105 vectorlib: 16 anos atrás
dangles.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
dbcolumns.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
dgraph.c 73623901d6 added missing headers 15 anos atrás
dgraph.h b06b8a0105 vectorlib: 16 anos atrás
e_intersect.c 1118067a86 vlib: modify prototypes to use 'const' 16 anos atrás
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 anos atrás
error.c b06b8a0105 vectorlib: 16 anos atrás
field.c 14a816989c don't set layer to 0 for layers without table 15 anos atrás
find.c b06b8a0105 vectorlib: 16 anos atrás
geos.c bffe7d50e6 Revert https://trac.osgeo.org/grass/changeset/38872 (re-instate https://trac.osgeo.org/grass/changeset/38867) 15 anos atrás
graph.c b06b8a0105 vectorlib: 16 anos atrás
header.c 619b3f6325 Eliminate G_index(), G_rindex(); replace with strchr(), strrchr() 15 anos atrás
hist.c f2f1c00894 Vect_hist_copy: skip empty old hist 15 anos atrás
init_head.c bfe1fa1a17 initialize and set proj and zone in vector head 16 anos atrás
intersect.c 69268e2741 Vlib new spatial index 16 anos atrás
legal_vname.c 69ac420b2f gislib G__name_is_fully_qualified() renamed to 16 anos atrás
level.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
level_two.c 654df1b78e long -> plus_t 15 anos atrás
line.c 2b364a9280 vlib: new fns - Vect_line_get_point() & Vect_get_num_line_points() 15 anos atrás
list.c 2b364a9280 vlib: new fns - Vect_line_get_point() & Vect_get_num_line_points() 15 anos atrás
map.c baa791e3e9 avoid struct stat 15 anos atrás
merge_lines.c b06b8a0105 vectorlib: 16 anos atrás
net.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
open.c 31176b9605 fix https://trac.osgeo.org/grass/changeset/42320 15 anos atrás
open_nat.c 31176b9605 fix https://trac.osgeo.org/grass/changeset/42320 15 anos atrás
open_ogr.c 9bc3508fdb cosmetics 15 anos atrás
overlap.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
overlay.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
poly.c b06b8a0105 vectorlib: 16 anos atrás
read.c d308642604 vlib: Vect_get_field_number() added 15 anos atrás
read_nat.c b06b8a0105 vectorlib: 16 anos atrás
read_ogr.c 4b918ac7d8 vlib: fix reading areas from OGR sources 15 anos atrás
remove_areas.c f7d1fde6fa partially revert https://trac.osgeo.org/grass/changeset/42962 15 anos atrás
remove_duplicates.c b06b8a0105 vectorlib: 16 anos atrás
rewind.c 6d806ab04c support GV_FORMAT_OGR_DIRECT 15 anos atrás
rewind_nat.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
rewind_ogr.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
select.c b06b8a0105 vectorlib: 16 anos atrás
simple_features.c 16ef6508ae fix prototype names (SFA) 15 anos atrás
sindex.c 309fab1b5f select 3D lines with 2D polygon 15 anos atrás
snap.c 62a5737c3b add balanced search tree to lib, update Vlib and segment 15 anos atrás
tin.c b06b8a0105 vectorlib: 16 anos atrás
type.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
window.c c6a35b1124 Vect.h renamed to vector.h 16 anos atrás
write.c 021f34879d format 15 anos atrás
write_nat.c 61b671bb99 cosmetics 15 anos atrás
write_ogr.c 6221b2619e vlib: add missing doxygen strings 15 anos atrás

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.