openlayers/openlayers — Issue #267: GPX: handling of desc attribute
Author: probins
Created: 2012-03-02 12:02:18+00:00
State: open

In a GPX file, the description element is called 'desc', and the Format read creates a feature attribute 'desc'. However, write() looks for feature.attributes.description, which of course doesn't exist. The tests are also converting feature.attributes.description to desc, so it seems this is deliberate. Is this to make it compatible with KML? If so, it would surely be better to look for feature.attributes.desc and feature.attributes.description