tasking-manager icon indicating copy to clipboard operation
tasking-manager copied to clipboard

Same tasks having more than one task id.

Open manjitapandey opened this issue 1 year ago • 4 comments

Describe the bug Uploading image.png…

Expected behavior No task having a same area should have more than one task id.

Screenshots image (5) image (4)

Additional Information Issue Reported two years back on mapswipe: https://github.com/mapswipe/python-mapswipe-workers/issues/546 Slack conversation Archives: https://hotosm.slack.com/archives/C319P09PB/p1704998956525999

manjitapandey avatar Jan 12 '24 06:01 manjitapandey

Initial finding:

  • There are two tasks with different taskId but same geojson in this particular project.
[
    {
        "geometry": {
            "coordinates": [
                [
                    [
                        [
                            35.529785,
                            -1.79048
                        ],
                        [
                            35.540771,
                            -1.79048
                        ],
                        [
                            35.540771,
                            -1.779499
                        ],
                        [
                            35.529785,
                            -1.779499
                        ],
                        [
                            35.529785,
                            -1.79048
                        ]
                    ]
                ]
            ],
            "type": "MultiPolygon"
        },
        "properties": {
            "lockedBy": null,
            "mappedBy": 18455336,
            "taskId": 200,
            "taskIsSquare": true,
            "taskStatus": "MAPPED",
            "taskX": 19618,
            "taskY": 16221,
            "taskZoom": 15
        },
        "type": "Feature"
    },
    {
        "geometry": {
            "coordinates": [
                [
                    [
                        [
                            35.529785,
                            -1.79048
                        ],
                        [
                            35.540771,
                            -1.79048
                        ],
                        [
                            35.540771,
                            -1.779499
                        ],
                        [
                            35.529785,
                            -1.779499
                        ],
                        [
                            35.529785,
                            -1.79048
                        ]
                    ]
                ]
            ],
            "type": "MultiPolygon"
        },
        "properties": {
            "lockedBy": null,
            "mappedBy": 18542440,
            "taskId": 198,
            "taskIsSquare": true,
            "taskStatus": "VALIDATED",
            "taskX": 19618,
            "taskY": 16221,
            "taskZoom": 15
        },
        "type": "Feature"
    }
]

CC: @kaditya97 @manjitapandey @ramyaragupathy

royallsilwallz avatar Jan 24 '24 11:01 royallsilwallz

image Project :https://tasks.hotosm.org/projects/15752 Task 197 and 199 shows the same task on the map.

manjitapandey avatar Feb 09 '24 10:02 manjitapandey

Hello, is this issue taken, and am I able to pick this issue up?

Chaimann2 avatar Apr 08 '24 03:04 Chaimann2

Sure, We will be happy to have you. Some initial findings has been shared and you are welcome to dig in and provide some more updates and solutions.

manjitapandey avatar Apr 08 '24 04:04 manjitapandey