-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
A changeset that only touches a node without moving it can have min_lat=max_lat and min_lon=max_lon.
These are currently encoded as polygons, but zero-area polygons are very hard to make normally. e.g. this SQL doesn't work on those changesets
UPDATE osm_changeset_40m
SET geom = ST_SetSRID(ST_Makebox2d(ST_MakePoint(min_lon, min_lat), ST_MakePoint(max_lon, max_lat)),4326)::geometry(Polygon,4326)
WHERE geom IS NULL;;Would it be better to have these as points and change the geometry constraint to geometry(Geometry,4326)?
RicoElectrico
Metadata
Metadata
Assignees
Labels
No labels