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
For example, in CoST Thailand's point geometries,
coordinatesis an array of arrays, rather than an array of numbers:Error:
Related issue on improving validation of coordinates: open-contracting/infrastructure#488