Open alexgleith opened 2 weeks ago
The following warning raised by antimeridian.fix_shape
for this dataset seems to yield some insight:
FixWindingWarning: The exterior ring of this shape is wound clockwise. Since this is a common error in real-world geometries, this package is reversing the exterior coordinates of the input shape before running its algorithm. If you know that your input shape is correct (i.e. if your data encompasses both poles), pass
fix_winding=False
.
Subsequently, crs.valid_region.intersects(geo_extent)
is False, so no dataset spatial values can be generated and the spatial index entry doesn't get updated. With fix_winding=True
, an intersection is found.
With fix_winding=True, an intersection is found.
Does this mean there are two different code paths between indexing and updating?
Set up datacube:
Index one document:
Check postgres:
SELECT * from odc.spatial_3832;
Run
datacube spindex update 3832