Class ShapefileFeatureTable
A table of features that typically represents real-world objects created from a local shapefile data source.
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ShapefileFeatureTable : FeatureTable, INotifyPropertyChanged, ILoadable
Remarks
A shapefile is a vector data storage format that stores the location, shape, and attributes of geographic features with the same geometry type (such as point, line, and polygon) and the same spatial reference. A shapefile dataset consists of at least three files (.shp, .shx, .dbf), and may include many others. Each of the component files of a shapefile must be smaller than 2 GB. If the minimum required files are not present (or are larger than 2 GB), the table will fail to load. If the file permissions are read-only, features cannot be edited.
See Shapefiles in ArcGIS Pro for more information about shapefile data types and limitations.
On-the-fly projection of a shapefile is supported if an associated .prj file is present. Otherwise, the features are assumed to have the same spatial reference as the map.
A default renderer is used to render a shapefile feature table in a feature layer. In most cases, the default should be replaced with a custom renderer.
Constructors
Name | Description |
---|---|
ShapefileFeatureTable(String) | Initializes a new instance of the ShapefileFeatureTable class. |
Properties
Name | Description |
---|---|
Info | Gets the shapefile info. |
Path | Gets or sets the path to the shapefile |
SpatialIndexEnabled | Gets a value indicating whether the shapefile uses spatial indexes. |
Methods
Name | Description |
---|---|
Close() | Closes a shapefile feature table. |
OpenAsync(String) | Creates and initializes a ShapefileFeatureTable from a file path. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |