PicApport Add-on: OpenStreetMap Geo-Reverse-Encoder

Uses OpenStreetMap (OSM) to enrich the photo metadata (photos must contain geo coordinates for this function) and extends the PicApport database with additional search fields (see example in the 3rd screenshot below)

Screenshots

Features

Name of the addonOpenStreetMap (OSM) Inverse Geocoding
TypeProcedure and database extension
Description

Get additional meta data of the selected photos, which will be stored directly in the jpg file, in accordance with the usage policy of  https://nominatim.org/. It is important that no existing metadata (independent of the add-on) is changed or deleted (the different input parameters described below only refer to the data fields of the respective add-on). The newly acquired information is stored in a separate namespace in JSON format in the XMP segment of the photo metadata.

During indexing, PicApport uses this data to generate additional search fields.

According to the usage policy of nominatim.org a maximum of one photo per second is requested.

File name of the addonpagpOSMGeoReverseEncoder-x.x.x.zip (x.x.x indicates version)
In Windows Installer

Yes

Prerequisites
  • PicApport server requires Internet access
Required permission of PicApport-Users
  • pap:editmeta:photo
    Permission to edit photo metadata. (Title, description, date, etc.)
Download pagehttps://www.picapport.de/en/add-ons.php
Input parameters
  • Overwrite mode
    • Write only if empty
      Calls the web service only if no metadata has been determined for it

    • Always overwrite
      Calls the web service and overwrites any existing metadata in the XMP segment

    • no change (only testing)
      Calls the web service without writing the metadata into the photo

    • Remove OpenStreetMap metadata
      Deletes the already determined data in JSON format from the XMP segment of the jpg file

    • Show OpenStreetMap data of photos
      Displays the data already determined in JSON format.

  • Language
    Requested language in which the metadata should be generated

  • Analyze result
    If set, the result of the OSM request is displayed for each photo.
metadata
  • XMP
    picapport:osm.org

  • PicApport Addon ID
    osm.org

  • Query all photos with OSM metadata:
    addon:“osm.org“

PicApport Database fields and Operators

 
osmStringYESFULLTEXT
(with Wildcards)
YESData field „display_name“ of the OSM-response
  • Germany
    (search in global full text index)
  • osm:Germany
    (searches only in the OSM metadata)
  • osm:*museum*
    (searches museum in all possible variations)
osmCountry

String

YES

FULLTEXT
(with Wildcards)

YESData field „country“ of the OSM-response
  • osmcountry:France
osmStateString

YES

FULLTEXT
(with Wildcards)

YESData field „state“ of the OSM-response
  • osmstate:pfalz
  • osmstate:“rheinland-pfalz“
  • osmstate:rhein*
osmPostcodeString

YES

PicApport ID
(with Wildcards)
YESData field „postcode“ of the OSM-response
  • osmpostcode:67551
osmCityString

YES

FULLTEXT
(with Wildcards)

YESData field „city, town, village“ of the OSM-response
  • osmCity:hamburg
  • osmCity:“Ludwigshafen am Rhein“
  • osmCity:*burg
osmRoadString

YES

FULLTEXT
(with Wildcards)

YESData field „road“ of the OSM-response
  • osmRoad:Hauptstr*