Toblerity / Fiona

Fiona reads and writes geographic data files
https://fiona.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.16k stars 202 forks source link

Passing XML metadata (e.g. ISO 19135 standard) to GDB, or other shapes #566

Closed grwhumphries closed 1 year ago

grwhumphries commented 6 years ago

This is somewhat related to the other issue I posted about FileGDB.

Just wondering if there is support for passing XML metadata (e.g., the .shp.xml files that we generate for metadata) when writing out a shapefile. For example, I got fileGDB working, and have a test shape file with .xml metadata that I've pre-generated. i've tried to write that out to the .GDB, and can do so, but the XML metadata doesn't go with it. Similar when I'm writing out a new shapefile to a folder. Now, it's not so bad with the folder option because you can just copy and change the name of the xml file to associate it. But, it would be much smoother if fiona could do this. But perhaps I'm just missing something in the documentation?

sgillies commented 6 years ago

@grwhumphries Fiona relies on the GDAL/OGR library for reading and writing formatted files and that project has its own simple metadata scheme and does not implement any specific metadata standard (FGDC, ISO19115, DC, etc). See https://trac.osgeo.org/gdal/ticket/6154 for the sole report about implementing ISO19115.

You're not missing anything in the docs. Fiona does not provide support for ISO19115 or other specific metadata standards at this time.