Skip to content

Bomb out when format doesn't support M #13931

@jidanni

Description

@jidanni

Feature description

$ ogr2ogr m.geojson j.geojson -dialect SQLite -sql \
  "SELECT CastToXYM(GEOMETRY) FROM blarf';"
$

should say

M not supported in GeoJSON. Quitting!

It would save hours of head scratching.

It should be triggered by all attempts to read or write M on non supporting filetypes.

Here perhaps also say

Try https://gdal.org/en/latest/drivers/vector/jsonfg.html instead.

Or maybe

You forgot to use the -dim option. Bye!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions