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

ftools: Intersection and union don't produce a result #12596

Closed
qgib opened this issue Mar 8, 2010 · 3 comments
Closed

ftools: Intersection and union don't produce a result #12596

qgib opened this issue Mar 8, 2010 · 3 comments

Comments

@qgib
Copy link
Contributor

qgib commented Mar 8, 2010

Author Name: Horst Düster (@hdus)
Original Redmine Issue: 2536

Redmine category:python_plugins
Assignee: cfarmer -


  1. open the attached shapes (both produced with ftools/buffer)
  2. select ftools union/intersection
  3. proceed the union or intersection process
  4. message with bad geometries appears

=> no result

My system:
gdal-1.7.1
geos-3.1.0
QGIS -r13034


@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2010

Author Name: dr - (dr -)


Confirmed. I've get the same problem on some of my layers.
Moreover if both merged layer's attribute tables have the same field's name, Union tool does not consider it. At result we have table with field names: NAME, NAME_1, NAME_2... It will be useful to merge such fields (with the same type and name) into one column.

@qgib
Copy link
Contributor Author

qgib commented Apr 16, 2010

Author Name: Alexander Bruy (@alexbruy)


This is related with #12689. Also here is another problem: when field names trimmed and suffix added we will have duplicate names and get error when initialize shapefile writer. I found three tools with this problem: union, intersection, symmetrical difference

Patch to fix this problem (evaluate field name lenght, check for duplicates and display warning messages) attached

@qgib
Copy link
Contributor Author

qgib commented Apr 22, 2010

Author Name: cfarmer - (cfarmer -)


Patch applied in . Thanks to alexbruy!

Carson


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

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

No branches or pull requests

1 participant