openlayers / ol2

OpenLayers v2 - deprecated!
Other
1.48k stars 770 forks source link

gpx elements fully support #453

Open xdesktop opened 12 years ago

xdesktop commented 12 years ago

In current 2.12 rc version, reading and writing gpx is partially supported, however, can't use all of gpx elements.

Does any plan exist for implementing to support full gpx specification?

If not, I hope to add some code for it.

elemoine commented 12 years ago

I'm not aware of any existing effort on the GPX format. Pull requests welcome.

dkm commented 12 years ago

I have a small 'hack' for reading elevation and time from GPX. It's not very mature, I guess it would need more work, but I have too little knowledge of OL internals... Should I send a pull request ?

probins commented 12 years ago

ISTM that ele is best handled within a general maintaining of z as in #344 rather than having some logic specially for gpx

dkm commented 12 years ago

I'm not sure I understand correctly your point, but that's more or less what I did: https://github.com/dkm/openlayers/commit/150a8b0308910a551c88f4b563e441e511bf1627