메소드 | 설명 | |
---|---|---|
GetDbaseHeader ( |
Generates a dBase file header.
|
|
GetDbaseHeader ( Feature feature, List |
Gets a stub of dBase file header
|
|
GetDbaseHeader ( string dbfFile ) : |
Gets the header from a dbf file.
|
|
GetShapeType ( IGeometry geom ) : ShapeType |
Given a geomtery object, returns the equilivent shape file type.
|
|
Read ( string fileName, BoundingRectangle bounds ) : void |
Reads a shape-file data (geometries and attributes).
|
|
ReadAttributes ( string dbaseFile ) : void |
Reads a dBase file and merges dBase records with shapes.
|
|
ReadHeader ( Stream stream ) : void |
Reads the header oe shape-file.
|
|
ReadIndex ( string fileName ) : int[] |
Reads the index of shape-file.
|
|
ReadRecord ( Stream stream, int recordOffset, BoundingRectangle bounds ) : |
Reads a record from the specified stream.
|
|
ReadShapes ( Stream stream, int offsets, BoundingRectangle bounds ) : void |
Reads the shapes from specified stream.
|
|
ReadShapes ( string fileName, int offsets, BoundingRectangle bounds ) : void |
Reads the shapes of shape-file.
|
|
ShapeFile ( ) : System |
Initializes a new instance of MapAround.IO.Shapefile.
|
|
ToString ( ) : string |
Returns a System.String that represents the current MapAround.IO.ShapeFiler.
|
|
Write ( string fileName, ICollection |
Writes a collection of features into the shape-file.
|
|
WriteAttributes ( string dbaseFile, ICollection |
Writes the attribute file.
|
|
WriteShapes ( string filename, GeometryCollection geometryCollection ) : void |
Writes shapes.
|
메소드 | 설명 | |
---|---|---|
GetShapeHandler ( ShapeType type ) : |
Returns the appropriate class to convert a shaperecord to an MapAround geometry given the type of shape.
|
|
MergeAttributes ( |
Merges attribute rows with the shape file records.
|
|
RecountColumnLengths ( |
Computes the sizes of attribute fileds taking into accound attribute values of the features.
|
|
RecountRecords ( |
Computes the count of DBF records
|
|
isRecordInView ( BoundingRectangle bounds, |
public static GetDbaseHeader ( |
||
dbFields | An array containing the dBase filed descriptors | |
count | int | The record count |
리턴 |
public static GetDbaseHeader ( Feature feature, List |
||
feature | Feature | The feature |
attributeNames | List |
A list containing the attribute names |
count | int | The record count |
리턴 |
public static GetDbaseHeader ( string dbfFile ) : |
||
dbfFile | string | The DBF file. |
리턴 |
public static GetShapeType ( IGeometry geom ) : ShapeType | ||
geom | IGeometry | A Geometry object. |
리턴 | ShapeType |
public Read ( string fileName, BoundingRectangle bounds ) : void | ||
fileName | string | The file name |
bounds | BoundingRectangle | The bounding rectangle. Only those records are read, /// which bounding rectangles intersect with this rectangle |
리턴 | void |
public ReadAttributes ( string dbaseFile ) : void | ||
dbaseFile | string | The dBase file name |
리턴 | void |
public ReadHeader ( Stream stream ) : void | ||
stream | Stream | A System.IO.Stream instance to read |
리턴 | void |
public ReadIndex ( string fileName ) : int[] | ||
fileName | string | The file name |
리턴 | int[] |
public ReadRecord ( Stream stream, int recordOffset, BoundingRectangle bounds ) : |
||
stream | Stream | A System.IO.Stream instance to read |
recordOffset | int | An offset of record |
bounds | BoundingRectangle | An object representing a bounds of the reading area |
리턴 |
public ReadShapes ( Stream stream, int offsets, BoundingRectangle bounds ) : void | ||
stream | Stream | A System.IO.Stream instance to read shapes |
offsets | int | An array containing the offset of records to read |
bounds | BoundingRectangle | The bounding rectangle. Only those records are read, /// which bounding rectangles intersect with this rectangle |
리턴 | void |
public ReadShapes ( string fileName, int offsets, BoundingRectangle bounds ) : void | ||
fileName | string | The file name |
offsets | int | An array containing offsets of the records to read |
bounds | BoundingRectangle | The bounding rectangle. Only those records are read, /// which bounding rectangles intersect with this rectangle |
리턴 | void |
public Write ( string fileName, ICollection |
||
fileName | string | The string defining file name without .shp extension |
features | ICollection |
The collection of features to write |
리턴 | void |
public WriteAttributes ( string dbaseFile, ICollection |
||
dbaseFile | string | file attributes |
featureCollection | ICollection |
A collection containing features which attributes is to be written |
리턴 | void |
public WriteShapes ( string filename, GeometryCollection geometryCollection ) : void | ||
filename | string | The string value defining shape file name without .shp extension |
geometryCollection | GeometryCollection | MapAround.Geometry.GeometryCollection instance containing /// the geometries to write to shape file |
리턴 | void |