Show Geotagged Photos on OpenStreetMap

20170117-123844

Want to show on the map the place where you took a specific photo? Provided that the photo is geotagged, the simple function below will do the job:

if [ -x "$(command -v exiftool)" ] ; then
  function show-on-osm(){
    lat=`exiftool -n -p '$GPSlatitude' $1`
    lon=`exiftool -n -p '$GPSlongitude' $1`
    osm="http://www.openstreetmap.org/?mlat=$lat&mlon=$lon&zoom=18"
    xdg-open $osm
  }
fi

The function extracts latitude and longitude values from the photo’s EXIF metadata, creates an OpenStreetMap URL, and opens it in the default browser.

For the function to work, you need to install the ExifTool on your system. Add the function to the ~/.bashrc file, and use the show-on-osm foo.JPG command to show the photo you want on OpenStreetMap (replace foo.JPG with the actual name of the desired photo).

This is an excerpt from the Linux Photography book. Get your copy here.

Posted in Open Source, Photography, Software

[REPOST] The Sleeping Taxi Drivers of Tokyo

Sleeping cab drivers resting in their parked cars on the side of a street are actually quite a common scene in Japan. In fact, you’ll find it in almost any profession in Japan. Napping in public is a sign of diligence, and shows how hard you are working, explained the NYT in an article about Japan’s culture of inemuri (“sleeping while present”).

Continue reading The Sleeping Taxi Drivers of Tokyo

Posted in Reposts

Add Captions with Basic EXIF Data to Photos using ImageMagick

Moto G4. Processed in digiKam.

Adding a caption containing basic EXIF info such as aperture, shutter speed, and ISO to a photo can come in useful in many situations. And a simple Bash shell script automates this action. The script uses the ExifTool and ImageMagick tools to extract EXIF data from a specified image. It then adds a caption containing the extracted aperture, shutter speed, and ISO values to the image.

Read more ›

Tagged with: , ,
Posted in Open Source, Scribbles, Software

[REPOST] Ice Road Truckers in Russia: Buckle Up for a Perilous Drive on a Frozen Siberian River

Amos Chapple was crammed alongside three Russians in a truck just big enough for two, trundling along a frozen Siberian river when he heard breaking glass. The 25-ton truck lurched to one side, and Chapple realized it wasn’t glass, but ice. “I was thinking, ‘This is it,’” he says. “I was scrabbling like a panicked dog to get out.”

Continue reading Ice Road Truckers in Russia: Buckle Up for a Perilous Drive on a Frozen Siberian River

Posted in Reposts

[REPOST] Post-Soviet Style in Kaliningrad

Not long after a bleak period in the 90s, during which Kaliningrad was, according to Research Scholar Dr. Nicole Eaton, Assistant Professor of History at Boston College, “the absolute worst place to be in Russia,” in 2001 Magnum’s Peter Marlow photographed the city. Marlow captured the vistas: its brutalist concrete forms purposefully Slavic in their aesthetic so as to erase not only swastikas and other Nazi symbols but other German design characteristics that signified the former occupiers; he also photographed the people, mostly Russians, descendent of those who were incentivized by the Russian government to move there when the Germans were banished in 1945.

Continue reading Post-Soviet Style in Kaliningrad

Posted in Reposts

[REPOST] Photos: Some of the earliest color images of life around the world

When Albert Kahn, a wealthy French banker and philanthropist, decided he wanted to commission a photographic “archive of the planet” he wasn’t joking. And though the idea of cataloging the earth seems whimsical in scope today, the pictures he helped create between 1909 and 1931 hold our attention like few others from the era.

Continue reading Photos: Some of the earliest color images of life around the world

Posted in Reposts

Install and Run Pixeluvo on openSUSE

pixeluvo-opensuse

Lightweight and affordable, Pixeluvo is an excellent application for editing and retouching photos on Linux. Pixeluvo is not free, but it can be installed on Linux using the binary packages available on the project’s website. The RPM packages are built for Fedora, but with minor tweaking, you can make Pixeluvo run smoothly on openSUSE, too.

Read more ›

Tagged with: , ,
Posted in Photography, Software