地图工具

地图工具

地理位置编辑器(可以用来给照片添加或修改 GPS 坐标信息。这些地理信息会作为 Exif 标签存储在图片的元数据中,之后可以在内置地图或者外部浏览器地图中查看。编辑器里还内建了 反向地理编码 工具。

你可以通过菜单路径 项目 ‣ 编辑地理位置 或快捷键 Ctrl+Shift+G 打开地理位置编辑器。但注意,至少要先选中一张照片,编辑器才会打开。

使用 OpenStreetMap 编辑图像坐标的 digiKam 地理定位工具界面

这个编辑器让你可以用 GPS 或 Galileo 常用的球面坐标系统来为照片标注位置。像 海拔纬度经度速度卫星数量定位模式精度因子 这些字段,都是可以编辑的。

编辑方式主要有两种:

  • 半自动定位:可用于为单张照片手动设置坐标,功能位于右侧边栏的 详细信息 选项卡。

  • GPS 轨迹批量匹配:可以把一组 GPS 轨迹数据和照片进行批量关联,功能在 GPS 关联工具 选项卡中。

此外,右侧边栏还提供了以下四个功能选项卡:

  • The Undo/Redo tab.

  • The Reverse Geocoding tab which allows you to find geographic names (cities, street names, …) by using a public reverse geocoding service and the GPS data of an image. These names can then be used for additional photo tagging.

  • The Search tab which allows you to find positions on the map from geographic names (cities, monuments, …) by using a public geoname service (GeoNames and OpenStreetMap at the time of writing).

  • The KML Export tab which allows you to export a set of positions and thumbnails into a standard KML file for use in other mapping programs.

地图视图

你可以拖动地图查看不同区域,也可以使用缩放控件进行放大或缩小。更详细的地图导航说明见使用手册的 地图搜索 部分。

在地图下方有一排按钮,功能如下(从左到右):

  • The Map Settings button 地图设置 opens a small menu which allows you to choose between OpenStreeMap and Off-line Maps, and depending on that choice to choose the kind of map you want to use. Furthermore, you can select the projection (Spherical, Mercator, Equi-Rectangular) and you can display a few additional tools like compass and scale on the map.

  • ** 放大** 按钮 放大按钮

  • The Zoom Out button 缩小按钮.

  • The Switch Between Markers And Thumbnails button, will display as 图钉 or 缩略图 to let you choose whether you want the positions of your images indicated by a marker symbol or by a thumbnail on the map. If you choose thumbnails, the next two buttons are of particular interest.

备注

The Markers color over the map depends of the number of items grouped at a location, and it depends on the zoom level. The meanings of the colors are listed below:

颜色

分组项目数

青色

1

绿色

2

黄色

10

橙色

50

红色

100

  • 放大地图中的缩略图 按钮 放大地图中的缩略图缩小地图中的缩略图 按钮 缩小地图中的缩略图 用来调整地图中照片缩略图的大小尺寸。

  • The Pan Mode button 平移模式 lets you move the map by clicking and dragging. The cursor symbol will change to a hand.

  • The Zoom Into A Group button 缩放到分组 is useful if you have images so close to each other on the map that all but the topmost are obscured. Once you click on the visible image, the zoom factor will be adjusted so that all the other images behind it become visible. If you click on a group of images and nothing really happens they either have exactly the same geographic position and/or the zoom factor is already at its maximum.

备注

这里的 仅指地理位置相近的照片,并不是手册 这部分 所说的手动分组的照片。这里“组”指的是在地图上非常接近的一些图片(取决于放大的程度),或者地理位置完全相同的一些图片。

  • The Select Images button 选择图像 toggles the selection of an image, or a group of images, in the list of images right below the buttons once you click on it on the map. The selection status of all other images in the list remain unchanged. Be aware of the fact that there is a kind of two-stage selection! If you click on a thumbnail or marker on the map, the selected image(s) in the list of images will be displayed with a light blue background. If you click on it in the list, the background will become a darker blue and if there were more than one image with a light blue background before, the other images will be de-selected. Only clicking on an image in the list will let its preview appear to the right of the list.

  • The Display Bookmarked Positions On The Map button 在地图上显示书签位置 can be used to display places on the map that are already registered in the Bookmarks Manager.

通过右键单击地图选择的地图上下文菜单包含其他有趣的项目:
  • 复制坐标 :复制当前位置的经纬度坐标到剪贴板,比如 4° 29’ 11.1”W,48° 22’ 48.5”N

  • Copy geo: URL copies the geographic coordinates at the cursor position to the clipboard in decimal degrees, e.g. geo:48.3800450672,-4.4865371254

  • Address Details performs a reverse location lookup to display the address of the selected location in a dialog.

  • Info Boxes allows you to select which widgets to display on the map, including compass, scale bar, navigation widget, overview map, and a progress indicator.

  • Add Measure Point add a measure point at the clicked location. Add a second point to measure distance between the two points. Add a third point to measure total distance and angles between the points.

  • Remove Last Measure Point remove the last measure point to be added.

  • Remove Measure Points removes all measure points.

更多关于地图视图的操作说明,请参考 Marble 使用手册

此外你还可以在地理位置编辑器底部的小下拉菜单中,将视图从单地图切换为左右或上下双地图布局。

地理位置书签管理器

digiKam 的 地理位置书签管理器 可以保存你常用的拍照地点(比如景点、家门口、项目工地等),以后如果还有在这些地方拍的照片,你就可以快速复用这些位置。

在地理位置编辑器的图像列表,你可以从列表的右键菜单中打开书签管理器,如下图所示:

从图像列表右键菜单进入的 digiKam 地理位置书签管理器

在这个菜单中你可以:

  • Add Bookmark: if the current selected item from the list has GPS information, this location can be bookmarked with this option. A dialog to populate the bookmark properties then appears.

新建地理位置书签时的设置界面

你可以给书签自定义名称,添加描述说明,还能选择放在哪个书签目录下。

  • Edit Bookmarks: displays a dialog with the complete hierarchy of managed bookmarks. You can change item properties, the place in the hierarchy using drag and drop, and display the corresponding location on a map from the right side. In the Hierarchy you can append new branches using the Add Folder button. The Remove button allows you to delete an item in the hierarchy.

编辑地理位置书签的界面

  • 通过这个书签系统,你可以快速为当前选中的图像分配一个常用地点,操作更高效、也更便于日后查找和管理。