Maptitude GISDK Help |
Gets information about an Esri (ArcView) Shapefile.
GetArcViewShapeInfo(string filename)
Argument |
Contents |
filename |
The path and file name of the Shapefile |
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" |
// 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 Type |
Meaning |
Error |
The file is not a valid Shapefile |
NotFound |
There is no Shapefile with the given path and file name |
Function |
Summary |
Imports features from an Esri (ArcView) Shapefile into a geographic file |
©2025 Caliper Corporation | www.caliper.com |