Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Shapefile Metadata #77

Open
jprouty opened this issue Feb 3, 2017 · 3 comments
Open

Add Support for Shapefile Metadata #77

jprouty opened this issue Feb 3, 2017 · 3 comments

Comments

@jprouty
Copy link

jprouty commented Feb 3, 2017

We'd like to add metadata to our shapefile.

From qQIS/ArcGIS, we are able to save information such as Description (Short Name, Title, Abstract, Keywords, URL), Attribution, Properties.

Does this already exist? I couldn't find anything from a quick cursory glance at code and issue tracker.

@micahcochran
Copy link
Contributor

Short answer: No, metadata isn't currently supported.

pyshp is a very simple library.

It would be fairly easy to write into a preformatted xml template. Does that accomplish what you want?

Making it more robust and this feature gets quite a bit more complicated and will add quite a bit of code. Would you also want pyshp to be able to read metadata, too?

On QGIS, were you using the metatools plugin?

@jprouty
Copy link
Author

jprouty commented Feb 3, 2017

Hi Micah,

Thanks for the quick reply!

Injecting XML would be manageable for us. I'm pretty new to shapefiles; are there any tutorials or pointers on how to do this?

We are just using the properties directly on the shape file in QGIS when working with the shapefile layer. Maybe it's a plugin? But I didn't have to install anything. Double click the layer, and then there's a metadata section in recent versions of QGIS.

@omad
Copy link

omad commented Mar 27, 2019

arcpy_metadata is a Python package that claims to be able to read and write ESRI compatible shapefile metadata. I haven't used it, and don't know if QGIS supports the same format.

Looks like a good place to start for anyone stuck on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants