Skip to content

Draft: Add GeoJSON support for viewing files

What does this MR do and why?

Add support to visualize GeoJSON files on a map. If the file has .geojson extension, and it is a valid GeoJSON file, the contents (aka features) will be rendered on a map.

Solves #14134 (closed)

This MR is a 'newer adaptation' of an old MR that was never merged: gitlab-foss!5126 (closed) Unfortunately, the original author is no longer visible.

Screenshots or screen recordings

valid

invalid

How to set up and validate locally

  1. Create a new file in a repository ending with .geojson and input a valid GeoJSON data
  2. Alternatively, upload this file to a repository map.geojson

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #14134 (closed)

Edited by Mihajlo Nešić

Merge request reports