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.dissolve is "reclassifying" attributes after dissolve #25102

Closed
qgib opened this issue Sep 26, 2017 · 3 comments
Closed

v.dissolve is "reclassifying" attributes after dissolve #25102

qgib opened this issue Sep 26, 2017 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS

Comments

@qgib
Copy link
Contributor

qgib commented Sep 26, 2017

Author Name: Sarah Popov (@popovs)
Original Redmine Issue: 17203
Affected QGIS version: 2.18.13
Redmine category:grass


I have a polygon with 5 features, classified 1-5, with 1 being light yellow gradating to 5 being dark blue. Some are split in half (see right half of first screenshot) so I dissolve by attribute using v.dissolve. The resulting output consistently "reclassifies" my 5 features like so:

1 (light yellow) becomes -> 5 (dark blue)
2 (green) -> 1 (light yellow)
3 (blue-green) -> stays as 3!
4 (mid blue) -> stays as 4
5 (dark blue) -> 2 (green)

You can see the attribute & corresponding color changes in the second screenshot. The dissolve worked great (the seams between polygons are gone), only the attributes were all shuffled around! I checked my polygons for any errors and there don't appear to be any so I believe it may be the dissolve function.

Before v.dissolve
https://imgur.com/a/EU2U1

After v.dissolve (feature attributes are reclassified)
https://imgur.com/a/uu6uC

PS - this is my first bug report issued, so please let me know if there is anything to be fixed or done better in this report.


@qgib
Copy link
Contributor Author

qgib commented Sep 27, 2017

Author Name: Giovanni Manghi (@gioman)


Can you attached the data?
You did the operation within the GRASS plugin or in the Processing toolbox?
Have you tried different dissolve tools in the Processing toolbox?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2017

Author Name: Sarah Popov (@popovs)


Giovanni Manghi wrote:

Can you attached the data?
You did the operation within the GRASS plugin or in the Processing toolbox?
Have you tried different dissolve tools in the Processing toolbox?

I've tried to replicate this but I can't - I guess I just was having a bad GIS day that day. Can you close this ticket?

@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2017

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Oct 3, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS labels May 25, 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