Skip to content

Longitude swapped west/east

I'm not sure if this is a bug in MapComplete or Panoramax, so I'm reporting it to both projects.

I uploaded a photo today through MapComplete, and its west longitude was misread as east longitude, placing it on the map in China, and not in California where the storefront is located. I've triple-checked that the data is marked as west in my original.

Here are the GPS fields in the original as reported by exiftool:

GPS Version ID                  : 2.2.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : West
GPS Altitude Ref                : Above Sea Level
GPS Time Stamp                  : 18:55:41
GPS Img Direction Ref           : Magnetic North
GPS Img Direction               : 157
GPS Date Stamp                  : 2024:11:02
GPS Altitude                    : 3.6 m Above Sea Level
GPS Date/Time                   : 2024:11:02 18:55:41Z
GPS Latitude                    : 33 deg 52' 23.22" N
GPS Longitude                   : 118 deg 22' 6.14" W
GPS Position                    : 33 deg 52' 23.22" N, 118 deg 22' 6.14" W

And here they are after uploading through MapComplete to Panoramax:

GPS Version ID                  : 2.2.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : East
GPS Altitude Ref                : Above Sea Level
GPS Time Stamp                  : 05:51:45
GPS Img Direction Ref           : Magnetic North
GPS Img Direction               : 157
GPS Date Stamp                  : 2024:12:05
GPS Altitude                    : 3.6 m Above Sea Level
GPS Date/Time                   : 2024:12:05 05:51:45Z
GPS Latitude                    : 33 deg 52' 23.22" N
GPS Longitude                   : 118 deg 22' 6.14" E
GPS Position                    : 33 deg 52' 23.22" N, 118 deg 22' 6.14" E

The time stamps are off too.

Other photos I've uploaded through MapComplete have the correct locations in Panoramax, but they're either

  • old enough to have been imported from imgur, or
  • didn't have GPS attached, so presumably MapComplete was attaching the coordinates of the POIs or ways.

I've reported the specific image at https://panoramax.mapcomplete.org/ as being placed incorrectly on the map, and clearly something in either MapComplete or Panoramax misinterpreted the Exif data when I uploaded it.

Edited by Kelson Vibber
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information