|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
Lines cache for reading feature (non-native formats) More...
#include <dig_structs.h>

Data Fields | |
| struct line_pnts ** | lines |
| Lines array. | |
| int * | lines_types |
| List of line types (GV_POINT, GV_LINE, ...) | |
| int * | lines_cats |
| List of line cats (used only for PostGIS Topology access) | |
| int | lines_alloc |
| Number of allocated lines in cache. | |
| int | lines_num |
| Number of lines which forms current feature. | |
| int | lines_next |
| Next line to be read from cache. | |
| long | fid |
| Feature id. | |
| SF_FeatureType | sf_type |
| Simple feature type (currently used only by PG format) | |
| int | ctype |
| Cache type. | |
Lines cache for reading feature (non-native formats)
Definition at line 448 of file dig_structs.h.
| int Format_info_cache::ctype |
Cache type.
Currently used only by PostGIS Topology which allows caching the whole map (CACHE_MAP)
Definition at line 494 of file dig_structs.h.
| long Format_info_cache::fid |
Feature id.
Definition at line 484 of file dig_structs.h.
Lines array.
Some simple features require more allocated lines (eg. polygon with more rings, multipoint, or geometrycollection)
Line cache is also used for PostGIS Topology to store single topological element (ctype == CACHE_FEATURE) or all elements from the map (ctype == CACHE_MAP) to avoid random access which is very costly.
Definition at line 460 of file dig_structs.h.
Referenced by Vect__free_cache(), and Vect__reallocate_cache().
| int Format_info_cache::lines_alloc |
Number of allocated lines in cache.
Definition at line 472 of file dig_structs.h.
Referenced by Vect__free_cache(), and Vect__reallocate_cache().
| int* Format_info_cache::lines_cats |
List of line cats (used only for PostGIS Topology access)
Definition at line 468 of file dig_structs.h.
Referenced by Vect__free_cache(), and Vect__reallocate_cache().
| int Format_info_cache::lines_next |
Next line to be read from cache.
Definition at line 480 of file dig_structs.h.
| int Format_info_cache::lines_num |
Number of lines which forms current feature.
Definition at line 476 of file dig_structs.h.
| int* Format_info_cache::lines_types |
List of line types (GV_POINT, GV_LINE, ...)
Definition at line 464 of file dig_structs.h.
Referenced by Vect__free_cache(), and Vect__reallocate_cache().
| SF_FeatureType Format_info_cache::sf_type |
Simple feature type (currently used only by PG format)
Definition at line 488 of file dig_structs.h.