JOSM/Plugins/Photo Geotagging

From OpenStreetMap Wiki
< JOSM‎ | Plugins
Jump to: navigation, search
Available languages — JOSM/Plugins/Photo Geotagging
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

The plugin Photo Geotagging is used to write latitude and longitude information to the EXIF header of jpg files. Geotagged images can be displayed at their position by JOSM and other software without reference to any gpx file.

Photo Geotagging

How to use

First, you have to synchronize your photos with a gpx track, such that they are displayed as small icons on the main area of JOSM. To permanently save this position in the meta information header (EXIF) of the image files, right click on the image layer and select geotagging.png Write coordinates to image header. Then a list of photos is displayed, for you to confirm.


You are advised to have backups for your images, before geotagging them. Nonetheless, the plugin also offers an option to do backups. (The backup files have the extension *.jpg_ and are put in the same folder, the images are in.)

File modification time (mtime)

Writing to the image header changes the file modification time of the images. (The time that is shown in your file manager.) This can be undesirable, as the original time and date can no longer be used for lookup, searching and sorting. To circumvent this, you can set the mtime to a reasonable value after the change to the image file has been done.

You have the option to

  • change the file's mtime to the gps time. If you correlated the images to a gps file, this should be exactly the time, the photo was taken.
  • restore the old mtime. This way, the mtime of the file remains unchanged.

Technical Details

The plugin writes the following EXIF tags: GPSLatitudeRef, GPSLatitude, GPSLongitudeRef, GPSLongitude, GPSTimeStamp, GPSDateStamp, GPSAltitudeRef, GPSAltitude, GPSImgDirection.

Known problems

It has been reported, that the plugin does not work with photos created by SONY DSC-HX5V (bugreport).

Try a sample image: If it is correctly geocoded, then your camera model is not affected by this bug.