Read a shapefile and display its metadata.

Use case
Display metadata for the shapefile currently being viewed—such as tags, credits, and a summary.
How to use the sample
Open the sample to automatically view the shapefile’s metadata.
How it works
- Load the shapefile using the
ShapefileFeatureTablewith the assets URL. - Access the shapefile metadata through the
infoproperty of the feature table. - Retrieve and display the thumbnail image from
fileInfo.thumbnail. - Display the shapefile’s
summary,credits, andtagsfrom the metadata.
Relevant API
- ShapefileFeatureTable
- ShapefileFeatureTable.info
- ShapefileInfo
- ShapefileInfo.credits
- ShapefileInfo.summary
- ShapefileInfo.tags
- ShapefileInfo.thumbnail
Offline data
Aurora Colorado Shapefiles is available as an item hosted on ArcGIS Online.
About the data
This sample uses a shapefile showing bike trails in Aurora, CO. The Aurora Colorado Shapefiles are available as an item on ArcGIS Online.
Tags
credits, description, metadata, package, shape file, shapefile, summary, symbology, tags, visualization