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
The stac-spec says that the geometry of an item may also be null - see stac-spec.
However, the migration for the database sets the geometry field to NOT NULL at pgstac.0.9.1.sql#L2030 and it is therefore not possible to create items with a zero geometry.
Does this have a deeper meaning or why is NULL not allowed?
If this is not intention, I would create a pull request to change this.
The text was updated successfully, but these errors were encountered:
I believe that earlier in the stac spec, geometry may have been required.
I'm happy to take a PR to remove that constraint, but I would warn that it may be more work that just removing that constraint as some of the transformations to and from the table layout to json may be making the assumption that a geometry always exists.
The stac-spec says that the geometry of an item may also be null - see stac-spec.
However, the migration for the database sets the geometry field to
NOT NULL
at pgstac.0.9.1.sql#L2030 and it is therefore not possible to create items with a zero geometry.Does this have a deeper meaning or why is
NULL
not allowed?If this is not intention, I would create a pull request to change this.
The text was updated successfully, but these errors were encountered: