MCPcopy Index your code
hub / github.com/MapServer/MapServer / msSHPGetInfo

Function msSHPGetInfo

mapshape.c:413–420  ·  view source on GitHub ↗

/ msSHPGetInfo() */ / Fetch general information about the shape file. */ /

Source from the content-addressed store, hash-verified

411/* Fetch general information about the shape file. */
412/************************************************************************/
413void msSHPGetInfo(SHPHandle psSHP, int * pnEntities, int * pnShapeType )
414{
415 if( pnEntities )
416 *pnEntities = psSHP->nRecords;
417
418 if( pnShapeType )
419 *pnShapeType = psSHP->nShapeType;
420}
421
422/************************************************************************/
423/* msSHPCreate() */

Callers 3

mainFunction · 0.85
msShapefileOpenFunction · 0.85
msShapefileCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected