Max,
Thanks so much for starting me in the right direction! It looks like I
need a GPX file with waypoints in it. With that much known, being a
basically lazy (hardware) engineer, I started doing some research in
Google.
Rather than try to load and setup GDAL I have found an online utility
that looks promising. Have you ever heard of or tried GPS Visualizer
(http://www.gpsvisualizer.com)? It looks like it will convert an excel
generated CSV file into a GPX file.
On Friday, 4 March 2016 14:04:29 UTC, Steve Sr. wrote:Max,
Thanks so much for starting me in the right direction! It looks like I
need a GPX file with waypoints in it. With that much known, being a
basically lazy (hardware) engineer, I started doing some research in
Google.
Rather than try to load and setup GDAL I have found an online utility
that looks promising. Have you ever heard of or tried GPS Visualizer
(http://www.gpsvisualizer.com)? It looks like it will convert an excel
generated CSV file into a GPX file.
I wanted to suggest GPS Visualizer, but got sidetracked and didn't post.
I've used it create maps showing where I've hiked, but it should work fine for your case.
I pasted a test entry into http://www.gpsvisualizer.com/convert_input and the generated GPX file contained a <wpt> tag which OsmAnd recognises.
Once you've got the GPX file, copy it into your OsmAnd data folder (Android/data/net.osmand.plus/files/osmand/tracks). (If you're using the free version, remove ".plus" from the previous path.)
Alternatively, upload the GPX file to Dropbox and download it using the Dropbox app on your phone.
It will open in OsmAnd automatically. You can tap waypoints to see their descriptions.
You can control what GPX files are displayed, select "Configure map" and then "GPX track...". Tick whatever tracks you want OsmAnd to show.
Please keep up the good work of maintaining those trails :)
Thanks
Nick
On 4 March 2016 at 20:40, Steve Lund <slun...@pobox.com> wrote:
This part of the process is turning out to be and *extremely* big PITA! The file is on Google Drive but after many more hours of research it looks like I need a 3rd party App line ES File Explorer to actually get it to its proper location where OSMand can find and use it.On Friday, 4 March 2016 14:04:29 UTC, Steve Sr. wrote:Max,
Thanks so much for starting me in the right direction! It looks like I
need a GPX file with waypoints in it. With that much known, being a
basically lazy (hardware) engineer, I started doing some research in
Google.
Rather than try to load and setup GDAL I have found an online utility
that looks promising. Have you ever heard of or tried GPS Visualizer
(http://www.gpsvisualizer.com)? It looks like it will convert an excel
generated CSV file into a GPX file.
I wanted to suggest GPS Visualizer, but got sidetracked and didn't post.
I've used it create maps showing where I've hiked, but it should work fine for your case.
I pasted a test entry into http://www.gpsvisualizer.com/convert_input and the generated GPX file contained a <wpt> tag which OsmAnd recognises.
Once you've got the GPX file, copy it into your OsmAnd data folder (Android/data/net.osmand.plus/files/osmand/tracks). (If you're using the free version, remove ".plus" from the previous path.)
Alternatively, upload the GPX file to Dropbox and download it using the Dropbox app on your phone.
Do you (or anyone else) know how to make this work directly with Google Drive? If DropBox could do it I would think that GD should as well. If anyone has some good step-by-step directions I would welcome them.
This doesn't work in my version of Android (kit-kat 4.4.2). There is NO "Open with" card. Tapping the file just opens it in some form of text viewer. If I tap on the magnifying glass icon drive shows a bunch of file associations and viewers but there is NO GPX file type in the list and no apparent way to associate the file type with the correct OsmAnd App.I don't use Google Drive but I just tested it and it works. Instructions:
1. Upload the GPX file to Drive using your computer.
2. Open the Drive app on your phone and find the GPX file. Tap it.
3. Drive will show an "Open with" card. Tap OsmAnd or OsmAnd+ (depending on which version you use).
4. OsmAnd will open, and will show a brief "toast" pop-up message saying "GPX track saved to ..." or similar.
5. OsmAnd will probably move the map to the first waypoint defined in the GPX file.
How does this "automatic" opening work? Does OsmAnd open the file and then move it into the /tracks/ directory or does Dropbox (or GD if it will work) put the file in the /tracks/ folder and then open OsmAnd with the file name as an argument somehow?It will open in OsmAnd automatically. You can tap waypoints to see their descriptions.
It would be nice to come up with the simplest solution to this as some other volunteers on on our trail crew may want to use this and they are not techies at all.
It would be nice if this actually worked this way. Maybe it is fixed in a later OS version but it doesn't work now!The automatic opening works via Android's intents system. Applications like OsmAnd can declare that they handle certain file types or actions. When an action occurs (like wanting to share something, or downloading a file) then Android gives you a choice of apps that can do that for you.
If you select OsmAnd from the choice, then it gets the GPX file and imports the file itself. (Due to Android's permission model, neither Dropbox nor Google Drive can write to OsmAnd's storage.)
You can control what GPX files are displayed, select "Configure map" and then "GPX track...". Tick whatever tracks you want OsmAnd to show.I am hoping that when I get this far this will be easy.
Once I figured out how to MANUALLY move the GPX file into the proper "tracks" directory it opened right up!Let's hope so :)
Thanks, It is looking like it will be a busy spring thanks to lots of rain and lots of wind and already some severe weather.Please keep up the good work of maintaining those trails :)
The MST is a work in progress. Of the 1000 miles about 500 is currently on the ground and connected via rural road walks. For anyone who wants to learn more please visit www.ncmst.org.I just looked that trail up and it's over 1,000 miles--nuts. I went to Atlanta last year and wanted to go to the Great Smokey Mountains, but without hiring a car it was impossible alas :(
--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/VUMzEB4ByhU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
So long as you have a valid gpx file it is easy to get it into OsmAnd without external software or websites.
This is what I do using Dropbox (Google Drive will be similar):
- Edit the file to your requirements (see my earlier post) and save to Dropbox.
- Open Dropbox on your phone or other device.
- Locate the file and click on it.
- An "Open with . . ." popup will appear with a list of Apps that might open the file.
- Select OsmAnd. (Maybe the first time click "Just once").
- OsmAnd will open with a popup "Import to OsmAnd"
- If the file contains gpx waypoints, select "Import".
- Your imported waypoints will appear in "My places" in OsmAnd sorted into the categories you assigned in the gpx file.
Easy peasy!
Well... Not quite! The "Open With" functionality doesn't appear to be part of Android Kit-Kat 4.4.2 which makes this process quite painful. What version of Android are you using that has this functionality?
Well... Not quite! The "Open With" functionality doesn't appear to be part of Android Kit-Kat 4.4.2 which makes this process quite painful. What version of Android are you using that has this functionality?
The functionality is present in Android 4 (it uses 'intents'). It should also work with reasonably recent versions of OSMAnd (the receiving app has to tell Android it is interested in a given file type).
In the version of Google Drive I have, when I tap a gpx file it shows it to me as text.
On this screen there is a button made out of three vertical dots in the upper right corner. If I tap that button, there is an Open with... command.
Testing briefly it seems drive marks the file as a text document and OSMAnd doesn't get a chance to open it.
If I download a gpx with the Chrome browser on the phone, I can send that to OSMAnd by tapping it.
If I grab a gpx out of Drive, tapping it sends the file to a text editor. I'm not sure if OSMAnd should be registering to handle those files or not (but it currently is not, or I'm doing something wrong).
So in general you need to look at the app for the open with functionality, but there could be corner cases where it won't work.
Yay systems made to be easy that make things hard.
Max
So is this an OsmAnd bug or a Google Drive bug... or both!
--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.