GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71793
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dig_defines.h File Reference
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Defines for diglib (part of vector library)

Definition in file dig_defines.h.

Macro Definition Documentation

#define DBL_SIZ   8

replace by PORT_* in Vlib later and remove :

Todo:
To be removed ?

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.

Referenced by Vect_copy_tables(), Vect_default_field_info(), and Vect_rename().

#define GV_ASCII_FORMAT_POINT   0

GRASS ASCII vector format - point format.

Definition at line 224 of file dig_defines.h.

Referenced by Vect_write_ascii().

#define GV_ASCII_FORMAT_STD   1

GRASS ASCII vector format - standard format.

Definition at line 226 of file dig_defines.h.

Referenced by Vect_write_ascii().

#define GV_ASCII_FORMAT_WKT   2

GRASS ASCII vector format - well-known-text format.

Definition at line 228 of file dig_defines.h.

Referenced by Vect_write_ascii().

#define GV_BACKWARD   2
#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__open_old(), Vect_build(), Vect_build_nat(), Vect_build_partial(), Vect_close(), Vect_save_fidx(), and Vect_topo_check().

#define GV_BUILD_AREAS   2
#define GV_BUILD_ATTACH_ISLES   3

Topology levels - attach islands to areas.

Definition at line 129 of file dig_defines.h.

Referenced by V2__add_line_to_topo_nat(), V2__delete_line_from_topo_nat(), and Vect_build_nat().

#define GV_BUILD_BASE   1

Topology levels - basic level (without areas and isles)

Definition at line 125 of file dig_defines.h.

Referenced by V2__add_line_to_topo_nat(), V2_delete_line_sfa(), V2_write_line_sfa(), Vect__build_downgrade(), Vect__build_sfa(), Vect_build_nat(), 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 V2__add_line_to_topo_nat(), V2__delete_line_from_topo_nat(), V2_delete_line_sfa(), Vect__build_downgrade(), and Vect_build_nat().

#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__open_old(), Vect_build_ogr(), Vect_build_partial(), Vect_build_pg(), and Vect_topo_check().

#define GV_CAT_MAX   PORT_INT_MAX

Maximum category value.

Definition at line 221 of file dig_defines.h.

#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__open_old(), Vect_cidx_open(), Vect_cidx_save(), Vect_close(), 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_read_colors(), Vect_remove_colors(), and Vect_write_colors().

#define GV_COLR_ELEMENT   "colr"

Color table.

Definition at line 28 of file dig_defines.h.

Referenced by Vect_read_colors(), Vect_remove_colors(), and Vect_write_colors().

#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__delete(), and Vect_write_dblinks().

#define GV_FIDX_ELEMENT   "fidx"

External format (OGR), feature index.

Definition at line 26 of file dig_defines.h.

Referenced by Vect__open_old(), Vect_close(), 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__delete(), Vect__open_old(), Vect_coor_info(), Vect_copy(), Vect_copy_map_lines_field(), Vect_maptype_info(), Vect_read_dblinks(), Vect_read_line_geos(), Vect_remove_small_areas(), Vect_rename(), Vect_set_constraint_field(), Vect_topo_dump(), and Vect_write_dblinks().

#define GV_FORWARD   1
#define GV_FRMT_ELEMENT   "frmt"

Format description, data location (OGR)

Definition at line 10 of file dig_defines.h.

Referenced by Vect__open_old(), 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__open_old(), 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__open_old(), and Vect_copy().

#define GV_MEMORY_ALWAYS   1

Memory mode.

Definition at line 139 of file dig_defines.h.

Referenced by dig_file_load().

#define GV_MEMORY_AUTO   3

Definition at line 141 of file dig_defines.h.

Referenced by dig_file_load().

#define GV_MEMORY_NEVER   2

Definition at line 140 of file dig_defines.h.

Referenced by dig_file_load().

#define GV_MODE_READ   0

Read-only vector map open mode.

Definition at line 104 of file dig_defines.h.

Referenced by Vect__open_old().

#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(), V1_close_pg(), Vect__open_old(), and Vect_map_add_dblink().

#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(), V1_close_pg(), Vect_build_partial(), and Vect_map_add_dblink().

#define GV_MTABLE   1

More tables linked to vector map.

Definition at line 101 of file dig_defines.h.

Referenced by Vect_copy_tables(), and Vect_rename().

#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(), and V1_open_new_pg().

#define GV_PG_GEOMETRY_COLUMN   "geom"

GRASS-PostGIS data provider - default geometry column.

Definition at line 264 of file dig_defines.h.

Referenced by V1_open_new_pg().

#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__open_old(), Vect_close(), Vect_copy(), Vect_open_sidx(), 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(), and dig_type_to_store().

#define GV_STORE_BOUNDARY   3

Definition at line 197 of file dig_defines.h.

Referenced by dig_type_from_store(), and dig_type_to_store().

#define GV_STORE_CENTROID   4

Definition at line 198 of file dig_defines.h.

Referenced by dig_type_from_store(), and dig_type_to_store().

#define GV_STORE_FACE   5

Definition at line 199 of file dig_defines.h.

Referenced by dig_type_from_store(), and dig_type_to_store().

#define GV_STORE_KERNEL   6

Definition at line 200 of file dig_defines.h.

Referenced by dig_type_from_store(), and dig_type_to_store().

#define GV_STORE_LINE   2

Definition at line 196 of file dig_defines.h.

Referenced by dig_type_from_store(), and dig_type_to_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(), and dig_type_to_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(), and dig_type_to_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__open_old(), Vect_close(), 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(), dig_type_to_store(), and Vect_option_to_types().

#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.

Referenced by Vect_build_partial().

#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(), dig__fwrite_port_C(), and main().

#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:

  • double = 8 byte IEEE
  • float = 4 byte IEEE
  • long = 4 byte int
  • short = 2 byte int
Todo:
To be moved to gislib?

Definition at line 45 of file dig_defines.h.

Referenced by dig__fread_port_D(), dig__fwrite_port_D(), dig_init_portable(), main(), and port_init().

#define PORT_DOUBLE_MIN   2.2250738585072014e-308

Definition at line 67 of file dig_defines.h.

#define PORT_FLOAT   4
#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
#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
#define PORT_LONG_MAX   2147483647L
#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
#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

Vector map close code.

Definition at line 113 of file dig_defines.h.

Referenced by Vect_close(), and Vect_level().

#define VECT_OPEN (   Map)    (Map->open == VECT_OPEN_CODE)
#define VECT_OPEN_CODE   0x5522AA22

Vector map open code.

Definition at line 111 of file dig_defines.h.

Referenced by Vect__open_old(), 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(), and Vedit_bulk_labeling().

Typedef Documentation

Definition at line 214 of file dig_defines.h.

Enumeration Type Documentation

Enumerator
GV_O_AND 
GV_O_OVERLAP 

Definition at line 208 of file dig_defines.h.

Simple feature types.

Taken from GDAL/OGR library (ogr/ogr_core.h)

Enumerator
SF_GEOMETRY 
SF_POINT 
SF_LINESTRING 
SF_POLYGON 
SF_MULTIPOINT 
SF_MULTILINESTRING 
SF_MULTIPOLYGON 
SF_GEOMETRYCOLLECTION 
SF_NONE 
SF_LINEARRING 
SF_POINT25D 
SF_LINESTRING25D 
SF_POLYGON25D 
SF_MULTIPOINT25D 
SF_MULTILINESTRING25D 
SF_MULTIPOLYGON25D 
SF_GEOMETRYCOLLECTION25D 

Definition at line 234 of file dig_defines.h.