Opened 2 years ago
Last modified 2 years ago
#22550 new defect
Images correlation: wrong coordinates in images
Reported by: | StephaneP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin photo_geotagging | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Correlate images with a gpx
- Write coordinates inside the images
- Close and reopen the images
What is the expected result?
The images should have the correct coordinates
What happens instead?
Some images don't have the correct coordinates
Please provide any additional information below. Attach a screenshot if possible.
Sometime, when I do an image/gpx correlation, images positions are ok, but when I reloaded the images, some don't have to correct coordinates. When it happen, it's usually on a near horizontal gpx trace.
Correlation done:
Reloaded images:
It look as coordinates were truncated. You can see it better on this image to gpx export:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-11-28 18:46:35 +0100 (Mon, 28 Nov 2022) Revision:18605 Build-Date:2022-11-29 02:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18605 en) Windows 11 64-Bit OS Build number: Windows 10 Pro 2009 (22621) Memory Usage: 800 MB / 16384 MB (206 MB allocated, but free) Java version: 19.0.1+10-21, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1200 (scaling 1.00×1.00) \Display1 2560×1440 (scaling 1.00×1.00) Maximum Screen Size: 2560×1440 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_FR Numbers with default locale: 1234567890 -> 1234567890 Plugins: + DirectUpload (35951) + ImportImagePlugin (36013) + MakeParallel (v1.1.0) + Mapillary (2.0.1) + OpeningHoursEditor (35924) + PicLayer (1.0.2) + PolygonCutOut (v0.7) + alignways (36011) + apache-commons (36034) + apache-http (35924) + areaselector (1652822522) + austriaaddresshelper (1597341117) + cadastre-fr (36021) + changeset-viewer (v0.0.6) + continuosDownload (105) + contourmerge (v0.1.9) + editgpx (35931) + ejml (35924) + geotools (36028) + jackson (36034) + jaxb (35952) + jna (36005) + jts (36004) + log4j (36034) + lwjgl (36034) + lwjgl-windows (36034) + opendata (36025) + photo_geotagging (35933) + photoadjust (36011) + reltoolbox (35976) + reverter (36011) + shrinkwrap (v1.0.4) + tageditor (36011) + todo (30306) + turnlanes-tagging (v0.0.5) + turnrestrictions (36011) + undelete (36011) + utilsplugin2 (36011) Tagging presets: + D:\Gares21\gares21\JOSM\Gares21-preset.xml Map paint styles: - H:\Gares21\gares21\JOSM\railway-station.mapcss - 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 - C:\Users\Stephane\Documents\GitHub\MapCSS-JOSM-Bicycle\cycleway.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://josm.openstreetmap.de/josmfile?page=Styles/NewHighwayColors&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1 Validator rules: + D:\Gares21\gares21\JOSM\railway-station.validator.mapcss Last errors/warnings: - 00012.695 E: Failed to locate image 'styles/standard/misc/entrance-main.png' - 00012.696 W: Entrée-sortie de gare: Could not get presets icon styles/standard/misc/entrance-main.png - 00012.697 E: Failed to locate image 'presets/frame.png' - 00012.699 W: Indoor area: Could not get presets icon presets/frame.png - 00012.699 E: Failed to locate image 'presets/frame.png' - 00012.700 W: Indoor wall: Could not get presets icon presets/frame.png - 00012.701 E: Failed to locate image 'presets/platform_rail.png' - 00012.703 W: Quai ferroviaire: Could not get presets icon presets/platform_rail.png - 00012.705 E: Failed to locate image 'styles/standard/transport/ticket-machine.png' - 00012.706 W: Food vending machine: Could not get presets icon styles/standard/transport/ticket-machine.png
Attachments (3)
Change History (9)
by , 2 years ago
Attachment: | correlation_1.jpg added |
---|
by , 2 years ago
Attachment: | correlation_2.jpg added |
---|
by , 2 years ago
Attachment: | correlation_3.jpg added |
---|
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
follow-up: 5 comment:3 by , 2 years ago
Component: | Core → Plugin photo_geotagging |
---|
I'm assuming you are using the Write coordinates to image header
action from photo_geotagging. If not, please correct me before I get too far into debugging.
comment:4 by , 2 years ago
I feel like I looked into this awhile back for a different ticket, but I cannot find it right now. I think this is a bug in the library that is used by the photo_geotagging plugin.
comment:5 by , 2 years ago
Replying to taylor.smock:
I'm assuming you are using the
Write coordinates to image header
action from photo_geotagging. If not, please correct me before I get too far into debugging.
You're right !
comment:6 by , 2 years ago
The other bug I was thinking about is #22211.
It was also for writing exif data, but it was an issue with the model tag. I'll see if I can run it down later. If I forget, feel free to ping this ticket.
You can download the jpgs and gpx from this example here (available until 2022-12-17) : https://nas.stemani.fr:5001/sharing/RrUT6cv84