JA:Geotagging Source Photos
GPSユニットを持ち歩き、写真を撮ったなら、写真イメージにジオタグを付けておくことはいい考えです。ジオタグとは、写真を撮影した場所をEXIFヘッダーのなかに書き込むことです。
これを実践することによって、写真の情報が、OSMのデータのタグをするときのすばらしく使える元ネタになります。JOSMには、"geotagged"と呼ばれる内蔵機能や"AgPifoJ"というプラグインがあり、タグづけられた写真を読み込むことができます。もっと詳しくは、写真マッピングを見てください。
Contents |
どのようにして写真に位置を読み込ませるか
いくつかの違った方法があります。
- GPSトラックログを記録し、あとでトラックログからソフトウエアによって写真の場所を計算します。
- 手動で写真の位置を編集できるソフトウエアを使います。
- 手動で、地図上に配置することで写真の位置を選択できるソフトウエアを使います。(地図を使うことから、著作権問題があるので、OpenStreetMapには向いていません)
- GPS搭載カメラを使います。簡単ですが高価です。
GPS トラックログからジオタグ写真
もっとも簡単な方法は、写真の位置をGPS トラックログと関連させて計算するソフトウェアを使うことで、ほとんどのOSM 貢献者がこの方法を使っています。それは、写真から時刻を取得し、そのときどこに立っていたかをトラックログを使って叩き出します。
gpx ファイルと同期を取って、カメラの時計の狂いを補正する必要があります。これを次の方法でします。:
- トライ&エラー(納得いくまでやり直す。)
- GPS が時計を表示している画面の写真を取る。
- GPS を使ってパソコンの時計を合わせ、パソコンの時計の写真を撮る。
- 一度写真を撮ると同時にウェイポイントを取っておく。 => 写真とウェイポイントを必ず合わせる。(GPS とカメラの間にある時計のずれを検出できる。) 例えば、 geosetter はこの方法を使うことができます。
- よく知っている場所で写真を撮って、手動で合わせる。 - そして、時計の差を計算する。
あなたのカメラの時計をUTCにしておく方が、簡単かもしれません。同じくGPS 信号の時計に合わせるか、もしできるなら、GPS 受信機をあなたの地域のタイムゾーンに合わておきましょう。
写真にジオタグに関する記事は、kowoma.de (ドイツ語です。すいません。)で見つかります。この記事は、ジオタグの背景や、ジオタグするプログラムに詳しいです。
推奨されているほかのソフトウェアは
- GPicSync
- WWMX Location Stamper 2.2 (Windows)
- gpsPhoto (Perl, command line tool)
- GPS-correlate (Linux)
- GeoSetter (Windows)
- gpsphotolinker (Mac OS X)
- digiKam (digital photo management application for KDE)
- BT747 (Windows, Linux, Mac OS X (Java application))
- geotag (Java,GPLv2 and Mixed licenses[Public domain,"a BSD license",modified BSD,LGPL,Freeware])
- Prune (Java, GPLv2)
- JPhoto Geo Tagger (Java, command line tool)
- JetPhoto Studio (Windows, Mac, commercial with free version)
GPSが有効なカメラ
いくつか (多くはない!)のカメラは、内蔵されたGPSを使うか、外部からGPSをつないで、写真を撮ったときにジオタグを付けてくれる物があります。予算的に残念なことに、これらはかなり高価で、プロフェッショナルカメラです。
- HP
Some HP iPaq PDAs have a built-in camera and GPS unit, for example the HW6965. With some configuration it is possible to both record a tracklog and geotag photos. It is great for incidental use but for taking lots of pictures the camera is very slow in both taking and storing photos, there is no zoom for taking street signs and the quality is very variable as it does not register light well.
- Nikon
Nikon are the pioneers in good quality GPS-enabled DSLR cameras: D1H, D1X, D2H/Hs, D200, D2HS and D2X/Xs, D3, D300 Digital models. They don't make it cheap though. You'll probably need to hack your own RS-232 cable or spend about US$95 on an Nikon MC-35 GPS Adapter Cord and probably still do some hacking to interface it with an RS-232 GPS device. Example The Nikons record only latitude, longitude, altitude, GPS time, and heading (with some models).
The Coolpix P6000 point-and-shoot has a built-in GPS receiver.
Dawntech offers complete hot shoe GPS solutions for D2H/Hs, D200, D2HS and D2X/Xs, D3, D300 and D700.
Solmeta offers offers complete hot shoe GPS solutions for D2H/Hs, D200, D2HS and D2X/Xs, D3, D300 and D700. An electronical compass enhances some Solmeta GPS units to write the heading (direction of sight) to the EXIF of the picture. The compass function works with D3, D300, D700. And with D2H/Hs, D2X/Xs after updating the firmware.
Comparison Solmeta and Dawntech, German
- Ricoh
The 500SE is ruggedised (IP67) and Bluetooth-capable. It will connect to most Bluetooth GPS receivers. Ricoh also sell the rather expensive SE-1 and SE-3 GPS receiver modules that securely attach to the side of the camera. The modules are the same except the SE-3 module includes a digital compass. The 500SE can also store a proprietary format track log. See Ricoh 500SE GPS Log.
- Fuji
The Fujifilm S5 Pro DSLR is also GPS-enabled as it is based on the Nikon D200. - Dawntech and Solmeta offer complete hot shoe GPS solutions.
- Canon
Dawntech offer a complete hot shoe GPS solutions for Canon EOS 40D with WFT-E3 and Canon 1D/Ds Mark III with WFT-E2. A Test in German can be found at Geotagging und GPS mit dem Mac.
- Nokia
E and N series cameraphones can also geotag photos using the free Location Tagger software from Nokia Beta Labs if they have internal GPS or are connected to an external uit.
- Jobo
Jobo has a product called photoGPS that you can put in any camera with a hotshoe. More information can be found on this website: Photo GPS.
- Samsung
The Samsung CL65 is a compact point-and-shoot with 12.2MP and has a built-in GPS for geotagging photos. Bluetooth and Wifi too. Micro SD.
日本に住んでいる人にはうれしいことに、ほとんどの携帯電話はカメラとGPSが付いていて、ジオタグを付けてくれる機能を持っています。あなたの携帯電話でできるか探してみてください。
flickr
flickr にジオタグ付き画像を加える標準的な方法は、次の3つのタグを付けることです。: geotagged, geo:lat, geo:lon
flickr は、アップロードされる前にオプションが設定されていれば、EXIF ヘッダーに書き込まれている情報(緯度・経度など)を読み込んでくれます。既にあなたのアカウントがあるなら、このリンク先で設定できます。
一度セットされれば、EXIF に場所の情報を持っている画像は、この情報を使ってFlickr の地図の上に表示されます。残念ながら、2006年より前のFlickr で使われている Yahoo!(Yahoo!Japan でない) mapは、ここのイメージの場所を区別できるほど詳細ではありませんでした。これは、多くの画像が非常に粗い地図で、既にgeocode されたことを意味します。
詳細はこの記事を読んでください。 http://www.nytimes.com/2006/11/02/technology/02basics.html
注意書き
残念ながら、追加情報であるEXIF の形式というのは、厳密には標準化されていません。