<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>I think (1) is still open. I have no idea if the proposed change will also work<br>better for other countries?<br><br>Gerd<br><br><div>> From: ar2988-os@outlook.com<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Date: Sun, 1 Feb 2015 12:07:53 +0000<br>> Subject: [mkgmap-dev] Public transport<br>> <br>> I posted to the list last April http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2014q2/020800.html and there was no response. It seems that, although the post appeared on the mkgmap web site, most subscribers did not receive it because of the Yahoo! problem http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2014q4/022204.html<br>> <br>> Therefore I am reposting the message, updated as necessary:<br>> <br>> I have entered some public transport data into OSM. I have made every effort to enter the data in accordance with the new public transport schema. Some 'old' tags are also present because I started mapping the data before the new schema was approved. For testing purposes I used the extract from Geofabrik of the Languedoc-Roussillon region of France. I used r3433 with the default style and these options: --max-jobs --code-page=1252 --add-pois-to-areas --route --link-pois-to-ways --precomp-sea=sea-20150123211701.zip --generate-sea --index --bounds=bounds_20150129.zip --location-autofill:bounds,is_in,nearest --housenumbers. Looking at the results, I noticed a number of things.<br>> <br>> (1) Names of railway stations<br>> <br>> The names of many railway stations appear in the form SNCF: Agde.<br>> https://www.openstreetmap.org/way/72614628<br>> This is the result of generic processing of names in the style file inc/name. There are about 3500 railway stations in France and more than half of them are tagged operator=SNCF. I would prefer to see the name in the form Agde SNCF, which was produced by earlier versions of the default style, before the file inc/name was introduced. This is more convenient for searching on a device.<br>> <br>> (2) Names of bus stops<br>> <br>> This is an example of the name of a bus stop as it appears in the generated map: Agglo Hérault Méditerranée: (1;2;3;4;5,4,4,3,3)(1;2;3;4;5,4,4,3,3)++ Gare SNCF<br>> https://www.openstreetmap.org/node/1424432523<br>> The Garmin software and the device will only display the first part of the string. I used QLandkarte GT to see the complete string. (For legibility, I have used lower case in the strings, although they are in upper case in the generated map.)<br>> <br>> Earlier versions of the default style produced the result Gare SNCF (1;2;3;4;5,4,4,3,3)+Agglo Hérault Méditerranée, which I prefer. "Gare SNCF" is the name of the bus stop. The earlier version would be essential, to allow you to see the name of the bus stop on a device. What do others think?<br>> <br>> The solution which I use for my own maps, is as follows. Before line 16 of file inc/name<br>> ref=* & (operator!=* & brand!=*) { name '${ref} ${name}' | '${ref}' }<br>> insert this line<br>> ref=* & (operator!=* & brand!=*) & (highway=bus_stop | railway=tram_stop | railway=halt | railway=station) { name '${name} ${ref}' | '${ref}' }<br>> Before line 27 of file inc/name<br>> operator=* & brand!=* {<br>> insert these 6 lines<br>> operator=* & brand!=* & (highway=bus_stop | railway=tram_stop | railway=halt | railway=station) {<br>> name '${name} ${ref} ${operator}' |<br>> '${name} ${operator}' |<br>> '${ref} ${operator}' |<br>> '${operator}'<br>> }<br>> <br>> The text 1;2;3;4;5,4,4,3,3 can be changed to 1;2;3;4;5 by using the new not-contained filter as proposed in another thread.<br>> <br>> The doubling-up of the route_ref and the shelter indicator (+, - or *) is a bug. I will address this in a separate thread.<br>> <br>> I will leave a further question about public transport for another thread.<br>> <br>> Adrian<br>> <br>>                                            <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>