C# 클래스 Vishcious.ArcGIS.SLContrib.ShapeFile

The ShapeFile class represents the contents of a single ESRI shapefile. This is the class which contains functionality for reading shapefiles and their corresponding dBASE attribute files.
You can call the Read() method to import both shapes and attributes at once. Or, you can open the file stream yourself and read the file header or individual records one at a time. The advantage of this is that it allows you to implement your own progress reporting functionality, for example.
파일 보기 프로젝트 열기: OliveiraThales/GeoCache 1 사용 예제들

공개 메소드들

메소드 설명
Read ( FileInfo shapeFile, FileInfo dbfFile ) : void
ReadAttributes ( Stream stream ) : void
ReadDBFFile ( Stream stream ) : object>>.List
ReadShapeFileHeader ( Stream stream ) : void

Read the file header of the shapefile.

ReadShapeFileRecord ( Stream stream ) : ShapeFileRecord

Read a shapefile record.

ReadShapes ( FileInfo shapeFile ) : void

Read shapes (geometry) from the given shapefile.

ReadShapes ( Stream stream ) : void

Read shapes (geometry) from the given stream.

ShapeFile ( ) : System

Constructor for the ShapeFile class.

ToString ( ) : string

Output the File Header in the form of a string.

비공개 메소드들

메소드 설명
ReadDouble64_LE ( Stream stream ) : double

Read an 8-byte double using little endian (Intel) byte ordering.

ReadInt32_BE ( Stream stream ) : int

Read a 4-byte integer using big endian byte ordering.

ReadInt32_LE ( Stream stream ) : int

Read a 4-byte integer using little endian (Intel) byte ordering.

ReadMultipoint ( Stream stream, ShapeFileRecord record ) : void

Read a shapefile MultiPoint record.

ReadPoint ( Stream stream, ShapeFileRecord record ) : void

Read a shapefile Point record.

ReadPolygon ( Stream stream, ShapeFileRecord record ) : void

Read a shapefile Polygon record.

메소드 상세

Read() 공개 메소드

public Read ( FileInfo shapeFile, FileInfo dbfFile ) : void
shapeFile System.IO.FileInfo
dbfFile System.IO.FileInfo
리턴 void

ReadAttributes() 공개 메소드

public ReadAttributes ( Stream stream ) : void
stream Stream
리턴 void

ReadDBFFile() 공개 메소드

public ReadDBFFile ( Stream stream ) : object>>.List
stream Stream
리턴 object>>.List

ReadShapeFileHeader() 공개 메소드

Read the file header of the shapefile.
public ReadShapeFileHeader ( Stream stream ) : void
stream Stream Input stream.
리턴 void

ReadShapeFileRecord() 공개 메소드

Read a shapefile record.
public ReadShapeFileRecord ( Stream stream ) : ShapeFileRecord
stream Stream Input stream.
리턴 ShapeFileRecord

ReadShapes() 공개 메소드

Read shapes (geometry) from the given shapefile.
public ReadShapes ( FileInfo shapeFile ) : void
shapeFile System.IO.FileInfo
리턴 void

ReadShapes() 공개 메소드

Read shapes (geometry) from the given stream.
public ReadShapes ( Stream stream ) : void
stream Stream Input stream for a shapefile.
리턴 void

ShapeFile() 공개 메소드

Constructor for the ShapeFile class.
public ShapeFile ( ) : System
리턴 System

ToString() 공개 메소드

Output the File Header in the form of a string.
public ToString ( ) : string
리턴 string