Skip to content

GeoJSON exports yield unexpected null coordinates #1286

@david-leconte

Description

@david-leconte

Describe the bug

As a user, I want to use the GeoJSON export function to export geographical data readable by a GIS, such as polygons, lines, points... with their coordinates.
When hitting either of the GeoJSON export buttons, the coordinates are not rendered in the GeoJSON file.

Steps to reproduce

On any map

  1. Click on the top left arrow button to show the menu.
  2. Click Export on the bottom of the menu.
  3. Under Export to GeoJSON click either of the cells / routes / rivers / markers buttons.
  4. Save the GeoJSON file locally, and open it in any text editor.

Expected behavior

For instance when exporting cells geographical data, I expect multiple JSON objects in the Features array.
This array contains features/objects typed as Polygon. Each Polygon is a cell, linked to an array of coordinates.

I would expect those coordinates to be decimal values between the North/South and West/East coordinate bounds of the map (e.g. -90° to 90° latitudes / -180° to 180° longitudes).

Instead I only get null values.

.map file

Problem exists with any map.

Screenshots

Image Image

System

  • Version: 1.111.0
  • Browser: Brave Browser
  • OS: Windows 11

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions