Giter Club home page Giter Club logo

routeconverter's People

Contributors

albuainain-ksa avatar comradekingu avatar cpesch avatar dependabot[bot] avatar diversio avatar ftes avatar hvdwolf avatar i990342 avatar jmontane avatar jsmakaayb avatar kovalevartem avatar ktkillo avatar laralem avatar leschek avatar lundefugl avatar lxlxj avatar malte-neu avatar milotype avatar mirkodcomparetti avatar mrihtar avatar nijel avatar pietroba avatar robod7 avatar ry0m43ch1z3n avatar santossi avatar thorkul avatar weblate avatar xendez avatar yfdyh000 avatar zod 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

routeconverter's Issues

Hidden option for look and feel

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.

Only OSM available?

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

Windows EXE does not start with Java 15

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:

image

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.

iGO .kml format - Folder name - constant

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 :-(

Color for tracks

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

Startup on OS X

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)

[FEATURE] - Length/duration in browse Route panel

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 :)

<type> tag not supported

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>   

1 million points

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 !

debian 12 and java 11, 17 - half solution

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!

Zoom reset after position delete

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?

Issue while importing GPX-File with wrong version

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:

image

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)

Excellent project.

I will be contributing heavily to this project for the next two months.

Shift start time of a track

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:

  1. Load GPS track from your ride.
  2. Localize and mark the break in your GPS track - the track is split into two segments - each one different color on the map.
  3. You can use the auto-discovery tool for gaps longer than 1 min.
  4. Save the newly created segment - a new track will show up in the left panel.
  5. 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).
  6. 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?

Adding waypoints within/around the marker not working correctly under Linux

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.

Can't select from position list

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)

test cases in navigation-formats/ fail

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

Please add this app to Chocolatey

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.

Portable mode

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

Copilot output duplicates Start point during save

The issue is no more, no less than the title

image

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

Displaying Russian letters (encoding problems)

2021-09-13.21-53-20-445.mp4
Moscow_Original.jpg

Moscow_Original

Moscow_Edited_RouteConverterWindows_2.30.jpg

Moscow_Edited_RouteConverterWindows_2 30

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.

Minor bug in Position List

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!

Maven Repository

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

Umlaut broken

The German Texts Länge, Höhe and Gefälle are not shown correctly, the umlaut is shown as questionmark.

JRC RTM FILES

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

Maven build fails

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]

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.