Skip to main content
Solved

Extract metadata from a shapefile

  • January 8, 2025
  • 1 reply
  • 125 views

vxn43
Supporter
Forum|alt.badge.img+18

Hello, 

 

What is the best way to extract metadata from a shapefile? This would include Title, Tags, Summary, Description, Credits, Field Names, and Summaries. I want to export the metadata to an Excel spreadsheet.

I am looking for some ideas on what transformers to use. 

Best answer by redgeographics

You could use the Schema reader to extract the field names and types, but all of the other stuff is not actually stored in the shapefile itself, but, if I recall correctly, as a separate XML file. So for that you would need the XML reader

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • January 9, 2025

You could use the Schema reader to extract the field names and types, but all of the other stuff is not actually stored in the shapefile itself, but, if I recall correctly, as a separate XML file. So for that you would need the XML reader