Versal Spatial Data Ingestion (While Ingesting the data, getting Spatial Coordinate block as Empty)
As part of Versal OSDU integration, spatial coordinate blocks are inserted as empty blocks into OSDU Target system.
While going through the air flow code we found the below observation,
We found that in FetchAndIngest the cleaning process of the records is removing the coordinates, when coordinates has nested list. Seems like cleaning process supports only point type of geometry but versal has Multiline String and Multi Polygon type of geometry with nested list of coordinates.
For nested list e.g. [[-0.7484, 61.4182], [-0.9396, 61.4893]] the following method (_iterate_list) is returning empty list. Please find below snapshot of the methods where we think it is removing the coordinates values when coordinates are in the form of nested list.