Skip to main content

Tool to create templated metadata sheets for fieldwork experiments

Project description

Tools to generate "location sheets"

Sometimes you need a bit more than a simple text/qr code label. That's where this tool comes in. Create a temlate with e.g. Excel or Inkscape, then create an svglue template in Inkscape.

To create a template, you need to have two or more items in the SVG file:

  • A rectangle with the template-id attribute set to id_image, which will contain the QR image. You can add more than one by suffixing that with numbers, e.g. id_image1, id_image2, ....
  • A text box (tspan) with template-id set to id_text, which will have the text of whatever the ID is. Again there can be many with id_text1,2,3,....

There are a few templates from our research under ./templates, which should be somewhat self-explanatory. If you have any questions, reach out (in github issues or via Email).

As an example, the below is an example of one sheet generated with the templates/ctx_v2.svg template.

In case the above link dies, this is how one adds the required attributes in inkscape.

breifly, in inkscape:

  1. click the element you want to template

  2. enter the XML editor (Edit -> XML Editor, or Ctrl+Shift+X for me)

  3. add (with plus button) a row in the attribute table, whose Name (1st column) is template-id, and whose Value (2nd column) is your key text.

For text just make sure you do this on the tspan element not the text element that (for me) contains it, and which inkscape focuses when you click on the text in the document. I had to manually click the tspan element in the xml editor.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nvtk-sitesheets-0.1.0.tar.gz (59.5 kB view details)

Uploaded Source

Built Distribution

nvtk_sitesheets-0.1.0-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nvtk-sitesheets-0.1.0.tar.gz.

File metadata

  • Download URL: nvtk-sitesheets-0.1.0.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for nvtk-sitesheets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1d650a025df7891d1d1dd7eff9c1eccecbd6c97c36394681f6ae3c95274f2bf9
MD5 618679fbe16093d83c6e0bdbf733ca9a
BLAKE2b-256 3d2d385f206922c307ab119e2ab7973b571aa654a970119093db0835ebc10b08

See more details on using hashes here.

File details

Details for the file nvtk_sitesheets-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nvtk_sitesheets-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fbc8f0daab4ed4bd769f4310f2fa677ebe9d2e7a1950bea0c4f15b5fb8ad9ca8
MD5 c52f926c9b69446b332d8cb5cb88974e
BLAKE2b-256 f16598f18605542175a02cf72235c1dd0ae06716ea4a2229115c798ab28057b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page