Skip to content

Improve error message #44

Description

@Edouard-Legoupil

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

Activity

  1. sergiobuj commented on Oct 27, 2014

    @sergiobuj
    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.

  2. Edouard-Legoupil commented on Oct 27, 2014

    @Edouard-Legoupil
    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

  3. sergiobuj commented on Nov 1, 2014

    @sergiobuj
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions