eamena-project / eamena-arches-dev

development repository of the EAMENA Arches-powered database platform
https://eamena.org/home
GNU Affero General Public License v3.0
5 stars 3 forks source link

Search export > 2,000 not working #18

Closed zoometh closed 1 year ago

zoometh commented 1 year ago

When exporting > 2,000 resources, this error message appear in the notifications:

ERROR: arches.app.tasks.export_search_results image

See the dedicated Arches forum thread

zoometh commented 1 year ago

This AOI (map search) gathers 2,003 HPs, so need to be handled by Celery

{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "properties": {
                "buffer": {
                    "width": 10,
                    "unit": "m"
                },
                "inverted": false
            },
            "geometry": {
                "coordinates": [
                    [
                        [
                            37.52682543776368,
                            31.46528535865737
                        ],
                        [
                            37.65965268682041,
                            30.834750283267923
                        ],
                        [
                            38.30314402567046,
                            30.450965849205176
                        ],
                        [
                            38.53589621206112,
                            31.040777090792943
                        ],
                        [
                            38.39822875957233,
                            31.677027805179705
                        ],
                        [
                            37.90723747561023,
                            31.649915267975274
                        ],
                        [
                            37.52682543776368,
                            31.46528535865737
                        ]
                    ]
                ],
                "type": "Polygon"
            }
        }
    ]
}
zoometh commented 1 year ago

The solution is given here: https://community.archesproject.org/t/error-arches-app-tasks-export-search-results/1967/9?u=zoometh