final class ShapeFileImport extends ShapeFile (View source)

ShapeFileImport class

Methods

__construct(ImportShp $importShp, ShapeType $shapeType, array $boundingBox = ['xmin' => 0.0, 'ymin' => 0.0, 'xmax' => 0.0, 'ymax' => 0.0], string|null $fileName = null)

No description

string|false
readSHP(int $bytes)

Reads given number of bytes from SHP file

bool
eofSHP()

Checks whether file is at EOF

Details

__construct(ImportShp $importShp, ShapeType $shapeType, array $boundingBox = ['xmin' => 0.0, 'ymin' => 0.0, 'xmax' => 0.0, 'ymax' => 0.0], string|null $fileName = null)

No description

Parameters

ImportShp $importShp
ShapeType $shapeType
array $boundingBox
string|null $fileName

string|false readSHP(int $bytes)

Reads given number of bytes from SHP file

Parameters

int $bytes

number of bytes

Return Value

string|false

bool eofSHP()

Checks whether file is at EOF

Return Value

bool