Skip to content

v.in.pdal: deprecate -w flag - #7855

Open
saket0187 wants to merge 2 commits into
OSGeo:mainfrom
saket0187:v_in_pdal_deprecate_w
Open

v.in.pdal: deprecate -w flag#7855
saket0187 wants to merge 2 commits into
OSGeo:mainfrom
saket0187:v_in_pdal_deprecate_w

Conversation

@saket0187

Copy link
Copy Markdown
Contributor

Closes issue #7848

Deprecation of the -w flag in v.in.pdal.

@github-actions github-actions Bot added vector Related to vector data processing C++ Related code is in C++ module docs markdown Related to markdown, markdown files labels Aug 27, 2026

@cwhite911 cwhite911 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks good please make sure to update the html doc as well.

Comment thread vector/v.in.pdal/main.cpp
Comment on lines +370 to +371
if (spatial_reference.empty())
G_fatal_error(_("The input dataset has undefined projection"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (spatial_reference.empty())
G_fatal_error(_("The input dataset has undefined projection"));
if (spatial_reference.empty() && !input_srs_opt->answer)
G_fatal_error(_("The input dataset has undefined projection"));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could also be done to r.in.pdal

Comment thread vector/v.in.pdal/main.cpp
return EXIT_FAILURE;

if (reproject_flag->answer) {
G_verbose_message(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to a warning otherwise nobody will see this unless they run --verbose

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

Labels

C++ Related code is in C++ docs markdown Related to markdown, markdown files module vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants