Skip to content

handle erroneous AsIngestedCoordinates payload

Neelesh Thakur requested to merge errorneous-payload into master

Handle erroneous AsIngestedCoordinates payload, Storage batch request fails with 500 error code for following payload:

"data": {
    "SpatialLocation": {
      "AsIngestedCoordinates": {
        "Type": "AnyCrsFeatureCollection",
        "CoordinateReferenceSystemID": "NAD27",
        "VerticalCoordinateReferenceSystemID": null,
        "PersistableReferenceCrs": null,
        "PersistableReferenceVerticalCrs": null,
        "PersistableReferenceUnitZ": null,
        "Features": [
          {
            "Type": "AnyCrsFeature",
            "Properties": null,
            "Geometry": {
              "Coordinates": [
                30.8793048,
                -87.7801454
              ],
              "Type": "AnyCrsPoint",
              "Bbox": null
            }
          }
        ],
        "Bbox": null
      },
      "Wgs84Coordinates": null
    }
  }

Merge request reports