Martin Landa a061ff0f0a vlib(pg): improve reading PostGIS features 13 роки тому
..
Makefile 11e44a917a vlib: Vect_read_colors() added 14 роки тому
README 3aa7302eb1 spelling 13 роки тому
area.c d5e1638c88 vlib: fix typo 13 роки тому
array.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
ascii.c 413741ef6a vlib: don't call G_fatal_error() when unable to write/delete/rewrite a features, return -1 to indicate error 13 роки тому
box.c 6b34bd8eac vlib: Vect_get_line_box(): set T/B to PORT_DOUBLE_MAX for 2D data 14 роки тому
break_lines.c 061680361c add new fns for topology check 13 роки тому
break_polygons.c d1f8b42521 typos fixed, part 2 (bug trac https://trac.osgeo.org/grass/ticket/1591) 13 роки тому
bridges.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
buffer.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
buffer2.c bcd7de2528 vector lib update for v.buffer (backport from devbr) 14 роки тому
build.c 7712f5dbc6 vlib: update prototype for Vect_build_sidx_from_topo() 13 роки тому
build_nat.c 67e97ddd99 vlib: move generic fns from build_nat.c to build.c 13 роки тому
build_ogr.c 55e6a4a3ff vlib(pg): skip features without geometry 13 роки тому
build_pg.c d20b52ac6b vlib(pg): close transaction when unable to insert new feature 13 роки тому
build_sfa.c 55e6a4a3ff vlib(pg): skip features without geometry 13 роки тому
cats.c 476dfb31ee vlib: Vect_cat_get() now return num of found cats for given field 14 роки тому
cindex.c 0a381c333d vlib:cindex.c: cosmetics in doxygen strings 14 роки тому
clean_nodes.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
close.c b367dca9d5 vlib: force to write out sidx when closing the map 13 роки тому
close_nat.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
close_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
close_pg.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
color_read.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
color_remove.c 4e31098139 vlib: store alternative color tables to `vcolr2/mapset/name` 14 роки тому
color_write.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
constraint.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
dangles.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
dbcolumns.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
dgraph.c bcd7de2528 vector lib update for v.buffer (backport from devbr) 14 роки тому
dgraph.h b06b8a0105 vectorlib: 16 роки тому
e_intersect.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
e_intersect.h 11cd111cbd Vlib: Vect_line_buffe2(), Vect_area_buffer2(), Vect_point_buffer2() and 16 роки тому
field.c 6edb532698 vlib/pg: support reading geometry collections 13 роки тому
find.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
geos.c 8e11a4e54f add mising headers (compiling without gdal/ogr) 14 роки тому
graph.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
handler.c 5bcb75e3b6 vlib: free allocated string in error_handler_io() 13 роки тому
header.c b44565fa5c vlib: Vect_get_finfo_geometry_type() - return lowercase (same for OGR and PostGIS links) 13 роки тому
hist.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
init_head.c 1655b43918 vlib(pg): introduce V1_rewrite_line_pg() and V1_rewrite_line_sfa() 13 роки тому
intersect.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
legal_vname.c 22e3e2d77b replace GR_FATAL_* (rasters), GV_FATAL_* (vectors) by G_FATAL_* 13 роки тому
level.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 роки тому
level_two.c 65f72a5848 vlib: allow to optionally maintain list of updated lines/nodes 13 роки тому
line.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
list.c 56130a84b8 fix typo 14 роки тому
map.c 1655b43918 vlib(pg): introduce V1_rewrite_line_pg() and V1_rewrite_line_sfa() 13 роки тому
merge_lines.c f0e951bedf remove bounding boxes from vector topology (Radim's TODO): update Vlib 14 роки тому
net.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
open.c 1655b43918 vlib(pg): introduce V1_rewrite_line_pg() and V1_rewrite_line_sfa() 13 роки тому
open_nat.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
open_ogr.c a061ff0f0a vlib(pg): improve reading PostGIS features 13 роки тому
open_pg.c a2e736ad23 vlib(pg): fix compilation issue (no-gdal) 13 роки тому
overlap.c d855a1780a Vlib: update constraints which are now hidden in struct 13 роки тому
overlay.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
pg_local_proto.h 8eb93cfd41 vlib(pg): implement V1_write_line_pg() and V2_write_line_sfa() 13 роки тому
poly.c 6edb532698 vlib/pg: support reading geometry collections 13 роки тому
read.c 5dbe70f5cb vlib: Vect_read_line(): don't call G_fatal_error(), return error code 13 роки тому
read_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
read_ogr.c a061ff0f0a vlib(pg): improve reading PostGIS features 13 роки тому
read_pg.c a061ff0f0a vlib(pg): improve reading PostGIS features 13 роки тому
read_sfa.c a061ff0f0a vlib(pg): improve reading PostGIS features 13 роки тому
remove_areas.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
remove_duplicates.c 1b5c5cea0b fix compilation without gdal/ogr 13 роки тому
rewind.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
rewind_nat.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
rewind_ogr.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
rewind_pg.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
select.c 5525c89b83 changed RTree struct names: update Vlib 14 роки тому
simple_features.c 963bdb2b5d vlib: *initial* support for native reading PostGIS data (without OGR library) 13 роки тому
sindex.c ec326e4bb2 remove redundant code in vector lib: update Vlib 14 роки тому
snap.c 5525c89b83 changed RTree struct names: update Vlib 14 роки тому
tin.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 роки тому
type.c 19c13ce399 update headers, revert https://trac.osgeo.org/grass/changeset/37860 14 роки тому
window.c 1ae866496c vlib: unify \file doxygen instruction (cosmetics) 14 роки тому
write.c 413741ef6a vlib: don't call G_fatal_error() when unable to write/delete/rewrite a features, return -1 to indicate error 13 роки тому
write_nat.c 8eb93cfd41 vlib(pg): implement V1_write_line_pg() and V2_write_line_sfa() 13 роки тому
write_ogr.c 55e6a4a3ff vlib(pg): skip features without geometry 13 роки тому
write_pg.c 55e6a4a3ff vlib(pg): skip features without geometry 13 роки тому
write_sfa.c 55e6a4a3ff vlib(pg): skip features without geometry 13 роки тому

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.