cpesch / routeconverter Goto Github PK
View Code? Open in Web Editor NEWThe popular GPS conversion and editing tool
Home Page: http://www.routeconverter.com
License: Other
The popular GPS conversion and editing tool
Home Page: http://www.routeconverter.com
License: Other
I had the problem under Ubuntu Mate that the GTK look and feel was not used by RC instead it fell back to Metal. When I tried to add the hidden preference for the look and feel it didn't work. Only after searching the source code for the preference I got it to work. The hidden preference in HiddenRouteConverterOptions.reg is pointing to [HKEY_CURRENT_USER\Software\JavaSoft\Prefs\slash\navigation\gui]
but the preference only worked with using
[HKEY_CURRENT_USER\Software\JavaSoft\Prefs\slash\navigation\gui\helpers]
IMHO this shouldn't even be a hidden preference. I searched a really long time to find this preference and every person familiar with Java applications will expect to find an option to select the look and feel via the GUI.
Hi,
I have been using the great program for many years, mainly to plan my holidays.
After downloading the most recent version (and Java) on a new PC, I am only offered OpenStreetMap.
No other Online or Offline Maps show.
The same version is showing the usual map-options, on my old PC where RC was/is running for a long time.
Any idea what I could be doing wrong?
Thanks!
PS: I am unable to register at the Userforum, I says Captcha cannot be conformed, but there is NO Captcha displayed
Hi, on my System (Windows 10) I have Java 15 installed (and in the PATH). Using the Windows EXE, it complains about missing Java 8:
This happens with the stable and with the prerelease version. I downloaded the JAR file, and it works perfectly with Java 15. So I think the problem is in the part of the code for the EXE file.
Java 8 is end of public updates and the EXE of RouteConverter should support (recognize) newer Java versions.
Hi,
just little idea for enhancement. Export to the iGO8 Route (.kml) use always “Waypoints” as name of the Folder
static final String WAYPOINTS = "Waypoints";
...
folderType.setName(WAYPOINTS);
Which resulting in the same name for every route I export
<name>iGO-Route</name>
<open>true</open>
<Folder>
<name>Waypoints</name>
For some reason, iGO use Folder name to caption stored tracks within route list in application, when I want to load saved route/track.
For the iGO .kml, could be name of the folder also used for showing name of route (route.getName()
), to better orientation in iGO? Currently, I must edit this every time when exporting route for iGO, to prevent XX routes, named Waypoints in the iGO list :-(
I've seen in the Forum that there were several wishes to have different colors for tracks. Since I've also sometimes wanted that feature I've added that function to RouteConverter. The idea is to provide an easy to use button that doesn't add more complexity to the GUI so there is just a small colored button in front of the position list selection which simply can be ignored by most users. The color of the current selected RouteCharacteristics and index of the position list can be changed by clicking the button and is subsequently saved for this RouteCharacteristics and the index of the position list for future use. So once a user has set colors for an index that colors will be used again if a new position list is added. Finally the color selection in the option dialog should be removed because it would no longer be necessary.
But the code of the changes seems rather clunky to me, even though it works as expected. For KML files the selected colors are even saved but I wasn't able to build in the loading of KML colors since the source code is really complex for loading the XML files. Before I even try to provide a Pull request I would like to get your input, if the result is within the scope of RouteConverter. Here is a short video that shows how it works: http://download.tvbrowser.org/plugins/routeconverter-colors.mkv
I'm having trouble starting the latest version on OS X.
If I just double-click the app after download I get a popup saying "JRELoadError".
If I run it from the CLI:
$ java -jar RouteConverterMac.app/Contents/Java/RouteConverterMac.jar
Jul 26 13:46:14 FL627-3 java[61698] <Error>: The function ‘CGContextErase’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
Exception in thread "main" java.lang.UnsupportedClassVersionError: slash/navigation/converter/gui/RouteConverter : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
Hello, your program is very helpful but i need an android version. I have tried to run it with Java Manager-Emulate Java on https://play.google.com/store/apps/details?id=com.java.manager but without success. Also can you add Sygic itf format.
Best Regards
Didn't find an obvious option in the menus. Thank you.
BTW. The README.md instruction
git clone git://github.com/cpesch/RouteConverter.git
timed out for me. I had to
git clone [email protected]:cpesch/RouteConverter.git
Hello,
would be possible to show (optionally?) very usefull parameters length/distance in Browser window for route? Currently, there is hardcoded just name and creator columns.
Use case: I have XX routes in folders, all by me. So author is not imported for me at all, but I would welcome options above, to quick glance into distance/ (especially) length parameters, when comparing / changing routes, without need to click to Convert panel and back in every route change :)
I upload my wapoints list, it uses a tag <type>
.
After saving, this tag disappears.
This tag is in the standard - it would be good if it would not be lost when saving.
Example:
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<gpx version="1.1" creator="OsmAnd~ 4.4.7" xmlns="http://www.topografix.com/GPX/1/1" xmlns:osmand="https://osmand.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<metadata>
<name>favorites</name>
<time>2023-09-27T16:20:32Z</time>
</metadata>
<wpt lat="45.2532852" lon="19.8611541">
<ele>87.5</ele>
<time>2023-07-07T22:19:18Z</time>
<name>just name</name>
<type>TYPE</type>
</wpt>
</gpx>
In fact there is no bug unless your very useful application can't add elevation to the 1002008 points I need...of course I understand it's very unusual ! So in fact it's more a request : can you add that abilities ? Thanks if so it will save me a lot of time !
If you just upgrade to debian 12 and had java 11 installed before, there is a chance to still use routconverter.
update-java-alternatives -l
shows versions and you can set/force using java 11 system wide (not recommended) but you still can use java 11 binary:
Running routconverter gui with a desktop starter would go this way then.:
/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -jar /some/path/RouteConverterLinux.jar
This is helpful for the Website/download page as hint so that people dont have to search that deep!
java 11 could be installed from oldstable tree. but take care for security issues. java 11 is out of debian 12, official!
Thanks for a great piece of software!
Whenever I delete a position from the position list, the next position I click on resets the zoom level to very far away. This makes it kind of hard to do clean-up where you need to manually remove points from here and there.
Any idea what could cause this?
Version: OpenSource Edition 2.30 (Win-Executable)
Java Version: 11.0.1
Hello Christian,
I ran into an issues when importing a GPX file via drag and drop with an error in the format (version="1.0"
instead of version="1.1"
). Here is the wrong gpx:
<gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.0" creator="Wikipedia"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
At some point there's a http 400 response when trying to fetch the URL:
Oct 25, 2021 4:11:22 PM slash.navigation.base.NavigationFormatParser internalRead
SEVERE: Error reading with slash.navigation.gpx.Gpx10Format@2b2e84fd: java.io.IOException: Parse error: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.topografix.com/GPX/1/1", local:"gpx"). Expected elements are <{http://www.topografix.com/GPX/1/0}gpx>
Oct 25, 2021 4:11:22 PM slash.navigation.base.NavigationFormatParser internalRead
SEVERE: Error reading with slash.navigation.gpx.GarbleGpx10Format@75c66b7a: java.io.IOException: Parse error: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://www.topografix.com/GPX/1/1", local:"gpx"). Expected elements are <{http://www.topografix.com/GPX/1/0}gpx>
Oct 25, 2021 4:11:23 PM slash.navigation.base.NavigationFormatParser$InternalParserContext parse
INFO: Reading 'http://www.topografix.com/GPX/1/1"' with a buffer of 1048576 bytes
Oct 25, 2021 4:11:24 PM slash.navigation.base.NavigationFormatParser internalRead
SEVERE: Error reading with slash.navigation.url.UrlFormat@8516915e: java.io.IOException: Server returned HTTP response code: 400 for URL: http://www.topografix.com/GPX/1/1"
To me it seems that it does not remove the "
at the end when parsing the URL, which would explain the 400 response.
Further the program tries to interpret (wanted behavior?) the file and the result is some garbage:
There is no user feedback like "cannot import file / wrong format / error in format".
Test file with the wrong version: test_1_0.gpx.txt
Test file with the correct version: test_1_1.gpx.txt
(has to be renamed to *.gpx
)
I will be contributing heavily to this project for the next two months.
I'm trying to use RouteConverter to sync .gpx
and video files. There are some gaps in the video file and I want to remove those time intervals from the .gpx
. For this, I need to change the start time of a track and shift all the position time stamps with the corresponding offset.
The workflow is described in this article:
- Load GPS track from your ride.
- Localize and mark the break in your GPS track - the track is split into two segments - each one different color on the map.
- You can use the auto-discovery tool for gaps longer than 1 min.
- Save the newly created segment - a new track will show up in the left panel.
- Change the time of the first track point in the new track (for example if the gap cut out from the video is 20 seconds long, you have to subtract 20 s from the original time).
- Delete the second segment from the first track and merge both tracks. Save to a new file and it's ready.
I didn't find a way to use RouteConverter for step 5. Is it possible?
I've been using RouteConverter for years under Ubuntu, thanks it really is great but one issue has always annoyed me. Whenever I need to add a new waypoint within/around the marker, it's just not working correctly. Sometimes the new point is added way off from the mouse pointer, another time the marker is selected for moving it around and another time the new point is added at the position of the point the marker is on even if the mouse is at another place.
So I've finally looked into the source code and added to ignore marker handling whenever CTRL is down in slash.navigation.mapview.mapsforge.helpers.MapViewMoverAndZoomer
, because CTRL is typically down when a new waypoint should be added.
private MarkerAndDelta getMarkerFor(MouseEvent e) {
if((e.getModifiersEx() & KeyEvent.CTRL_DOWN_MASK) != KeyEvent.CTRL_DOWN_MASK) {
LatLong tapLatLong = projection.fromPixels(e.getX(), e.getY());
org.mapsforge.core.model.Point tapXY = new org.mapsforge.core.model.Point(e.getX(), e.getY());
Layers layers = layerManager.getLayers();
for (int i = layers.size() - 1; i >= 0; --i) {
Layer layer = layers.get(i);
if (!(layer instanceof Marker))
continue;
org.mapsforge.core.model.Point layerXY = projection.toPixels(layer.getPosition());
if (layer.onTap(tapLatLong, layerXY, tapXY)) {
return new MarkerAndDelta((DraggableMarker) layer, layerXY.x - tapXY.x, layerXY.y - tapXY.y);
}
}
}
return null;
}
It's working as expected, with that change a new waypoint can be added without any issues in and around the marker.
I'm having this strange issue where after a short while of use I can't select positions from the position list anymore. Please the screen recording and logfile.
This happens with both the most recent stable and pre-release. Also, I'm pretty sure I've used the exact same version on another machine (which I physically cannot access right now) and it's worked fine.
$ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Reason is that some test data is not checked in in the directory innavigation-formats-samples/
e.g. file "from-mgintra09.bcr", which is used in testcase
RouteConverter/navigation-formats/src/test/java/slash/navigation/bcr/BcrReadWriteRoundtripIT.java
Hello
Chocolatey is a package manager for Windows. (like apt-get on Linux)
Please add RouteConverter app to Chocolatey
For more information see below document:
How to create your own packages on Chocolatey
Thanks.
Hello,
I would like to use the RouteConverter on a USB stick.
Is it possible to create a Portable version of this application?
I used this command:
javaw.exe -jar RouteConverter.jar -portableFolder .\data
But data saved in %appdata%
not .\data
The issue is no more, no less than the title
Code seems to reference a Preference for this, but I don't see the actual point in the code where this duplication occurs.
Data Version:2.14.6.1
Start Trip=Start:Start:Start:An der Kleinbahn 5, 41334 Nettetal to 34 Stran
Creator=Generated by Christian Peschs RouteConverter. Sees http://www.routeconverter.com
TollClosed=0
End Trip
Start Stop=Stop 0
Longitude=6195630
Latitude=51328910
Address=41334 Nettetal
City=Start:Start:Start:An der Kleinbahn 5
Show=1
Sequence=0
End Stop
Start StopOpt=Stop 0
Loaded=1
End StopOpt
Start Stop=Stop 1
Longitude=6195630
Latitude=51328910
Address=41334 Nettetal
City=Start:Start:An der Kleinbahn 5
Show=0
Sequence=1
End Stop
Start StopOpt=Stop 1
Loaded=1
End StopOpt
Start Stop=Stop 2
Longitude=6195630
Latitude=51328910
Address=41334 Nettetal 1
City=Start:An der Kleinbahn 5
Show=0
Sequence=2
End Stop
I understand perfectly well that this bug has practically NO effect on the operation of the RouteConverter. But, unfortunately, it strongly affects the work of jExifToolGUI. Therefore, the idea for solving this little problem here will greatly help in solving the big problem THERE.
When you right click on a coordinate in the Position List (on the right) and choose Complete>Number, the program doesn't erase the previous entry and simply appends the text in front.
I will fix this!
Hi,
I was wondering if it would be possible to include RouteConverter in my project using Maven? I could not find it in the common repositories.
Best,
Robin
The German Texts Länge, Höhe and Gefälle are not shown correctly, the umlaut is shown as questionmark.
Hi. Does your route converter support format .rou from dKart Navigator ECDIS System?
Hi.
Does your Route Converter converts to RTM format of JRC ECDIS?
I am looking for a code to do so.
I am able to read .rtm routes, but writing is terrinbe, it should have some checksum at the end of file, but I have no idea how to generate this checksum.
looking for your help.
If you you does not have rtm support yet, I cam give you what I found and use to load rtm files I'm my app: ECDIS Route Manager
http://sea-soft.ru
Hi,
I tried to build HEAD as described at the Readme file. It looks like graphhopper is missing at http://www.routeconverter.com/svn/RouteThirdParty.
[ERROR] Failed to execute goal on project route-converter: Could not resolve dependencies for project slash.navigation:route-converter:jar:2.13-SNAPSHOT: Could not find artifact slash.navigation:graphhopper:jar:2.13-SNAPSHOT in routeconverter-thirdparty (http://www.routeconverter.com/svn/RouteThirdParty) -> [Help 1]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.