Opened 5 years ago
Last modified 4 years ago
#20795 closed defect
Wrong correlate to gpx behaviour (use an old gpx file version) — at Initial Version
| Reported by: | StephaneP | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 21.07 |
| Component: | Core image mapping | Version: | latest |
| Keywords: | template_report, gpx, image correlation | Cc: | simon04 |
Description
What steps will reproduce the problem?
- Load the images and the track.gpx file you can found inside the attached samples archive
- correlate the images with the gpx (offset is 00:00, enable
override position for image with geo location in exif data) - Convert the gpx to a data layer
- add a point to make a < instead of the straight line
- export this layer to a gpx file, and overwrite the existing track.gpx
- Start a new image correlation, click on
open another gpx, select track.gpx and correlate (enableoverride position for image with geo location in exif data) - it should be ok.
- drag and drop the track.gpx on Josm
- convert the gpx to a data layer and edit the center node to transform the < to a >
- export this layer to a gpx file, and overwrite the existing track.gpx
- Start another image correlation, click on
open another gpx, select track.gpx (enableoverride position for image with geo location in exif data)
What is the expected result?
The images should be correlated on the > gpx track.
What happens instead?
The images seem correlated with the previous gpx (with the < instead of the >)
Please provide any additional information below. Attach a screenshot if possible.
I had this bug from time to time when I was editing my gpx files to fix some positions, but it was difficult to create the correct steps to reproduce it.
It seems Josm keep the previous versions in memory, and don't use the new version.
WIP : inserting screenshot
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-04-23 21:32:22 +0200 (Fri, 23 Apr 2021) Build-Date:2021-04-24 01:30:58 Revision:17814 Relative:URL: ^/trunk Identification: JOSM/1.5 (17814 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19042) Memory Usage: 3727 MB / 7218 MB (1781 MB allocated, but free) Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Plugins: + Mapillary (1.5.37.6) + OpeningHoursEditor (35640) + PicLayer (2a9aa7a) + apache-commons (35524) + apache-http (35589) + areaselector (368) + austriaaddresshelper (1597341117) + cadastre-fr (35727) + continuosDownload (91) + contourmerge (v0.1.6) + ejml (35458) + geotools (35458) + javafx-windows (35655) + jaxb (35543) + jna (35662) + jts (35458) + log4j (35458) + opendata (35640) + photo_geotagging (35715) + photoadjust (35640) + reverter (35732) + tageditor (35640) + todo (30306) + turnlanes-tagging (288) + turnrestrictions (35640) + undelete (35640) + utilsplugin2 (35691) Tagging presets: + %UserProfile%\Documents\Gitlab\preset-josm-collectivites\Presets-collectivités.xml Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss - %UserProfile%\Documents\GitHub\MapCSS-JOSM-Bicycle\cycleway.mapcss Last errors/warnings: - 00041.368 E: Failed to locate image 'regulatory--dual-lanes-cyclists-and-pedestrians--g1' - 00041.852 E: Failed to locate image 'regulatory--texts--g1' - 00041.853 E: Failed to locate image 'regulatory--texts--g2' - 00041.942 E: Failed to locate image 'void--car-mount' - 00041.943 E: Failed to locate image 'void--dynamic' - 00041.944 E: Failed to locate image 'void--ego-vehicle' - 00041.944 E: Failed to locate image 'void--ground' - 00041.945 E: Failed to locate image 'void--static' - 00042.066 E: Failed to locate image 'warning--kangaroo-crossing--g1' - 00740.978 W: Unable to delete file H:\bug_gpx_josm_1\2021-04-15_11H59mn42s-Cam_avant-G0052614.JPG
Change History (6)
by , 5 years ago
| Attachment: | samples.zip added |
|---|
by , 5 years ago
by , 5 years ago
by , 5 years ago
by , 5 years ago
by , 5 years ago
Note:
See TracTickets
for help on using tickets.



some images and track.gpx