Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to more easily convert GpxFile to/from string #19

Closed
airbreather opened this issue Aug 20, 2018 · 0 comments
Closed

Add methods to more easily convert GpxFile to/from string #19

airbreather opened this issue Aug 20, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@airbreather
Copy link
Member

#13 had this comment saying, among other things:

The "quick-and-dirty" way to create a GPX model (that is, in cases where you will have lots of constant values to plug in, rather than just doing a small number of "new GpxLongitude(...)" calls) is likely going to look something like this, which lets you use double just fine since it's always safe to go the other way around:

and then showed an example of building a Gpx instance (now called GpxFile) "quick-and-dirty" from a string without hardly much ceremony at all.

This should probably actually be supported.

@airbreather airbreather added the enhancement New feature or request label Aug 20, 2018
@airbreather airbreather added this to the Alpha 0.3.0 milestone Aug 20, 2018
@airbreather airbreather self-assigned this Aug 20, 2018
@airbreather airbreather changed the title Add methods to convert GpxFile to/from string Add methods to more easily convert GpxFile to/from string Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant