|
The maps app seems to be included by default. At least gpx files do open with a openstreetmap view within the web client of my test server (OpenCloud 8.0.1 installed via docker compose on Debian 13). Even the folderViewEnabled value was already present in apps.yaml. I changed folderViewEnabled:false to folderViewEnabled:true, restarted OpenCloud via "docker compose restart" and now I can "Switch to map view" as view mode in the folder view. So I think it is - somehow - installed and configured. Yet even if I uploaded some images with exif gps data opencloud tells me there are "No files with location data". And within the sidebar of all these pictures I cannot find any maps app activity. Nothing. Does anyone know what kind of "geo location data" the maps app expects? I tried pictures from different smartphones, but it seems the Exif.GPSInfo within those pictures is of no use here. Also the readme.md in the OpenCloud Maps repository is of no great help here, as it makes no statement of what kind of geo location data it expects. Maybe I'm missing some background information which is clear for others. |
Replies: 1 comment 3 replies
|
The maps app never reads the EXIF itself. It only shows files that already carry a With In opencloud-compose that is the or add New uploads get their location a few seconds after the upload. The photos you already have will not: the index skips files whose modification time has not changed, so they need a forced rescan:
Two limits to keep in mind: Tika only gets files under 20 MiB by default ( I tested it on
|
The maps app never reads the EXIF itself. It only shows files that already carry a
locationproperty, and in OpenCloud that property is written by the search service when it extracts metadata with Apache Tika. The default extractor isbasic(SEARCH_EXTRACTOR_TYPE), which indexes names and paths without opening the file, so no photo ever gets a location and the map view stays at "No files with location data".With
SEARCH_EXTRACTOR_TYPE=tika, each file is sent to Tika, and the search service readsgeo:latandgeo:longfrom its answer (services/search/pkg/content/tika_location.go), which is how Tika reports the EXIF GPSInfo. It then stores them on the file aslibre.graph.location.*metadata,…