Media Document

Purpose

Non-geospatial or loosely geospatial media assets: photos, videos, audio, and other attachments linked to a location.

GeoJSON (DB metadata)

{
  "type": "Feature",
  "geometry": {"type": "Point", "coordinates": [30.151, 59.951]},
  "properties": {
    "type": "Media",
    "title": "Field Photo",
    "created_at": "2025-03-01T12:00:00Z",
    "updated_at": "2025-03-01T12:00:00Z",
    "source": {
      "url": "/s3/<bucket>/<ResultKey>/<filename>",
      "type": "Media",
      "size": 345678
    },
    "metadata": {"caption": "Bridge abutment", "author": "J.D."}
  }
}

Required properties

  • properties.type = Media

  • Point geometry where the media was captured or associated

  • Valid media link with correct MIME type

Publishing workflow

  1. Upload media to a serving location (CDN, S3, or app storage).

  2. Publish Feature with type Media linking the file.

Validation checklist

  • Media is accessible via URL.

  • EXIF time and location (if any) correspond to geometry and timestamps.

See Common properties for shared fields like legend, metadata, and classification. See also: GeoJSON Strategy and Upload Strategy.