Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{"detail":"Relation is empty, which is not supported"} #87

Open
plonkers opened this issue Nov 27, 2024 · 5 comments
Open

{"detail":"Relation is empty, which is not supported"} #87

plonkers opened this issue Nov 27, 2024 · 5 comments

Comments

@plonkers
Copy link

hgfgfh
Can't figure out if I'm dumb as hell or this is a bug of some sort, but this error message keeps popping up whenever I enter relation IDs into Relatify, despite the said relations all having at least one way with no role and a bus stop node with a platform role.

Initially I thought I may just need to give it a moment as said on the wiki page, but it's been almost 4 hours since I made the first route. Then I realised the routes started on a highway=service without bus=designated, so added the latter but still no avail.

Strangely, as a test I upgraded a route I traced in iD over a year ago to PTv2 and it opened up in Relatify without issue within seconds of publishing my changeset.

@mutipg
Copy link

mutipg commented Nov 27, 2024

Hi! If you provide the number of this bus route in OSM, it will be easier to find the problem :)

@plonkers
Copy link
Author

Hi! If you provide the number of this bus route in OSM, it will be easier to find the problem :)

Hi Marek, this is the route I first had the issue with: https://www.openstreetmap.org/relation/18336141, tags:
colour=#b0b0b0
from=Ridgeway School
name=Bus 152: Ridgeway School => Coate Water
network=local
operator=Swindon's Bus Company
public_transport:version=2
ref=152
route=bus
to=Coate Water
type=route
via=North Wroughton;Croft;Lawn

The route I created a year ago but worked in Relatify is this: https://www.openstreetmap.org/relation/16358587, tags:

from=Cirencester (Cirencester College or Kingshill School)
name=Bus 51S: Cirencester => Cricklade
network=Stagecoach West
network:wikidata=Q7596870
operator=Stagecoach West
public_transport:version=2
ref=51S
route=bus
to=Cricklade (Turning Circle)
type=route
via=Chesterton;Kingshill School;Siddington;South Cerney;Spine Road Junction;Latton;Calcutt

Thanks a lot.

@mutipg
Copy link

mutipg commented Nov 27, 2024

In my opinion, there should be no errors in this bus route. I don't know why Realtify has such a message. I think that the author of the application, when he finds a moment, will try to solve this problem.

@Zaczero, please check this relation #18336141:
Bus 152: Ridgeway School => Coate Water

Thanks!

@mcliquid
Copy link

@vankos
Copy link

vankos commented Nov 29, 2024

Same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants