GithubHelp home page GithubHelp logo

Add Support for Shapefile Metadata about pyshp HOT 3 OPEN

jprouty avatar jprouty commented on July 28, 2024
Add Support for Shapefile Metadata

from pyshp.

Comments (3)

micahcochran avatar micahcochran commented on July 28, 2024

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?

from pyshp.

jprouty avatar jprouty commented on July 28, 2024

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.

from pyshp.

omad avatar omad commented on July 28, 2024

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.

from pyshp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.