department-for-transport-public / D-TRO

Digital Traffic Regulation Orders (D-TRO)
MIT License
3 stars 1 forks source link

Coordinate validation on publish #13

Closed martinl-sym closed 1 month ago

martinl-sym commented 1 month ago

I'm trying to publish using the geometry below,

                "linestring": "SRID=27700;LINESTRING(502151 221149,502130 221168,502091 221201,502065 221223,502054 221232,502029 221254,502026 221256,502000 221280,501981 221299,501956 221325,501930 221354,501865 221426)"

The validation returns as:

{ "requestComparedToRules": [ { "message": "Coordinates you provided are not within UK coordinates", "path": "Source.provision.regulatedPlace.geometry" } ] }

The WKT provided is valid and is certainly in the UK

JHB9876 commented 1 month ago

On behalf of DfT:

Many thanks for raising this. We are reviewing.

JHB9876 commented 1 month ago

On behalf of DfT:

This issue should now have been resolved in the latest release (v3.2.4). Please attempt to publish again and do confirm it has worked.