Skip to content

Publication quality criteria, checks and metrics: semantics_coordinates errors when coordinates is of incorrect type #68

Description

@duncandewhurst

For example, in CoST Thailand's point geometries, coordinates is an array of arrays, rather than an array of numbers:

      "geometry" : {
        "type" : "Point",
        "coordinates" : [ [ "5.7712780573108", "101.20494886386501" ] ]
      },

Error:

(psycopg2.errors.InvalidTextRepresentation) invalid input syntax for type numeric: "["17.062692504177054", "99.84443664550781"]"

Related issue on improving validation of coordinates: open-contracting/infrastructure#488

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions