Hi Jo,

I installed and played around with pt_assistant yesterday, and yes you are 
right it seems a lot more than just an validator. For example, if I reverse a 
relation it lets me find and replace the ways which are one way and in the 
wrong direction. However, I find the bright colours and paint styles a bit over 
the top - it makes it difficult to see which ways I have selected.

Considering this, is it possible to add the "suggest stops" feature to 
pt_assistant, (from the "public transport" plugin)? This would make it so that 
only this add-on is needed for public transport relations, you don't need the 
other addon.

> It has many features to help you create bus routes

I already know it can help modify errors in routes, but what does it do to 
specifically build a new route from scratch.

> recently I added some features to help with conversion from PTv1 to PTv2

What features? Before pt_assistant, to upgrade from PTv1 to PTv2, I would 
duplicate the PTv1 relation. Then I would select all the ways in the order the 
bus follows them and add those ways to the relation (and delete the old ones). 
I would then add stops by downloading the area around the stop and adding it 
(you can see stops on the carto map when downloading, or by looking at 
https://bustimes.org ). I would repeat this in full for the other direction.

Now, I have sped up the process a bit.

Firstly I download the PTv1 relation, and then select all the ways in the 
correct order, like before, and add them to the relation, removing the old one. 
Then, I add the stops manually, again.

However, now I have done one side, I duplicate this, and fix any segments that 
go over a oneway road in the wrong direction using pt_assistant's 
"route_helper".

 I then download the area surrounding the route by selecting it and "File--> 
Download along". Then, I select all the members of this new relation, select 
only stops from the members, and mark all the stops with the tag "test=test". I 
then use the "suggest stops" feature of the "public transport" plugin, but 
check "stops appear on both sides". This way stops on the left and right side 
of the road are added to the relation.

>From here, I can select all the stops with "test=test" and remove them from 
>the relation. Finally, I check this new relation against the 
>https://bustimes.org version to check if it is correct.

What advantages would the "experimental pt_assistant features" that you are 
talking about bring?

> For the past few years I mentored students to develop the plugin. This meant 
> it only got developed 3 months per year though.

What do you mean by this?

> whether it would make sense to have the itineraries as superroute relations 
> that contain route relations for the 'bundles'. 

What do you mean by this? 

> Would you have time for a Google Hangout this weekend? I would like to 
> demonstrate how converting route relations to PTv2 works.

Sorry, I don't even have a personal google account, let alone one for mapping 
purposes. I don't have a microphone either.

Regardless, I would prefer to stay anonymous.

>  I would like to demonstrate how converting route relations to PTv2 works.

Feel free to add any tricks I missed in my description of converting PTv1 to 
PTv2.

Thanks,

IpswichMapper
-- 

14 Nov 2020, 10:56 by winfi...@gmail.com:

> Hi,
>
> I'm not sure why you think PT_Assistant is simply a validator. It has many 
> features to help you create bus routes and recently I added some features to 
> help with conversion from PTv1 to PTv2. Those are not in the released version 
> yet though, because I'm also adding some other features (experimental). For 
> the past few years I mentored students to develop the plugin. This meant it 
> only got developed 3 months per year though. So recently I started learning 
> Java and  now I'm doing some development on it myself. Something I wanted to 
> figure out for a long time, is whether it would make sense to have the 
> itineraries as superroute relations that contain route relations for the 
> 'bundles'. Work in progress...
>
> Would you have time for a Google Hangout this weekend? I would like to 
> demonstrate how converting route relations to PTv2 works.
>
> Jo (Polyglot)
>
>  
>
> On Fri, Nov 13, 2020 at 10:10 PM ipswichmapper--- via josm-dev <> 
> josm-dev@openstreetmap.org> > wrote:
>
>> Sorry, I meant to say "what inherant flaws does PTV2 have".
>> -- 
>>  Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
>>  >> https://tutanota.com
>>
>>
>> 13 Nov 2020, 21:04 by >> josm-dev@openstreetmap.org>> :
>>
>> > Great! This should hopefully simplify the improvement of this addon.
>> >
>> > 1. What inherant flaws did the sudtem have?
>> > 2. How easy is it to determine if a way is "forward" or "backward" 
>> > automatically?
>> >
>> > Also, it seems that the relation editor can sort ways, so a rewrite of 
>> > this addon can remove this feature.
>> > -- 
>> >
>> >
>> >
>> > 13 Nov 2020, 20:53 by >> roland.olbri...@gmx.de>> :
>> >
>> >> Hi all,
>> >>
>> >> thank you for the feedback.
>> >>
>> >>> Furthermore, this plugin is closed-source (as far as I know), so it 
>> >>> cannot be "fixed".
>> >>>
>> >>
>> >> The plugin is open source, see
>> >> >> https://github.com/openstreetmap/josm-plugins/tree/master/public_transport
>> >>
>> >> The problem is that maintaining the plugin is a lot of work. I abandoned
>> >> the development long ago because public transport v2 would have meant
>> >> too much work, because the scheme has inherent flaws. Any such flaw does
>> >> fall on the developer multiple times, for implementation, for developing
>> >> test cases for all the undefined corner cases, for a UI that explains
>> >> what the software actually does.
>> >>
>> >> By contrast, updating to a single different set of tags for stop poles
>> >> is not a substantial problem.
>> >>
>> >>> This would mean you could immediately add all the stops in the click of 
>> >>> a button, and sort broken relations in a click of a button.
>> >>>
>> >>
>> >> Since writing this plugin, the relation editor has superseded most of
>> >> the way sorting features. Thus, it no longer makes sense to duplicate
>> >> the sorting capabilities in a distinct plugin.
>> >>
>> >> I would nowadays add buttons to the relation editor rather than a
>> >> separate relation editor.
>> >>
>> >> There is also an unfinished routing algorithm in the plugin. I never had
>> >> found a reasonable UI to exhibit that to the end user.
>> >>
>> >> Best regards,
>> >>
>> >> Roland
>> >>
>>

Reply via email to