Skip to content

GDAL import drops Z/M values without a notice (reload reports it) #2671

Done

Description

@giswqs

A file imported through GDAL (for example a GPX track with elevation) loses its Z/M values without a notice, while Reload Data on the same file does report the drop. Under AGENTS.md's never-silent rule the import path should give the same counted notice as the reload path (count only the features that actually carry Z or M).

Main paths: the GDAL import path in crates/data/src/source/gdal.rs and its caller in crates/engine/src/cmd/layer.rs; compare with the reload path, which already reports it.

  • Import through GDAL reports Z/M dropped, with a count
  • Test both ways: a 3D GPX/GeoJSON through GDAL gives the notice, a 2D one none

Found while landing #2652 in the 2026-11 release quality sweep.

Activity

  1. added
    bug
    on Nov 22, 2026
  2. ninhhaidang commented on Nov 26, 2026

    @ninhhaidang
    Member

    I'll take this. The import notice itself landed in #2764; what's left is the end-to-end test both ways through layer.addData.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions