Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v.surf.idw: less confusing error message #1332

Merged
merged 1 commit into from
Feb 14, 2021
Merged

v.surf.idw: less confusing error message #1332

merged 1 commit into from
Feb 14, 2021

Conversation

neteler
Copy link
Member

@neteler neteler commented Feb 13, 2021

The current error message of v.surf.idw is unhelpful and misleading (see https://lists.osgeo.org/pipermail/grass-user/2021-February/082209.html).

GRASS :Coal-Test-Shapefile > v.surf.idw input=coal_test output=coal_test_tested
Input vector map <coal_test@PERMANENT> is 2D - using categories to
interpolate
0 points loaded
ERROR: No points found

The reason here is simply that the computation region does not match that of the vector map.

GRASS RD_83_GK5/PERMANENT:Coal-Test-Shapefile > v.surf.idw input=coal_test output=coal_test_tested --o
Input vector map <coal_test@PERMANENT> is 2D - using categories to
interpolate
0 points loaded
ERROR: No points found. Check current region with g.region

Other candidates in this regard:

v.neighbors/main.c
416:        G_warning(_("No points found"));

v.normal/main.c
195:	G_fatal_error(_("No points found"));

@neteler neteler added the enhancement New feature or request label Feb 13, 2021
@neteler neteler merged commit 13f85ff into OSGeo:master Feb 14, 2021
@neteler neteler deleted the v_surf_idw_error_msg branch February 14, 2021 11:14
marisn pushed a commit to marisn/grass that referenced this pull request Mar 22, 2021
@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant