GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
Go to the source code of this file.
Macros | |
#define | GV_DIRECTORY "vector" |
Name of vector directory. More... | |
#define | GV_FRMT_ELEMENT "frmt" |
Format description, data location (OGR) More... | |
#define | GV_COOR_ELEMENT "coor" |
Native format, coordinates. More... | |
#define | GV_HEAD_ELEMENT "head" |
Native format, header information. More... | |
#define | GV_DBLN_ELEMENT "dbln" |
Native format, link to database. More... | |
#define | GV_HIST_ELEMENT "hist" |
Native format, history file. More... | |
#define | GV_TOPO_ELEMENT "topo" |
Native format, topology file. More... | |
#define | GV_SIDX_ELEMENT "sidx" |
Native format, spatial index. More... | |
#define | GV_CIDX_ELEMENT "cidx" |
Native format, category index. More... | |
#define | GV_FIDX_ELEMENT "fidx" |
External format (OGR), feature index. More... | |
#define | GV_COLR_ELEMENT "colr" |
Color table. More... | |
#define | GV_COLR2_DIRECTORY "vcolr2" |
Name of directory for alternative color tables. More... | |
#define | GV_TIMESTAMP_ELEMENT "timestamp" |
Name of the timestamp file. More... | |
#define | PORT_DOUBLE 8 |
Sizes of types used in portable format (different names used in Vlib/ and diglib/ for the same thing) More... | |
#define | PORT_FLOAT 4 |
#define | PORT_LONG 4 |
#define | PORT_INT 4 |
#define | PORT_SHORT 2 |
#define | PORT_CHAR 1 |
#define | PORT_OFF_T 8 |
#define | DBL_SIZ 8 |
replace by PORT_* in Vlib later and remove : More... | |
#define | FLT_SIZ 4 |
#define | LNG_SIZ 4 |
#define | SHRT_SIZ 2 |
#define | PORT_DOUBLE_MAX 1.7976931348623157e+308 |
Limits for portable types. More... | |
#define | PORT_DOUBLE_MIN 2.2250738585072014e-308 |
#define | PORT_FLOAT_MAX 3.40282347e+38F |
#define | PORT_FLOAT_MIN 1.17549435e-38F |
#define | PORT_LONG_MAX 2147483647L |
#define | PORT_LONG_MIN (-2147483647L) |
#define | PORT_INT_MAX 2147483647 |
#define | PORT_INT_MIN (-2147483647) |
#define | PORT_SHORT_MAX 32767 |
#define | PORT_SHORT_MIN (-32768) |
#define | PORT_CHAR_MAX 127 |
#define | PORT_CHAR_MIN (-128) |
#define | GV_FORMAT_NATIVE 0 |
Geometry data formats supported by lib Don't change GV_FORMAT_* values, this order is hardcoded in lib. More... | |
#define | GV_FORMAT_OGR 1 |
OGR format. More... | |
#define | GV_FORMAT_OGR_DIRECT 2 |
OGR format (direct access) More... | |
#define | GV_FORMAT_POSTGIS 3 |
PostGIS format. More... | |
#define | GV_TOPO_NATIVE 0 |
GRASS topology - native format. More... | |
#define | GV_TOPO_PSEUDO 1 |
Pseudo-topology - external simple features (OGR/PostGIS) format. More... | |
#define | GV_TOPO_POSTGIS 2 |
PostGIS topology - external PostGIS format. More... | |
#define | GV_1TABLE 0 |
One table linked to vector map. More... | |
#define | GV_MTABLE 1 |
More tables linked to vector map. More... | |
#define | GV_MODE_READ 0 |
Read-only vector map open mode. More... | |
#define | GV_MODE_WRITE 1 |
Write vector map open mode. More... | |
#define | GV_MODE_RW 2 |
Read-write vector map open mode. More... | |
#define | VECT_OPEN_CODE 0x5522AA22 |
Vector map open code. More... | |
#define | VECT_CLOSED_CODE 0x22AA2255 |
Vector map close code. More... | |
#define | LEVEL_1 1 |
Vector level - without topology. More... | |
#define | LEVEL_2 2 |
Vector level - with 2D topology. More... | |
#define | LEVEL_3 3 |
Vector level - with 3D topology (not implemented yet) More... | |
#define | GV_BUILD_NONE 0 |
Topology levels - nothing to build. More... | |
#define | GV_BUILD_BASE 1 |
Topology levels - basic level (without areas and isles) More... | |
#define | GV_BUILD_AREAS 2 |
Topology levels - build areas. More... | |
#define | GV_BUILD_ATTACH_ISLES 3 |
Topology levels - attach islands to areas. More... | |
#define | GV_BUILD_CENTROIDS 4 |
Topology levels - assign centroids to areas. More... | |
#define | GV_BUILD_ALL GV_BUILD_CENTROIDS |
Topology levels - build everything (currently same as GV_BUILD_CENTROIDS) More... | |
#define | VECT_OPEN(Map) (Map->open == VECT_OPEN_CODE) |
Check if vector map is open. More... | |
#define | GV_MEMORY_ALWAYS 1 |
Memory mode. More... | |
#define | GV_MEMORY_NEVER 2 |
#define | GV_MEMORY_AUTO 3 |
#define | GV_COOR_HEAD_SIZE 14 |
Coordinates file head size. More... | |
#define | GRASS_V_VERSION "5.0" |
#define | GV_COOR_VER_MAJOR 5 |
The latest versions of files known by current version of the library. Used for new files. More... | |
#define | GV_COOR_VER_MINOR 1 |
#define | GV_TOPO_VER_MAJOR 5 |
#define | GV_TOPO_VER_MINOR 1 |
#define | GV_SIDX_VER_MAJOR 5 |
#define | GV_SIDX_VER_MINOR 1 |
#define | GV_CIDX_VER_MAJOR 5 |
#define | GV_CIDX_VER_MINOR 0 |
#define | GV_COOR_EARLIEST_MAJOR 5 |
The oldest versions of the library, which are capable to read the files created by the current version. More... | |
#define | GV_COOR_EARLIEST_MINOR 1 |
#define | GV_TOPO_EARLIEST_MAJOR 5 |
#define | GV_TOPO_EARLIEST_MINOR 1 |
#define | GV_SIDX_EARLIEST_MAJOR 5 |
#define | GV_SIDX_EARLIEST_MINOR 1 |
#define | GV_CIDX_EARLIEST_MAJOR 5 |
#define | GV_CIDX_EARLIEST_MINOR 0 |
#define | WITHOUT_Z 0 |
2D/3D vector data More... | |
#define | WITH_Z 1 |
#define | GV_LEFT 1 |
Boundary side indicator left/right. More... | |
#define | GV_RIGHT 2 |
#define | GV_FORWARD 1 |
Line direction indicator forward/backward. More... | |
#define | GV_BACKWARD 2 |
#define | GV_POINT 0x01 |
Feature types used in memory on run time (may change) More... | |
#define | GV_LINE 0x02 |
#define | GV_BOUNDARY 0x04 |
#define | GV_CENTROID 0x08 |
#define | GV_FACE 0x10 |
#define | GV_KERNEL 0x20 |
#define | GV_AREA 0x40 |
#define | GV_VOLUME 0x80 |
#define | GV_POINTS (GV_POINT | GV_CENTROID ) |
#define | GV_LINES (GV_LINE | GV_BOUNDARY ) |
#define | GV_STORE_POINT 1 |
Feature types used in store like 'coor' file or postgis type column (must not change) More... | |
#define | GV_STORE_LINE 2 |
#define | GV_STORE_BOUNDARY 3 |
#define | GV_STORE_CENTROID 4 |
#define | GV_STORE_FACE 5 |
#define | GV_STORE_KERNEL 6 |
#define | GV_STORE_AREA 7 /* used in category index file */ |
#define | GV_STORE_VOLUME 8 /* used in category index file */ |
#define | GV_ON_AND "AND" /* intersect */ |
Overlay operators. More... | |
#define | GV_ON_OVERLAP "OVERLAP" |
#define | GV_NCATS_MAX PORT_INT_MAX |
Maximum number of categories for one element. More... | |
#define | GV_FIELD_MAX PORT_INT_MAX |
Maximum field. More... | |
#define | GV_CAT_MAX PORT_INT_MAX |
Maximum category value. More... | |
#define | GV_ASCII_FORMAT_POINT 0 |
GRASS ASCII vector format - point format. More... | |
#define | GV_ASCII_FORMAT_STD 1 |
GRASS ASCII vector format - standard format. More... | |
#define | GV_ASCII_FORMAT_WKT 2 |
GRASS ASCII vector format - well-known-text format. More... | |
#define | HEADSTR 50 |
#define | GV_PG_FID_COLUMN "fid" |
GRASS-PostGIS data provider - default fid column. More... | |
#define | GV_PG_GEOMETRY_COLUMN "geom" |
GRASS-PostGIS data provider - default geometry column. More... | |
Typedefs | |
typedef enum overlay_operator | OVERLAY_OPERATOR |
Enumerations | |
enum | overlay_operator { GV_O_AND, GV_O_OVERLAP } |
enum | SF_FeatureType { SF_GEOMETRY = 0, SF_POINT = 1, SF_LINESTRING = 2, SF_POLYGON = 3, SF_MULTIPOINT = 4, SF_MULTILINESTRING = 5, SF_MULTIPOLYGON = 6, SF_GEOMETRYCOLLECTION = 7, SF_NONE = 100, SF_LINEARRING = 101, SF_POINT25D = 0x80000001, SF_LINESTRING25D = 0x80000002, SF_POLYGON25D = 0x80000003, SF_MULTIPOINT25D = 0x80000004, SF_MULTILINESTRING25D = 0x80000005, SF_MULTIPOLYGON25D = 0x80000006, SF_GEOMETRYCOLLECTION25D = 0x80000007 } |
Simple feature types. More... | |
#define DBL_SIZ 8 |
replace by PORT_* in Vlib later and remove :
Definition at line 57 of file dig_defines.h.
#define FLT_SIZ 4 |
Definition at line 58 of file dig_defines.h.
#define GRASS_V_VERSION "5.0" |
Definition at line 146 of file dig_defines.h.
#define GV_1TABLE 0 |
One table linked to vector map.
Definition at line 99 of file dig_defines.h.
#define GV_AREA 0x40 |
Definition at line 188 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_ASCII_FORMAT_POINT 0 |
GRASS ASCII vector format - point format.
Definition at line 224 of file dig_defines.h.
#define GV_ASCII_FORMAT_STD 1 |
GRASS ASCII vector format - standard format.
Definition at line 226 of file dig_defines.h.
#define GV_ASCII_FORMAT_WKT 2 |
GRASS ASCII vector format - well-known-text format.
Definition at line 228 of file dig_defines.h.
#define GV_BACKWARD 2 |
Definition at line 179 of file dig_defines.h.
#define GV_BOUNDARY 0x04 |
Definition at line 184 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), dig_Wr_P_line(), Vect__open_cursor_next_line_pg(), Vect_select_areas_by_polygon(), and Vect_sfa_get_type().
#define GV_BUILD_ALL GV_BUILD_CENTROIDS |
Topology levels - build everything (currently same as GV_BUILD_CENTROIDS)
Definition at line 133 of file dig_defines.h.
Referenced by Vect_build(), Vect_build_partial(), Vect_close(), and Vect_save_fidx().
#define GV_BUILD_AREAS 2 |
Topology levels - build areas.
Definition at line 127 of file dig_defines.h.
#define GV_BUILD_ATTACH_ISLES 3 |
Topology levels - attach islands to areas.
Definition at line 129 of file dig_defines.h.
#define GV_BUILD_BASE 1 |
Topology levels - basic level (without areas and isles)
Definition at line 125 of file dig_defines.h.
Referenced by Vect__build_sfa(), Vect_build_ogr(), and Vect_build_pg().
#define GV_BUILD_CENTROIDS 4 |
Topology levels - assign centroids to areas.
Definition at line 131 of file dig_defines.h.
Referenced by Vect__open_cursor_next_line_pg().
#define GV_BUILD_NONE 0 |
Topology levels - nothing to build.
Definition at line 123 of file dig_defines.h.
Referenced by dig_init_plus(), Vect_build_ogr(), Vect_build_partial(), and Vect_build_pg().
#define GV_CAT_MAX PORT_INT_MAX |
Maximum category value.
Definition at line 221 of file dig_defines.h.
#define GV_CENTROID 0x08 |
Definition at line 185 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), dig_Wr_P_line(), and Vect__open_cursor_next_line_pg().
#define GV_CIDX_EARLIEST_MAJOR 5 |
Definition at line 166 of file dig_defines.h.
Referenced by dig_write_cidx_head().
#define GV_CIDX_EARLIEST_MINOR 0 |
Definition at line 167 of file dig_defines.h.
Referenced by dig_write_cidx_head().
#define GV_CIDX_ELEMENT "cidx" |
Native format, category index.
Definition at line 24 of file dig_defines.h.
Referenced by Vect_cidx_open(), and Vect_copy().
#define GV_CIDX_VER_MAJOR 5 |
Definition at line 155 of file dig_defines.h.
Referenced by dig_read_cidx_head(), and dig_write_cidx_head().
#define GV_CIDX_VER_MINOR 0 |
Definition at line 156 of file dig_defines.h.
Referenced by dig_read_cidx_head(), and dig_write_cidx_head().
#define GV_COLR2_DIRECTORY "vcolr2" |
Name of directory for alternative color tables.
Definition at line 30 of file dig_defines.h.
Referenced by Vect_remove_colors().
#define GV_COLR_ELEMENT "colr" |
#define GV_COOR_EARLIEST_MAJOR 5 |
The oldest versions of the library, which are capable to read the files created by the current version.
Definition at line 160 of file dig_defines.h.
Referenced by V1_open_new_nat().
#define GV_COOR_EARLIEST_MINOR 1 |
Definition at line 161 of file dig_defines.h.
Referenced by V1_open_new_nat().
#define GV_COOR_ELEMENT "coor" |
Native format, coordinates.
Definition at line 12 of file dig_defines.h.
Referenced by V1_open_new_nat(), V1_open_old_nat(), Vect_coor_info(), and Vect_copy().
#define GV_COOR_HEAD_SIZE 14 |
Coordinates file head size.
Definition at line 144 of file dig_defines.h.
Referenced by dig__read_head(), and dig__write_head().
#define GV_COOR_VER_MAJOR 5 |
The latest versions of files known by current version of the library. Used for new files.
Definition at line 149 of file dig_defines.h.
Referenced by dig__read_head(), and V1_open_new_nat().
#define GV_COOR_VER_MINOR 1 |
Definition at line 150 of file dig_defines.h.
Referenced by dig__read_head(), and V1_open_new_nat().
#define GV_DBLN_ELEMENT "dbln" |
Native format, link to database.
Definition at line 16 of file dig_defines.h.
Referenced by Vect_write_dblinks().
#define GV_DIRECTORY "vector" |
Name of vector directory.
Definition at line 8 of file dig_defines.h.
Referenced by G_find_vector(), G_find_vector2(), G_has_vector_timestamp(), G_read_vector_timestamp(), G_remove_vector_timestamp(), G_write_vector_timestamp(), V1_close_nat(), V2_close_pg(), Vect__get_path(), Vect_copy(), Vect_open_fidx(), Vect_remove_colors(), Vect_save_fidx(), and Vect_save_frmt().
#define GV_FACE 0x10 |
Definition at line 186 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), and dig_Wr_P_line().
#define GV_FIDX_ELEMENT "fidx" |
External format (OGR), feature index.
Definition at line 26 of file dig_defines.h.
Referenced by Vect_open_fidx(), and Vect_save_fidx().
#define GV_FIELD_MAX PORT_INT_MAX |
Maximum field.
Definition at line 219 of file dig_defines.h.
Referenced by Vect_cat_get(), and Vect_field_cat_get().
#define GV_FORMAT_NATIVE 0 |
Geometry data formats supported by lib Don't change GV_FORMAT_* values, this order is hardcoded in lib.
GRASS native format
Definition at line 83 of file dig_defines.h.
Referenced by Vect_coor_info(), Vect_maptype_info(), Vect_read_dblinks(), Vect_remove_small_areas(), Vect_set_constraint_field(), and Vect_write_dblinks().
#define GV_FORMAT_OGR 1 |
OGR format.
Definition at line 85 of file dig_defines.h.
Referenced by dig_read_frmt_ascii(), V2__write_area_sfa(), Vect__build_sfa(), Vect_close(), Vect_coor_info(), Vect_fidx_dump(), Vect_get_finfo_dsn_name(), Vect_get_finfo_format_info(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_get_finfo_topology_info(), Vect_maptype(), Vect_maptype_info(), Vect_save_frmt(), and Vect_sfa_get_num_features().
#define GV_FORMAT_OGR_DIRECT 2 |
OGR format (direct access)
Definition at line 87 of file dig_defines.h.
Referenced by V1_close_ogr(), Vect__build_sfa(), Vect_build_partial(), Vect_coor_info(), Vect_get_finfo_dsn_name(), Vect_get_finfo_format_info(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_get_finfo_topology_info(), Vect_get_full_name(), Vect_maptype_info(), and Vect_sfa_get_num_features().
#define GV_FORMAT_POSTGIS 3 |
PostGIS format.
Definition at line 89 of file dig_defines.h.
Referenced by dig_read_frmt_ascii(), V2__write_area_sfa(), Vect__get_area_points(), Vect_build_partial(), Vect_close(), Vect_coor_info(), Vect_fidx_dump(), Vect_get_finfo_dsn_name(), Vect_get_finfo_format_info(), Vect_get_finfo_geometry_type(), Vect_get_finfo_layer_name(), Vect_get_finfo_topology_info(), Vect_get_isle_points(), Vect_maptype(), Vect_maptype_info(), Vect_save_frmt(), and Vect_sfa_get_num_features().
#define GV_FORWARD 1 |
Line direction indicator forward/backward.
Definition at line 178 of file dig_defines.h.
Referenced by Vect_net_get_line_cost().
#define GV_FRMT_ELEMENT "frmt" |
Format description, data location (OGR)
Definition at line 10 of file dig_defines.h.
Referenced by Vect_copy(), and Vect_save_frmt().
#define GV_HEAD_ELEMENT "head" |
Native format, header information.
Definition at line 14 of file dig_defines.h.
Referenced by Vect__read_head(), Vect__write_head(), and Vect_copy().
#define GV_HIST_ELEMENT "hist" |
Native format, history file.
Definition at line 18 of file dig_defines.h.
Referenced by Vect_copy().
#define GV_KERNEL 0x20 |
Definition at line 187 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), and dig_Wr_P_line().
#define GV_LEFT 1 |
Boundary side indicator left/right.
Definition at line 174 of file dig_defines.h.
#define GV_LINE 0x02 |
Definition at line 183 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), dig_Wr_P_line(), Vect__open_cursor_next_line_pg(), and Vect_sfa_get_type().
#define GV_LINES (GV_LINE | GV_BOUNDARY ) |
Definition at line 192 of file dig_defines.h.
#define GV_MEMORY_ALWAYS 1 |
Memory mode.
Definition at line 139 of file dig_defines.h.
#define GV_MEMORY_AUTO 3 |
Definition at line 141 of file dig_defines.h.
#define GV_MEMORY_NEVER 2 |
Definition at line 140 of file dig_defines.h.
#define GV_MODE_READ 0 |
Read-only vector map open mode.
Definition at line 104 of file dig_defines.h.
#define GV_MODE_RW 2 |
Read-write vector map open mode.
Definition at line 108 of file dig_defines.h.
Referenced by V1_close_nat(), V1_close_ogr(), and V1_close_pg().
#define GV_MODE_WRITE 1 |
Write vector map open mode.
Definition at line 106 of file dig_defines.h.
Referenced by V1_close_nat(), V1_close_ogr(), and V1_close_pg().
#define GV_MTABLE 1 |
More tables linked to vector map.
Definition at line 101 of file dig_defines.h.
#define GV_NCATS_MAX PORT_INT_MAX |
Maximum number of categories for one element.
Definition at line 217 of file dig_defines.h.
Referenced by Vect_cat_set().
#define GV_ON_AND "AND" /* intersect */ |
Overlay operators.
Definition at line 205 of file dig_defines.h.
Referenced by Vect_overlay_str_to_operator().
#define GV_ON_OVERLAP "OVERLAP" |
Definition at line 206 of file dig_defines.h.
Referenced by Vect_overlay_str_to_operator().
#define GV_PG_FID_COLUMN "fid" |
GRASS-PostGIS data provider - default fid column.
Definition at line 262 of file dig_defines.h.
Referenced by dig_read_frmt_ascii().
#define GV_PG_GEOMETRY_COLUMN "geom" |
GRASS-PostGIS data provider - default geometry column.
Definition at line 264 of file dig_defines.h.
#define GV_POINT 0x01 |
Feature types used in memory on run time (may change)
Definition at line 182 of file dig_defines.h.
Referenced by dig_Rd_P_line(), dig_type_from_store(), Vect__open_cursor_next_line_pg(), and Vect_sfa_get_type().
#define GV_POINTS (GV_POINT | GV_CENTROID ) |
Definition at line 191 of file dig_defines.h.
#define GV_RIGHT 2 |
Definition at line 175 of file dig_defines.h.
#define GV_SIDX_EARLIEST_MAJOR 5 |
Definition at line 164 of file dig_defines.h.
Referenced by dig_Wr_spidx_head().
#define GV_SIDX_EARLIEST_MINOR 1 |
Definition at line 165 of file dig_defines.h.
Referenced by dig_Wr_spidx_head().
#define GV_SIDX_ELEMENT "sidx" |
Native format, spatial index.
Definition at line 22 of file dig_defines.h.
Referenced by Vect_copy(), and Vect_save_sidx().
#define GV_SIDX_VER_MAJOR 5 |
Definition at line 153 of file dig_defines.h.
Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().
#define GV_SIDX_VER_MINOR 1 |
Definition at line 154 of file dig_defines.h.
Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().
#define GV_STORE_AREA 7 /* used in category index file */ |
Definition at line 201 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_BOUNDARY 3 |
Definition at line 197 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_CENTROID 4 |
Definition at line 198 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_FACE 5 |
Definition at line 199 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_KERNEL 6 |
Definition at line 200 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_LINE 2 |
Definition at line 196 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_POINT 1 |
Feature types used in store like 'coor' file or postgis type column (must not change)
Definition at line 195 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_STORE_VOLUME 8 /* used in category index file */ |
Definition at line 202 of file dig_defines.h.
Referenced by dig_type_from_store().
#define GV_TIMESTAMP_ELEMENT "timestamp" |
Name of the timestamp file.
Definition at line 32 of file dig_defines.h.
Referenced by G_has_vector_timestamp(), G_read_vector_timestamp(), G_remove_vector_timestamp(), and G_write_vector_timestamp().
#define GV_TOPO_EARLIEST_MAJOR 5 |
Definition at line 162 of file dig_defines.h.
Referenced by dig_Wr_Plus_head().
#define GV_TOPO_EARLIEST_MINOR 1 |
Definition at line 163 of file dig_defines.h.
Referenced by dig_Wr_Plus_head().
#define GV_TOPO_ELEMENT "topo" |
Native format, topology file.
Definition at line 20 of file dig_defines.h.
Referenced by V1_open_new_nat(), V2_close_pg(), Vect_copy(), Vect_open_topo(), and Vect_save_topo().
#define GV_TOPO_NATIVE 0 |
GRASS topology - native format.
Definition at line 92 of file dig_defines.h.
Referenced by Vect_get_finfo_topology_info().
#define GV_TOPO_POSTGIS 2 |
PostGIS topology - external PostGIS format.
Definition at line 96 of file dig_defines.h.
Referenced by Vect_get_finfo_topology_info().
#define GV_TOPO_PSEUDO 1 |
Pseudo-topology - external simple features (OGR/PostGIS) format.
Definition at line 94 of file dig_defines.h.
Referenced by Vect_get_finfo_topology_info().
#define GV_TOPO_VER_MAJOR 5 |
Definition at line 151 of file dig_defines.h.
Referenced by dig_Rd_Plus_head(), and dig_Wr_Plus_head().
#define GV_TOPO_VER_MINOR 1 |
Definition at line 152 of file dig_defines.h.
Referenced by dig_Rd_Plus_head(), and dig_Wr_Plus_head().
#define GV_VOLUME 0x80 |
Definition at line 189 of file dig_defines.h.
Referenced by dig_type_from_store().
#define HEADSTR 50 |
Definition at line 259 of file dig_defines.h.
#define LEVEL_1 1 |
Vector level - without topology.
Definition at line 116 of file dig_defines.h.
Referenced by Vect_build_partial().
#define LEVEL_2 2 |
Vector level - with 2D topology.
Definition at line 118 of file dig_defines.h.
#define LEVEL_3 3 |
Vector level - with 3D topology (not implemented yet)
Definition at line 120 of file dig_defines.h.
#define LNG_SIZ 4 |
Definition at line 59 of file dig_defines.h.
#define PORT_CHAR 1 |
Definition at line 50 of file dig_defines.h.
Referenced by dig__fread_port_C(), and dig__fwrite_port_C().
#define PORT_CHAR_MAX 127 |
Definition at line 76 of file dig_defines.h.
#define PORT_CHAR_MIN (-128) |
Definition at line 77 of file dig_defines.h.
#define PORT_DOUBLE 8 |
Sizes of types used in portable format (different names used in Vlib/ and diglib/ for the same thing)
Assumptions:
Definition at line 45 of file dig_defines.h.
Referenced by dig__fread_port_D(), dig__fwrite_port_D(), dig_init_portable(), and port_init().
#define PORT_DOUBLE_MAX 1.7976931348623157e+308 |
Limits for portable types.
Definition at line 66 of file dig_defines.h.
Referenced by Vect_find_area(), Vect_find_node(), Vect_get_area_box(), Vect_get_isle_box(), and Vect_region_box().
#define PORT_DOUBLE_MIN 2.2250738585072014e-308 |
Definition at line 67 of file dig_defines.h.
#define PORT_FLOAT 4 |
Definition at line 46 of file dig_defines.h.
Referenced by dig__fread_port_F(), dig__fwrite_port_F(), dig_init_portable(), and port_init().
#define PORT_FLOAT_MAX 3.40282347e+38F |
Definition at line 68 of file dig_defines.h.
#define PORT_FLOAT_MIN 1.17549435e-38F |
Definition at line 69 of file dig_defines.h.
#define PORT_INT 4 |
Definition at line 48 of file dig_defines.h.
Referenced by dig__fread_port_I(), dig__fwrite_port_I(), dig_init_portable(), and port_init().
#define PORT_INT_MAX 2147483647 |
Definition at line 72 of file dig_defines.h.
Referenced by dig_Wr_spidx_head().
#define PORT_INT_MIN (-2147483647) |
Definition at line 73 of file dig_defines.h.
#define PORT_LONG 4 |
Definition at line 47 of file dig_defines.h.
Referenced by dig__fread_port_L(), dig__fwrite_port_L(), dig_init_portable(), and port_init().
#define PORT_LONG_MAX 2147483647L |
Definition at line 70 of file dig_defines.h.
Referenced by dig__read_head(), dig__write_head(), dig_read_cidx_head(), dig_Wr_Plus_head(), and dig_write_cidx_head().
#define PORT_LONG_MIN (-2147483647L) |
Definition at line 71 of file dig_defines.h.
#define PORT_OFF_T 8 |
Definition at line 51 of file dig_defines.h.
#define PORT_SHORT 2 |
Definition at line 49 of file dig_defines.h.
Referenced by dig__fread_port_S(), dig__fwrite_port_S(), dig_init_portable(), and port_init().
#define PORT_SHORT_MAX 32767 |
Definition at line 74 of file dig_defines.h.
#define PORT_SHORT_MIN (-32768) |
Definition at line 75 of file dig_defines.h.
#define SHRT_SIZ 2 |
Definition at line 60 of file dig_defines.h.
#define VECT_CLOSED_CODE 0x22AA2255 |
#define VECT_OPEN | ( | Map | ) | (Map->open == VECT_OPEN_CODE) |
Check if vector map is open.
Definition at line 136 of file dig_defines.h.
Referenced by V1_close_nat(), V1_close_ogr(), V1_close_pg(), V2_close_ogr(), V2_close_pg(), Vect_get_next_line_id(), Vect_read_next_line(), and Vect_rewind().
#define VECT_OPEN_CODE 0x5522AA22 |
Vector map open code.
Definition at line 111 of file dig_defines.h.
Referenced by Vect__open_topo_pg(), Vect_coor_info(), and Vect_level().
#define WITH_Z 1 |
Definition at line 171 of file dig_defines.h.
Referenced by V1_open_old_ogr().
#define WITHOUT_Z 0 |
typedef enum overlay_operator OVERLAY_OPERATOR |
Definition at line 214 of file dig_defines.h.
enum overlay_operator |
Enumerator | |
---|---|
GV_O_AND | |
GV_O_OVERLAP |
Definition at line 208 of file dig_defines.h.
enum SF_FeatureType |
Simple feature types.
Taken from GDAL/OGR library (ogr/ogr_core.h)
Definition at line 234 of file dig_defines.h.