You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious why you chose to have only the generic Geometry Ecto.Type implementation and not separate implementations for Point, Polygon, etc. For example:
schema "restaurants" do
field :name, :string
field :address, :string
field :location, Geo.Point
timestamps(type: :utc_datetime)
end
Wouldn't it be useful to know that the coordinate is a point?
The text was updated successfully, but these errors were encountered:
leifmetcalf
changed the title
Why Geo.PostGIS.Geometry?
Why Geo.PostGIS.Geometry?
Jan 21, 2025
I'm curious why you chose to have only the generic Geometry Ecto.Type implementation and not separate implementations for Point, Polygon, etc. For example:
Wouldn't it be useful to know that the coordinate is a point?
The text was updated successfully, but these errors were encountered: