One way to get started with GLDF is to use predefined templates. Be it to learn the format or as a base for new GLDFs. Templates are GLDFs presets, and each represents a specific sub-area of the format.
However, please keep in mind that they should only serve as a starting point. Many templates focus on a specific part of the format and include only the mandatory elements for the rest. However, since most properties are optional and usually a lot of other data is missing, they should be used as an example only. The goal should be to combine the templates with the parts you need. And provide as many information about your product as possible.
How to get started
- Choose the template you would like to start with...
- ...or combine multiple templates for your XML as required
- Replace the data inside the
- Replace all files like photometries or images
- Zip the content and create the GLDF
product.xmlshould be in the root directory
- Images, photometries etc. should be in respective subdirectories
- Finally, change the file extension of the zip archive to
- See GLDF Container for further details
- All templates have an example
.gldffile created this way
Template for the most basic luminaire without a photometry.
Template for the most basic luminaire including a ldc file and
Minimal luminaire with a
Minimal luminaire extended with a complete
Header element containing all possible elements.
The most basic
Sensor only product you can create.
Minimal luminaire extended with a
Photometry element containing all possible elements.
Luminaire with a
Spectrum element. Note in particular how the
Spectrum is referenced inside a
ChangeableLightSource. Which in turn is referenced through an
Equipment element. And how it is possible to define a
Spectrum as a file reference (spectrum1) and inside the XML itself (spectrum2).
Luminaire with a complete