World-Cleanup-Day icon indicating copy to clipboard operation
World-Cleanup-Day copied to clipboard

Country polygons needs expanding at the coast

Open lynxlynxlynx opened this issue 6 years ago • 1 comments

The "Other" area category currently has 73 entries. 1 is from an offshore French colony in Africa, 1 on Cyprus, but the rest are from the capital of Tanzania.

This means they are not counted toward Tanzania stats.

Both Cyprus (id 89288dd7-70e5-4cd2-98ba-f3f933d3488f) and Tanzania seem to suffer from the same problem, visible on the coast. The polys are too generalised and need buffering towards the sea.

The data is in backend-geo and you can see how it was imported here. Try regenerating TZ.json with a lower simplification factor. The seed folder has instructions on how to later make a permanent change in the database.

Look at the Bahari road or Toure Drive in Dar es Salaam. The currently missing trashpoints are between that and the beach, so make sure the new polygon covers it: https://app.worldcleanupday.com

Updating the polygon is the good-first-issue part. Upstreaming will have to be handled by others. The json files are in geojson format, so you can open them directly in QGIS.

spectacle h21324

lynxlynxlynx avatar Mar 09 '18 21:03 lynxlynxlynx

If we ever switch to a spatially enabled database, we could work around this by checking the nearest country and using that.

lynxlynxlynx avatar Jul 23 '18 06:07 lynxlynxlynx