pub type gaiaShapefile = gaiaShapefileStruct;Expand description
Container for SHP file handling
Aliased Type§
struct gaiaShapefile {Show 26 fields
pub endian_arch: i32,
pub Valid: i32,
pub ReadOnly: i32,
pub Path: *mut i8,
pub flShx: *mut _IO_FILE,
pub flShp: *mut _IO_FILE,
pub flDbf: *mut _IO_FILE,
pub Shape: i32,
pub Dbf: *mut gaiaDbfListStruct,
pub BufDbf: *mut u8,
pub DbfHdsz: i32,
pub DbfReclen: i32,
pub DbfSize: i32,
pub DbfRecno: i32,
pub BufShp: *mut u8,
pub ShpBfsz: i32,
pub ShpSize: i32,
pub ShxSize: i32,
pub MinX: f64,
pub MinY: f64,
pub MaxX: f64,
pub MaxY: f64,
pub IconvObj: *mut c_void,
pub LastError: *mut i8,
pub EffectiveType: i32,
pub EffectiveDims: i32,
}Fields§
§endian_arch: i32SHP endian arch
Valid: i32validity flag: 1 = ready to be processed
ReadOnly: i32read or write mode
Path: *mut i8SHP ‘abstract’ path (no suffixes)
flShx: *mut _IO_FILEFILE handle to SHX file
flShp: *mut _IO_FILEFILE handle to SHP file
flDbf: *mut _IO_FILEFILE handle to DBF file
Shape: i32the SHP shape code
Dbf: *mut gaiaDbfListStructlist of DBF fields
BufDbf: *mut u8DBF I/O buffer
DbfHdsz: i32DBF header size (in bytes)
DbfReclen: i32DBF record length (in bytes)
DbfSize: i32DBF current file size (in bytes)
DbfRecno: i32DBF current Record Number
BufShp: *mut u8SHP I/O buffer
ShpBfsz: i32SHP current buffer size (in bytes)
ShpSize: i32SHP current file size
ShxSize: i32SHX current file size
MinX: f64Total Extent: min X
MinY: f64Total Extent: min Y
MaxX: f64Total Extent: max X
MaxY: f64Total Extent: max Y
IconvObj: *mut c_voidhandle to ICONV converter object
LastError: *mut i8last error message (may be NULL)
EffectiveType: i32SHP actual OGC Geometry type
EffectiveDims: i32SHP actual dims: one of GAIA_XY, GAIA_XY_Z, GAIA_XY_M, GAIA_XY_ZM