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.distance needs to be fixed #14730

Closed
qgib opened this issue Feb 1, 2012 · 1 comment
Closed

v.distance needs to be fixed #14730

qgib opened this issue Feb 1, 2012 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 1, 2012

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 4929
Affected QGIS version: master
Redmine category:grass
Assignee: Paolo Cavallini


When using the v.distance module the user is provided with a "(optional) column to read labels" parameter.

It turns that this parameter ("to_column") must be a varchar() column of the "to=" map, but if such column does not exist (or it is not selected) then the module fails

C:\\>v.distance from=pontos@etrs89 from_layer=1 to=ferro@etrs89 to_type=line to_l
ayer=1 upload=dist to_column= column=dis dmax=-1 dmin=-1

GRASS_INFO_ERROR(3352,1): Column <> not found in table <ferro>
GRASS_INFO_END(3352,1)

so in the QGIS interface/console it is not optional at all.

In the native GRASS GUI the module work as expected when no "to_column" is chosen

@v.distance from=pontos@etrs89 to=ferro@etrs89 to_type=line,area upload=dist column=dis@

and still works when it is optionally chosen

@v.distance from=pontos@etrs89 to=ferro@etrs89 to_type=line,area upload=dist column=dis to_column=ciao

@qgib
Copy link
Contributor Author

qgib commented Feb 28, 2012

Author Name: Radim Blazek (@blazek)


Fixed in changeset "9a9ab73b61ed0a433f244d657c71742270cdd04f".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS labels May 24, 2019
@qgib qgib added this to the Version 1.7.4 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS
Projects
None yet
Development

No branches or pull requests

1 participant