Re: [Talk-transit] Line colour, text colour and background colour

2019-05-07 Thread Héctor Ochoa
Ok, thanks to everyone for your response.
Kindly, Héctor.

El lun., 6 may. 2019 a las 22:15, Tijmen Stam ()
escribió:

> On 29-04-19 16:58, Stephen Sprunk wrote:
> > The route and route_master relations have a documented "colour" key that
> > can be used.  However, that seems to be intended for the line itself,
> > and I'm not aware of any renderer that uses it.  If they did, they'd
> > probably use it for the label background too.
> >
> > Relation:destination_sign has attributes colour:back and colour:text, so
> > it makes sense to reuse those here, but if renderers aren't even using
> > colour for the line/label today, I wouldn't count on them doing anything
> > special with the text either.
>
> OSMand (openstreetmap for Android) does render colour for subway lines,
> and it renders de coulours in line labels for bus lines.
>
> For e.g. https://www.openstreetmap.org/relation/297293I have used
> colour=#ff (both in the route and route_master) and it renders good
> on OSMand.
>
> Keeping in line with other tagging schemes I would use "Colour" for the
> colour of the line (on maps etc), ref:colour for the colour of the text,
> and if necessary: ref:colour_tx for reference text colour and
> ref_colour_bg for reference background colour as per
> 
>
> (In your example I can see e.g. the 22/34/40 being Lime/Blue/Bordeaux as
> "colour", having white as colour:ref, but N1, N2, N7 would have green,
> pink, yellow as colour, having those as colour:ref as well, but black as
> colour_bg.
>
> I have no idea what the line colour of the TR line will be though.
> Black? White? :-)
>
>
>
> ___
> Talk-transit mailing list
> Talk-transit@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-transit
>


--
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] Line colour, text colour and background colour

2019-05-06 Thread Tijmen Stam

On 29-04-19 16:58, Stephen Sprunk wrote:
The route and route_master relations have a documented "colour" key that 
can be used.  However, that seems to be intended for the line itself, 
and I'm not aware of any renderer that uses it.  If they did, they'd 
probably use it for the label background too.


Relation:destination_sign has attributes colour:back and colour:text, so 
it makes sense to reuse those here, but if renderers aren't even using 
colour for the line/label today, I wouldn't count on them doing anything 
special with the text either.


OSMand (openstreetmap for Android) does render colour for subway lines, 
and it renders de coulours in line labels for bus lines.


For e.g. https://www.openstreetmap.org/relation/297293I have used 
colour=#ff (both in the route and route_master) and it renders good 
on OSMand.


Keeping in line with other tagging schemes I would use "Colour" for the 
colour of the line (on maps etc), ref:colour for the colour of the text, 
and if necessary: ref:colour_tx for reference text colour and 
ref_colour_bg for reference background colour as per 



(In your example I can see e.g. the 22/34/40 being Lime/Blue/Bordeaux as 
"colour", having white as colour:ref, but N1, N2, N7 would have green, 
pink, yellow as colour, having those as colour:ref as well, but black as 
colour_bg.


I have no idea what the line colour of the TR line will be though. 
Black? White? :-)




___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] Line colour, text colour and background colour

2019-04-29 Thread Stephen Sprunk
The route and route_master relations have a documented "colour" key that
can be used.  However, that seems to be intended for the line itself,
and I'm not aware of any renderer that uses it.  If they did, they'd
probably use it for the label background too. 

Relation:destination_sign has attributes colour:back and colour:text, so
it makes sense to reuse those here, but if renderers aren't even using
colour for the line/label today, I wouldn't count on them doing anything
special with the text either. 

S 

On 2019-04-27 06:03, Héctor Ochoa wrote:

> Hi, 
> Yesterday Zaragoza City Council unveiled its new bus network design. It gives 
> each line a distinct text and background colour, as seen here: 
> https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-9.jpg
>  
> https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-8.jpg
>  
> 
> I am asking if https://wiki.openstreetmap.org/wiki/Key:ref:colour could be 
> adapted to use it in public transport routes, or something similar that 
> complements https://wiki.openstreetmap.org/wiki/Key:colour 
> 
> Thanks in advance! 
> Héctor 
> ___
> Talk-transit mailing list
> Talk-transit@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-transit

-- 
Stephen Sprunk  "Those people who think they know everything
CCIE #3723 are a great annoyance to those of us who do."
K5SSS --Isaac Asimov___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit


Re: [Talk-transit] Line colour, text colour and background colour

2019-04-27 Thread seirra blake
have to say I like the design choices! on topic though, I understand 
colour=* to be the generally accepted use for background/line colour. I 
was going to say I imagine the best way for the text might be something 
namespaced like colour:text=*... but after thinking about it, I guess 
this text is the ref, so I see no problem with ref:colour, the challenge 
though might be finding an renderer with support for that, I don't think 
it's too common


On 4/27/19 12:03 PM, Héctor Ochoa wrote:

Hi,
Yesterday Zaragoza City Council unveiled its new bus network design. 
It gives each line a distinct text and background colour, as seen here:

https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-9.jpg
https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-8.jpg

I am asking if https://wiki.openstreetmap.org/wiki/Key:ref:colour 
could be adapted to use it in public transport routes, or something 
similar that complements https://wiki.openstreetmap.org/wiki/Key:colour


Thanks in advance!
Héctor

___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit


[Talk-transit] Line colour, text colour and background colour

2019-04-27 Thread Héctor Ochoa
Hi,
Yesterday Zaragoza City Council unveiled its new bus network design. It
gives each line a distinct text and background colour, as seen here:
https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-9.jpg
https://i2.wp.com/detalier.com/wp-content/uploads/2019/04/autobuses-urbanos-zaragoza-detalier-8.jpg

I am asking if https://wiki.openstreetmap.org/wiki/Key:ref:colour could be
adapted to use it in public transport routes, or something similar that
complements https://wiki.openstreetmap.org/wiki/Key:colour

Thanks in advance!
Héctor
___
Talk-transit mailing list
Talk-transit@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-transit