Giter Site home page Giter Site logo

gpsmaster's People

Contributors

dependabot[bot] avatar john-h-kastner avatar nielstiben avatar rfuegen avatar tboegi avatar wbeisser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gpsmaster's Issues

move route point

hi, i did some route planing. very nice find route function, by the way :-)

what makes planing somewhat hard is that i did not find a way to move points after they were placed. also i was not able to find a way to insert points other than at the end of the route, which would be a workaround (remove the not so well placed point and insert the new one instead).

right now i have to remove all points at the end of the route up to the point i want to alter. after that i need to redo all the rest.

cheers
wb

"Find path" stopped working because of open mapquest shutdown

Related to Issue #27

When trying to use the find path tool, a red error message appears at the bottom of the window
with the caption open.mapquestapi.com.

It looks like mapquest shut down their open APIs in december 2022 according to this answer : https://stackoverflow.com/questions/74800230/did-mapquest-shutdown-their-elevation-api/74802749#74802749 and switched to a paid subscription model (https://developer.mapquest.com/plans).

Maybe there is an alternative service that could be used ? If this is too much work, maybe the feature could be removed or hidden by default ?

Undo loses current selection

Clicking undo while editing a route causes the route to no longer be selected. The is a particular issue in my workflow where I am adding points to a route, make a mistake, undo the mistake, and would then like to continue where I left off without reselecting the route in in the side bar.

Steps to Reproduce

  1. Create a new GPX file
  2. Create some new points
  3. Click "Undo"
  4. Attempt to add more points.
  5. Notice that you cannot do this, and the buttons for doing this have be deactivate.

Proposed Solution

If I comment out the call to setActiveGpx on line 509 fo ActiveGpxObjects.java, I get the behavior I want.

Object currSelection = tree.getLastSelectedPathComponent();
if (currSelection == null) {
setActiveGpx(null);
return;
}

I'm using this fix at any rate, but I think it's not the best way to go. The call to getLastSelectedPathComponent() is coming up null for some reason, and this would ideally be resolved. It is also likely that that setActiveGpx(null) should be called sometimes.

sum of elevation differences

hi,

first of all thank you for this brilliant piece of software.

i just discovered the "correct elevation" function which adds the elevation to all route points. this enables you to view the elevation chart to analyse the elevation profile of your route.

to estimate the duration of a planned hiking trip, you need the sum of all ascending differences and the sum of all descending. it would be great, if these two values would be shown next to the min/max elevations in the property segment of the route.

by the way, there are the hikebikemap and the opentopomap that would make great additions to the selectable maps.

cheers,
wb

Question: Will routes be seachable?

Hi,

This looks quite nice thanks.

I want to ask a question only and will explain with a use case. Our motorcycle club want to store/catalogue gpx files. These must be searchable say with metadata/tags of Country, province, duration, difficulty etc. It is currently store in folders/directories with some meaningful names but it is a real pain to find a route as more and more routes are added.

Will it be possible to add a feature to your software to help?

Thanks.

'desc' element considered invalid

When opening one of my GPX files, I always get a warning like

WARNING@: validation failed cvc-complex-type.2.4.a: Invalid content was found starting with element 'desc'. One of '{"http://www.topografix.com/GPX/1/1":link, "http://www.topografix.com/GPX/1/1":sym, "http://www.topografix.com/GPX/1/1":type, "http://www.topografix.com/GPX/1/1":fix, "http://www.topografix.com/GPX/1/1":sat, "http://www.topografix.com/GPX/1/1":hdop, "http://www.topografix.com/GPX/1/1":vdop, "http://www.topografix.com/GPX/1/1":pdop, "http://www.topografix.com/GPX/1/1":ageofdgpsdata, "http://www.topografix.com/GPX/1/1":dgpsid, "http://www.topografix.com/GPX/1/1":extensions}' is expected.

According to Wikipedia (which was the only reference to elements I found up to now), desc is a valid waypoint element – and other viewers (GPX Viewer) show / editors (Viking) show and edit it fine. Could it be the validator is slightly incomplete? The list also does not mention magvar, geoidheight, cmt or src. It however shows desc fine in properties and also lets me edit it – so it might be rather a "minor annoyance" (and nothing "urgent").

Thanks for looking at it – whenever your time permits 😃

Attempting to add points to "Waypoints" causes partial freeze.

If "Waypoints" is selected in the sidebar, and I attempt to add a route point, the map interface and explorer panel will freeze.

Steps to Reproduce

  1. Create a new GPX file.
  2. Add to this using the "Find path" tool.
  3. Expand the entry in the explorer panel for the file you created.
  4. There should be a "Waypoints" child node for the GPX file that was just created. Sometime this isn't the case, and I haven't figured out a pattern here. You may have to repeat these first three steps a couple times or try some other operations.
  5. Once in a state where "Waypoints" is created, select it in the explorer panel
  6. Using "Add Route Points", attempt to add a point.
  7. You should now be unable to manipulate the map interface.

Workaround

Once in this state, the session can be recovered by clicking "Undo".

"Unable to parse configuration file" in 0.63.33

Hi,
In 0.63.33, the following message appears on startup :

Unable to parse configuration file, using defaults. existing file will be overwritten on exit.

It prevents the addition of "onlineTileSources" in GpsMaster.config.

pass GPX files to open at the command line

Is it somehow possible to pass a (GPX) file to be opened right at the command line, e.g.

java -jar GpsMaster.jar myfile.gpx

I tried that, but it was ignored. I also tried to find out whether there are any options accepted via --help to no avail. As I mostly work from terminal, it would be very helpful to open a file I'm just at – or to even make GpsMaster the "default application" for opening *.gpx files.

Java Virtual Machine Launcher

MessageBox_1: Error: A JNI error has occurred, please check your installation and try again
MessageBox_2: A Java Exception has occured

java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)


using this installation for JOSM for many years without any problems

prevent GPXTree from collapsing

when GPX objects (tracks, routes, segments, ...) are added or removed, the explorer tree collapses, the current selection is lost. this makes some editing functions very annoying to use.

TODO: do not collapse explorer tree after changes in the tree structure. set current selection to a suitable object (i.e. parent object after removal of child object).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.