Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Duplicated stops #1229

@slvlirnoff

Description

@slvlirnoff

Hi all,

I've running in an issue where for some feeds it seems that the stops get duplicated a lot over time, i.e. every time the feeds get a new version. It seems that all stops are created again.

You can see it here (NZ feed) where in this small bounding box you have ~107 stops that represents around two in reality:

https://transit.land//api/v1/stops?bbox=174.87233519554138%2C-36.93862462178051%2C174.88262951374054%2C-36.936056263854915&departure_time=&isochrone_mode=&isochrones_mode=&onestop_id=&pin=-36.93735974847771%2C174.87571125850081&served_by=&per_page=false

After a while it becomes a problem when fetched into valhalla because it reaches max_transit_stop or other contraints like this one for a tile. Is there a way to delete all 'old entities' that aren't used in an active feed version somewhere? I guess here valhalla keep adding these stops because most of them are served by the current route from latest feed.

Best,
Cyprien

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