Zaczero / osm-relatify

🚍 OpenStreetMap Public Transport Made Easy! — Web Editor
https://relatify.monicz.dev
GNU Affero General Public License v3.0
60 stars 6 forks source link

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

Open plonkers opened 3 days ago

plonkers commented 3 days ago

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 commented 3 days ago

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

plonkers commented 3 days ago

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 commented 3 days ago

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 commented 1 day ago

Hi, I have the same error message with these relations: https://relatify.monicz.dev/?relation=18345981 https://relatify.monicz.dev/?relation=18345593 https://relatify.monicz.dev/?relation=18345904

vankos commented 1 day ago

Same issue