The ShapeFile type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ShapeFile()()()() |
Empty constructor.
|
![]() | ShapeFile(String) |
Constructs a ShapeFile using a path to a .shp shape file
|
Methods
Name | Description | |
---|---|---|
![]() | ClearRecordsVisibility |
Sets all shapefile records to be visible
|
![]() | ClearSelectedRecords |
Clears any selected shapefile records
|
![]() | Close |
Closes the underlying stream of the ShapeFile and clears all of the internal data.
After calling this method the ShapeFile can no longer be rendered
|
![]() | ConvertExtentToWgs84 |
Convert source extent to WGS84 extent
|
![]() | Dispose |
Disposes of the ShapeFile
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAttributeFieldNames |
Gets all of the Attribute Names contained in the shapefile's DBF file
|
![]() | GetAttributeFieldValues |
Gets all of the Attribute values contained in the shapefile's DBF file
|
![]() | GetClosestShape(PointD, Double) | |
![]() | GetClosestShape(PointD, Double, PolylineDistanceInfo%) | |
![]() | GetClosestShape(PointD, Double, List<(Of <<'(Int32>)>>), PolylineDistanceInfo%) |
returns the index of the closest shape in the given collection of records
|
![]() | GetClosestShape(PointD, Double, ReadOnlyCollection<(Of <<'(Int32>)>>), PolylineDistanceInfo%) | |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetRecords |
Gets all of the records at fieldIndex in the DBF file
|
![]() | GetShapeBounds |
Gets the rectangular bounds of an individual shape in the ShapeFile
|
![]() | GetShapeBoundsD |
Gets the rectangular bounds of an individual shape in the ShapeFile in double precision coordinates
|
![]() | GetShapeData(Int32) |
Gets the raw shape data at given record index.
|
![]() | GetShapeData(Int32, array<Byte>[]()[][]) |
Gets the raw shape data at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetShapeDataD(Int32) |
Gets the raw shape data in double precision format at given record index.
|
![]() | GetShapeDataD(Int32, array<Byte>[]()[][]) |
Gets the raw shape data in double precision format at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetShapeExtentsD |
Gets the rectangular extent of each shape in the shapefile in double precision form
|
![]() | GetShapeFileEnumerator()()()() |
Gets a ShapeFileEnumerator, which can be used to enumerate over all of the records in the ShapeFile
|
![]() | GetShapeFileEnumerator(RectangleD) |
Gets a ShapeFileEnumerator, which can be used to enumerate over all of the records in the ShapeFile, intersecting with a given bounds
|
![]() | GetShapeFileEnumerator(RectangleF, ShapeFileEnumerator..::..IntersectionType) |
Gets a ShapeFileEnumerator, which can be used to enumerate over all of the records in the ShapeFile, intersecting or contained within a given bounds
|
![]() | GetShapeIndexContainingPoint |
returns the index of the shape containing Point pt
|
![]() | GetShapeIndiciesIntersectingCircle |
gets records intersecting a circle
|
![]() | GetShapeIndiciesIntersectingRect |
Gets records intersecting a given rectangle
|
![]() | GetShapeMDataD(Int32) |
Gets the raw shape M(Measures) data in double precision format at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetShapeMDataD(Int32, array<Byte>[]()[][]) |
Gets the raw shape M(Measures) data in double precision format at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetShapeZData(Int32) |
Gets the raw shape Z(height) data at given record index.
|
![]() | GetShapeZData(Int32, array<Byte>[]()[][]) |
Gets the raw shape Z(height) data at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetShapeZDataD |
Gets the raw shape Z(height) data in double precision format at given record index, using a supplied dataBuffer to read the data.
|
![]() | GetType | (Inherited from Object.) |
![]() | IsRecordSelected |
returns whether a shapefile record is currently selected
|
![]() | IsRecordVisible |
returns whether a shapefile record is currently visible
|
![]() | IsVisibleAtZoomLevel |
Checks whether the ShapeFile will be visible if rendered at given zoom level, as determined by the
ShapeFile RenderSettings
|
![]() ![]() | LatLongToProjection |
Transforms a point using MercatorProjection
|
![]() ![]() | LLExtentToProjectedExtent | |
![]() ![]() | LLToMercator |
Applys the Mercator projection to a lat long pt and returns
the projected point
|
![]() | LoadFromFile |
Loads a ShapeFile using a path to a .shp shape file
|
![]() | LoadFromFile2 |
Loads a ShapeFile using a path to a .shp shape file
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | MercatorToLL |
Utillity method to translate a Point using a Mercator Projection t its Lat/Long representation.
|
![]() ![]() | ProjectionToLatLong |
Returns a projected point to its Lat Long equivalent
|
![]() | ReadXml |
Reads and and loads a ShapeFile from Xml representation of the ShapeFile (as output by WriteXml)
|
![]() | Render(Graphics, Size, PointD, Double, ProjectionType) |
Renders the shapefile centered at given point and zoom
|
![]() | Render(Graphics, Size, PointD, Double, ProjectionType, ICRS) |
Renders the shapefile centered at given point and zoom
|
![]() | Render(Graphics, Size, PointF, Single, RenderSettings, ProjectionType) |
Renders the shapefile centered at given point and zoom
|
![]() | SelectRecord |
Selects or de-selects a shapefile record.
|
![]() | SetRecordVisibility |
Sets the visibility of a shapefile record.
|
![]() | ShapeIntersectsRect | |
![]() | ToString |
overridden ToString method
(Overrides Object..::..ToString()()()().) |
![]() | WriteXml |
Writes an Xml representation of the ShapeFile.
|
Properties
Name | Description | |
---|---|---|
![]() | CoordinateReferenceSystem |
The Coordinate Reference System of the ShapeFile as read from the .prj file WKT
|
![]() | Extent |
Gets the Rectangular extent of the shapefile
|
![]() | FilePath |
Gets the path to the ShapeFile, not including the .shp file extension
|
![]() | IsSelectable |
Indicates whether the ShapeFile is selectable.
|
![]() ![]() | MapFilesInMemory |
Gets or Sets whether to map files in memory.
|
![]() | Name |
The name of this ShapeFile.
|
![]() | ProjectionWKT |
The WKT representation of the ShapeFile's Coordinate Reference System as read from the .prj file
|
![]() ![]() | QuadTreeMaxLevels |
Static property to get/set maximum levels used by internal quad tree data structure
|
![]() | RecordCount |
Gets the number of records(shapes) in the ShapeFile
|
![]() ![]() | RenderQuality |
Gets or Sets the RenderQuality to use when rendering shapefiles
|
![]() | RenderSettings |
Gets or sets the RenderSettings used by the ShapeFile when Rendering
|
![]() | SelectedRecordIndices |
Returns a collection of all the selected record indices
|
![]() | ShapeType |
Gets the ShapeType of the ShapeFile
|
![]() ![]() | Sync |
Gets an object that can be used to synchronize access to the ShapeFile
|
![]() | VisibleRecordIndices |
Returns a collection of all the visible record indices
|