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

Improve error message #44

Open
Edouard-Legoupil opened this issue Oct 26, 2014 · 3 comments
Open

Improve error message #44

Edouard-Legoupil opened this issue Oct 26, 2014 · 3 comments

Comments

@Edouard-Legoupil
Copy link

The following error message is a bit cryptic:

ERROR_MSG = u"There are features from the shapefile that are disconnected.
Check the areas identified with the following IDs for errors
in the geometry:

What needs to be done on the data to fix this?

Thanks,
Edouard

@sergiobuj
Copy link
Member

Hi,
In the current version of the plugin we are only supporting clustering on connected areas/features (having geometries that intersect).
I've seen cases where the areas seem to be adjacent but QGIS won't report them as touching or intercepting.

If the list of IDs on the message is short (usually just one or two), you can try to remove those areas and try again. You could also try to modify the area's geometry so that they intersect.

I'll look for a better way to help troubleshoot this issues. Thanks.

@Edouard-Legoupil
Copy link
Author

Dear Sergio,

Thanks for the quick answer. To provide a bit more background, I tried to run the algorithm on a voronoi diagram. So normally all my polygons should be fully adjacent.

I removed a large part of my polygons but the process get stucked at 95%. Where can I get the log?

Is it possible that the algorithm fails because some of the values of my polygons are set to 0?

Shall I share with you the shapes?

Thanks

@sergiobuj
Copy link
Member

Hi,
Well, you should be good using voronoi, that's true.
The 0 values might be an issue.

Sure. I can take a look at the shapes. Please post any parameters you might be using.

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

No branches or pull requests

2 participants