[openstreetmap/openstreetmap-website] Add geoblock zones where anynomous notes are not allowed (PR #6713)
Pablo Brasero
notifications at github.com
Wed Jan 21 17:25:06 UTC 2026
@pablobm commented on this pull request.
> @@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+class CreateGeoblockZones < ActiveRecord::Migration[8.1]
+ def change
+ create_table :geoblock_zones do |t|
+ t.string :name
+ t.geometry :zone, :geographic => true
Any preference of factory to use? https://github.com/rgeo/rgeo/blob/main/doc/Which-factory-should-I-use.md I am using `RGeo::Cartesian.simple_factory` for the moment as it appears to "just work". If we changed to one of the others, we'd need the gem `ffi-geos`.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6713#discussion_r2713596611
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6713/review/3688485957 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260121/5241f6e7/attachment-0001.htm>
More information about the rails-dev
mailing list