Read a shapefile and display its metadata.
You can display information about the shapefile your user is viewing, like tags, credits, and summary.
Click 'See metadata' to show the shapefile's metadata.
- Call
ShapefileFeatureTable.OpenAsync("path_to_shapefile")
to create theShapefileFeatureTable
. - Get the
ShapefileInfo
from the feature table'sInfo
property. - Get the image from
fileInfo.Thumbnail
and display it. - Display the
Summary
,Credits
, andTags
properties from the shapefile info.
- ShapefileFeatureTable
- ShapefileFeatureTable.Info
- ShapefileFeatureTable.OpenAsync
- ShapefileInfo
- ShapefileInfo.Credits
- ShapefileInfo.Summary
- ShapefileInfo.Tags
- ShapefileInfo.Thumbnail
This sample downloads the following items from ArcGIS Online automatically:
- Aurora_CO_shp.zip - Shapefiles that cover Aurora Colorado: Public art (points), Bike trails (lines), and Subdivisions (polygons).
This sample uses a shapefile showing trail bike paths in Aurora, CO. The shapefile is available as an item on ArcGIS Online.
credits, description, metadata, package, shape file, shapefile, summary, symbology, tags, visualization