Method | Description | |
---|---|---|
GetMetadata ( string name ) : string |
Gets the metadata (as a string) for a given name (key). Valid names for this shape can be retrieved by calling GetMetadataNames().
|
|
GetMetadataNames ( ) : string[] |
Gets an array of valid metadata names (keys) for this shape. Returns null if not metadata exists.
|
Method | Description | |
---|---|---|
ParseBoundingBox ( byte value, int startIndex, ProvidedOrder order ) : |
Extracts a double precision rectangle (RectangleD) from a byte array - assumes that the called has validated that there is enough space in the byte array for four doubles (32 bytes)
|
|
ParsePolyLineOrPolygon ( byte shapeData, |
The PolyLine and Polygon shapes share the same structure, this method parses the bounding box and list of parts for both
|
|
ParsePolygonZ ( byte shapeData, |
The PolygonZ shape share the same structure, this method parses the bounding box and list of parts for both
|
|
Shape ( ShapeType shapeType, int recordNumber, |
Base Shapefile shape - contains only the shape type and metadata plus helper methods. An instance of Shape is the Null ShapeType. If the Type field is not ShapeType.Null then cast to the more specific shape (i.e. ShapePolygon).
|
public GetMetadata ( string name ) : string | ||
name | string | The name to retreieve |
return | string |
protected ParseBoundingBox ( byte value, int startIndex, ProvidedOrder order ) : |
||
value | byte | byte array |
startIndex | int | start index in the array |
order | ProvidedOrder | byte order of the doubles to be extracted |
return |
protected ParsePolyLineOrPolygon ( byte shapeData, |
||
shapeData | byte | The shape record as a byte array |
boundingBox | Returns the bounding box | |
parts | List |
Returns the list of parts |
return | void |
protected ParsePolygonZ ( byte shapeData, |
||
shapeData | byte | The shape record as a byte array |
boundingBox | Returns the bounding box | |
parts | List |
Returns the list of parts |
return | void |
protected Shape ( ShapeType shapeType, int recordNumber, |
||
shapeType | ShapeType | The ShapeType of the shape |
recordNumber | int | The record number in the Shapefile |
metadata | Metadata about the shape (optional) | |
dataRecord | IDataRecord | IDataRecord associated with the shape |
return | System |