elliotstokes / gpx-parse

GPX parser
MIT License
44 stars 40 forks source link

GpxWaypoint Elevation is an array #12

Closed cspeer closed 8 years ago

cspeer commented 8 years ago

Hi there,

http://www.vapidspace.com/gpx-parse/doc/GpxWaypoint.html states that member elevation is a number. However, when I parse a GPX file I get an array with only a single item which then is a number.

Thanks so much for this parser. I have been looking for one for quite some time now!

Thanks, Chris

elliotstokes commented 8 years ago

ok. Ill look into this. Are you using gpx v1.1 or 1.0?

elliotstokes commented 8 years ago

Sorry the version of gpx that you are using i think there are two v1.0 or 1.1.

cspeer commented 8 years ago

1.0

Thanks!!

cspeer commented 8 years ago

Yeah, I only realised what you meant a few seconds after posting :D

elliotstokes commented 8 years ago

Ok im also seeing this. ill fix and release a new version.

cspeer commented 8 years ago

Awesome, thanks so much! On another note: Would you mind adding a bower.json?

elliotstokes commented 8 years ago

fixed in a7dc6ff207388260b2b4b167ac4aaa37f7fd05e5

cspeer commented 8 years ago

Thank you!!

elliotstokes commented 8 years ago

I have added a bower.json too

elliotstokes commented 8 years ago

have also now published to npm. Hope that helps.

cspeer commented 8 years ago

Can't say thanks enough

cspeer commented 8 years ago

Ah, one more thing: Can you please register the package with bower? http://bower.io/docs/creating-packages/ Thanks :)

elliotstokes commented 8 years ago

done. :)