Maptitude GISDK Help

GetArcViewShapeInfo()

Summary

Gets information about an Esri (ArcView) Shapefile.

 

Syntax

GetArcViewShapeInfo(string filename)

 

 

Argument Contents
filename The path and file name of the Shapefile

 

Returns

An array of information as follows:

 

Element Type Contents
1 Integer Shapefile version
2 Array Four real numbers defining the bounding coordinates of the file: {x_min, y_min, x_max, y_max}
3 String Layer type: "Null Shape", "Point", "Arc", "Polygon", "MultiPoint", or "Unknown"

 

 

Example

// This call...

shape_info = GetArcViewShapeInfo("c:\\county.shp")

 

// Returns this type of information...

// shape_info = {

// 3, (version number)

// {-187.551936, 18.913826, ...}, (bounding rect)

// "Area"} (layer type)

//     }

 

Error Codes

Error Type Meaning
Error The file is not a valid Shapefile
NotFound There is no Shapefile with the given path and file name

 

See Also

Function Summary
ImportArcViewShape() Imports features from an Esri (ArcView) Shapefile into a geographic file

 

 

©2025 Caliper Corporation www.caliper.com