Skip to content

bbox API does not support different SRS #127

Description

@0x91

Apologies if this is the wrong place to raise this. I could see that this package doesn't use the Places - BBOX API https://docs.os.uk/os-apis/accessing-os-apis/os-places-api/technical-specification/bbox but I seem to have stumbled upon a bug.

The docs state that you can provide the srs as a parameter, like all of the other places APIs. However in practice it only supports BNG:

> curl -s -X GET "https://api.os.uk/search/places/v1/bbox?key=REDACTED&bbox=0.10,52.20,0.20,52.30&srs=EPSG:4258&output_srs=EPSG:4258"

{
  "error" : {
    "statuscode" : 400,
    "message" : "Area of data coverage is in BNG and is a minimum of 0,0 to maximum of 700000.00,1300000.00. Provided coordinates fall outside this area."
  }
}

Is the documentation wrong or is there something else I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions