digiKam/Geotagging i digiKam 2.0

From KDE Wiki Sandbox
Revision as of 09:19, 1 April 2011 by Claus chr (talk | contribs) (Importing a new version from external source)
Other languages:

Geotagging i digiKam 2.0

Fra Dmitri Popovs blog, 24. marts 2011


Geo-lokalisering er ikke en ny funktion, men i digiKam 2.0 er den blevet gennemgribende omarbejdet for at strømline processen med at geotagge fotos. Den nye brugerflade til geotagging (Billede -> Geo-lokalisering) samler alle værktøjer til geotagging på et sted. Brugerfladen selv består af tre dele: kort-feltet indeholder et kort og en værktøjslinje med forskellige navigeringsværktøjer; under kort-feltet er der en liste af valgte fotos; sidepanelet til højre viser det aktuelt aktive afsnit.



To geotag photos, you need to obtain the geographical coordinates of the place where the photos were taken, and the Geolocation interface offers several ways to do that. For starters, you can use the mouse to move around the map to locate the desired spot. By default, the Geolocation interface uses the OpenStreetMap service as its map source, but you can switch to Google Maps using the Maps Settings button below the map pane. If you know the full or partial address of the location, you can use the built-in search feature to find it on the map. Click on the Search tab, enter the address in the search field, hit the Search button, and you should see a list of matching results with corresponding pins on the map.

The easiest way to add geographical coordinates to the photos is to drag them from the list onto the desired spot on the map. Alternatively, you can assign the geographical coordinates of a specific search result to the photos. To do this, select the photos in the list, right-click on the desired search result, and pick the Move selected images to this position item from the context menu.

Once you’ve assigned the geographical coordinates to the photos, press the Apply button to write geotags to the photos.



The Geolocation interface offers another nifty feature called Reverse Geocoding. This tool can retrieve human-readable locations such as city, street, country, etc. for photos based on their geographical coordinates. The obtained location names can be stored in photos as new tags, so you can easily search for photos taken in a specific country, city, or even street.

One way to put this feature to practical use is to create a dedicated Places tag, and then use reverse geocoding to add place-related sub-tags to it. To do this, create a new tag called Places (you can do this in the Tags sidebar). Select then the desired photos and choose Image -> Geo-location. If the photos are not already geotagged, assign geographical coordinates to them. Switch then to the Reverse Geocoding section, right-click on the Places tag, and use the available context menu items to add the address elements to the tag (e.g., Country and City). Select all the photos in the list and press the Apply reverse geocoding button. You should see the country and city sub-tags (e.g., Germany and Berlin) under Places. Hit then the Apply button, and you are done. Now you can use the Filter sidebar to quickly locate photos taken in a specific country and city.