Skip to content

--input-format WKT? #14463

@dbaston

Description

@dbaston

Feature description

I'm often wanting to plug an example geometry into the GDAL CLI to test something, ideally without leaving temporary files around. I have not found anything better than the approach of @postholer, e.g.

echo -e "wkt\n\"POINT (440720 3751320)\"" | gdal pipeline read --input-format CSV --oo GEOM_POSSIBLE_NAMES=wkt /vsistdin/ ! info

It would be nice to do something like

gdal pipeline read --input-format WKT "POINT (440720 3751320)" ! info

Probably this could be done with a little hack in the "read" step, rather than implementing a WKT driver?

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementgdal_cliAnything related to the new 3.11 "gdal" CLI frontendnot for AI loversSee https://gdal.org/en/stable/community/ai_tool_policy.html

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions