Martin Landa 1e185bb080 fix bug in V2_read_next_line_ogr 15 vuotta sitten
..
Makefile 002bbe23df Keep all library dependencies in Grass.make 15 vuotta sitten
README da6b6e3a9f orthography 15 vuotta sitten
area.c b06b8a0105 vectorlib: 16 vuotta sitten
array.c b06b8a0105 vectorlib: 16 vuotta sitten
ascii.c d554428909 Simple Features API: Vect_sfa_write_line_wkt() -> Vect_sfa_line_astext() 15 vuotta sitten
box.c b06b8a0105 vectorlib: 16 vuotta sitten
break_lines.c b06b8a0105 vectorlib: 16 vuotta sitten
break_polygons.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
bridges.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
buffer.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
buffer2.c 73623901d6 added missing headers 15 vuotta sitten
build.c 6d806ab04c support GV_FORMAT_OGR_DIRECT 15 vuotta sitten
build_nat.c b06b8a0105 vectorlib: 16 vuotta sitten
build_ogr.c 5a7ebb5211 OGR support: some cosmetics in v.info/v.external 15 vuotta sitten
cats.c 2b364a9280 vlib: new fns - Vect_line_get_point() & Vect_get_num_line_points() 16 vuotta sitten
cindex.c b06b8a0105 vectorlib: 16 vuotta sitten
clean_nodes.c b06b8a0105 vectorlib: 16 vuotta sitten
close.c 6d806ab04c support GV_FORMAT_OGR_DIRECT 15 vuotta sitten
close_nat.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
close_ogr.c 994deb050b initial steps towards direct OGR support (map/layer <-> OGR dsn/layer) 15 vuotta sitten
constraint.c b06b8a0105 vectorlib: 16 vuotta sitten
dangles.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
dbcolumns.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
dgraph.c 73623901d6 added missing headers 15 vuotta sitten
dgraph.h b06b8a0105 vectorlib: 16 vuotta sitten
e_intersect.c 1118067a86 vlib: modify prototypes to use 'const' 16 vuotta sitten
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 vuotta sitten
error.c b06b8a0105 vectorlib: 16 vuotta sitten
field.c d308642604 vlib: Vect_get_field_number() added 15 vuotta sitten
find.c b06b8a0105 vectorlib: 16 vuotta sitten
geos.c bffe7d50e6 Revert https://trac.osgeo.org/grass/changeset/38872 (re-instate https://trac.osgeo.org/grass/changeset/38867) 15 vuotta sitten
graph.c b06b8a0105 vectorlib: 16 vuotta sitten
header.c b924426015 * print more useful info about OGR layers in v.info 15 vuotta sitten
hist.c 37c0e5bdfc Replace fseek/ftell with G_fseek/G_ftell 16 vuotta sitten
init_head.c bfe1fa1a17 initialize and set proj and zone in vector head 16 vuotta sitten
intersect.c 69268e2741 Vlib new spatial index 16 vuotta sitten
legal_vname.c 69ac420b2f gislib G__name_is_fully_qualified() renamed to 16 vuotta sitten
level.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
level_two.c 654df1b78e long -> plus_t 15 vuotta sitten
line.c 2b364a9280 vlib: new fns - Vect_line_get_point() & Vect_get_num_line_points() 16 vuotta sitten
list.c 2b364a9280 vlib: new fns - Vect_line_get_point() & Vect_get_num_line_points() 16 vuotta sitten
map.c 69ac420b2f gislib G__name_is_fully_qualified() renamed to 16 vuotta sitten
merge_lines.c b06b8a0105 vectorlib: 16 vuotta sitten
net.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
open.c b251bc6589 disable unused feature 15 vuotta sitten
open_nat.c 994deb050b initial steps towards direct OGR support (map/layer <-> OGR dsn/layer) 15 vuotta sitten
open_ogr.c 9bc3508fdb cosmetics 15 vuotta sitten
overlap.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
overlay.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
poly.c b06b8a0105 vectorlib: 16 vuotta sitten
read.c d308642604 vlib: Vect_get_field_number() added 15 vuotta sitten
read_nat.c b06b8a0105 vectorlib: 16 vuotta sitten
read_ogr.c 1e185bb080 fix bug in V2_read_next_line_ogr 15 vuotta sitten
remove_areas.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
remove_duplicates.c b06b8a0105 vectorlib: 16 vuotta sitten
rewind.c 6d806ab04c support GV_FORMAT_OGR_DIRECT 15 vuotta sitten
rewind_nat.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
rewind_ogr.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
select.c b06b8a0105 vectorlib: 16 vuotta sitten
simple_features.c 16ef6508ae fix prototype names (SFA) 15 vuotta sitten
sindex.c b06b8a0105 vectorlib: 16 vuotta sitten
snap.c 99fbd9c66a v.buffer: OGR support (read access) 15 vuotta sitten
tin.c b06b8a0105 vectorlib: 16 vuotta sitten
type.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
window.c c6a35b1124 Vect.h renamed to vector.h 16 vuotta sitten
write.c f45f93da9e vlib: very initial OGR write support (level 1 only, taken from 15 vuotta sitten
write_nat.c b06b8a0105 vectorlib: 16 vuotta sitten
write_ogr.c f45f93da9e vlib: very initial OGR write support (level 1 only, taken from 15 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().
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.