49 double e,
double w,
double t,
double b)
150 G_warning(
_(
"Layer constraint ignored for non-native vector formats"));
int Vect_set_constraint_type(struct Map_info *Map, int type)
Set constraint type.
int Vect_set_constraint_field(struct Map_info *Map, int field)
Set constraint field.
int Vect_set_constraint_region(struct Map_info *Map, double n, double s, double e, double w, double t, double b)
Set constraint region.
int Vect_get_constraint_box(struct Map_info *Map, struct bound_box *Box)
Get constraint box.
void Vect_remove_constraints(struct Map_info *Map)
Remove all constraints.
void G_warning(const char *,...) __attribute__((format(printf
int G_projection(void)
Query cartographic projection.
#define GV_FORMAT_NATIVE
Geometry data formats supported by lib Don't change GV_FORMAT_* values, this order is hardcoded in li...
float Box[8][3]
Vertices for box.
struct dig_head head
Header info.
struct bound_box box
Region (bbox) constraint.
int field
Field number constraint (see line_cats structure)
int field_flag
Non-zero value to enable field constraint.
int type
Feature type constraint.
int type_flag
Non-zero value to enable feature type constraint.
int format
Map format (native, ogr, postgis)
struct Map_info::@11 constraint
Constraints for sequential feature access.
int region_flag
Non-zero value to enable region constraint.