Skip to content

gdal vector set-geom-type with no options creates a copy? #14862

Description

@VaasuDevanS

What is the bug?

gdal vector set-geom-type command runs successfully when only input and output are passed. I'd expect the tool to ask for any related option/arguments for the command to run.

Steps to reproduce the issue

gdal vector convert 'WFS:https://openmaps.gov.bc.ca/geo/pub/WHSE_FISH.PSCIS_HABITAT_CONFIRMATION_SVW/ows?service=WMS&request=GetCapabilities' temp.gpkg --config OGR_WFS_PAGING_ALLOWED OFF
gdal vector set-geom-type temp.gpkg temp1.gpkg

Versions and provenance

Operating System: Windows 11
GDAL version: GDAL 3.13.1 "Iowa City", released 2026/06/01
Installed via pixi global install gdal

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    low prioritynot for AI loversSee https://gdal.org/en/stable/community/ai_tool_policy.html

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions