Skip to content

/locations too strict in checking station coordinates #105

@Teddy-1000

Description

@Teddy-1000

Stations can move or have their position updated to be more precise. As in the example below. I think we should disable this check for now, and find a better way to make sure the position does not diverge too much between time series. In this case the position have moved 1.2 meters, but breaks the entire /locations endpoint of the API. I think such a check should be made somewhere else. As we do not want data with errors accepted in to the system at all, and we should treat the datastore as a source of truth.

{
    "detail": {
        "coordinates": "Station with id `0-578-0-91695 has multiple coordinates: {(20.914, 69.9367), (20.914, 69.93667)}"
    }
}

Metadata

Metadata

Assignees

Labels

APIFor issues and PR related to the APIsAPI:EDRLabel for API issue and PR related to EDR

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions