[openstreetmap/openstreetmap-website] Add moderation zones where anonymous notes are not allowed (PR #6713)

Pablo Brasero notifications at github.com
Thu Feb 5 15:02:37 UTC 2026


@pablobm commented on this pull request.



> @@ -0,0 +1,40 @@
+# frozen_string_literal: true
+
+# == Schema Information
+#
+# Table name: moderation_zones
+#
+#  id            :bigint           not null, primary key
+#  name          :string           not null
+#  reason        :string           not null
+#  reason_format :enum             default("markdown")
+#  zone          :st_geometry      not null, geometry, 0

Thank you for the explanation, team. I have changed it to 4326.

Good point on the type question, I was too liberal there. Again from ignorance: my feeling is that changing to polygon would make sense. Allowing users to define multipolygons would be adding complexity (eg: to the upcoming shapes editor). And if multipolygons are even needed... I'm guessing it can be changed from polygon to multipolygon then?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6713#discussion_r2769606458
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6713/review/3757632919 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260205/cb7734d3/attachment.htm>


More information about the rails-dev mailing list