[PATCH] ref/operator/shelter naming for stops of public transit

Some months ago, I submitted a patch to the mkgmap default style that would do two things: include ref/operator/shelter in bus/rail/tram stop names and change the types of minor stops from 0x2f08 to 0x2f17. I can understand hesitation to change the POI type, but I would really like to see the name/ref/operator/shelter logic committed to the tree. The logic works like this. If none of name, ref, operator, shelter is given, the stop will remain unnamed. Otherwise, unassigned name, ref, operator will be replaced by the empty string and the name will be '$name $ref[+ -]$operator', mapping shelter=yes/no to +/-. The POI type (and resolution) changes would be these: -highway=bus_stop [0x2f08 resolution 21] +highway=bus_stop [0x2f17 resolution 20] -railway=tram_stop [0x2f08 resolution 21] +railway=tram_stop [0x2f17 resolution 20] Both 0x2f08 and 0x2f17 would work on all models listed at http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/POI_Types (sorry, I have been too lazy to fill in all details of the Edge 705). The idea of this POI type change is to remove clutter both on the map and in the Where To?/Find Places menu. On the map, 0x2f17 shows as a tiny white rectangle, but I guess it could be overridden in a TYP file. The 0x2f17 is already being used for amenity=taxi. The icon of 0x2f08 looks like the front of a bus or a train. My idea is that the menu of 0x2f08 (ground transportation) would only contain the major stops (bus stations or railway stops and stations). For long-distance travel, you could easily find the nearest stations in the menu. For local travel, you would more likely be only interested in the nearest bus or tram stops, and the dozens of other stops would not bother you in the menu, as the closest stops would be listed first. Best regards, Marko

On Oct 13, 2009, at 16:24, Marko Mäkelä wrote:
Some months ago, I submitted a patch to the mkgmap default style that would do two things: include ref/operator/shelter in bus/rail/tram stop names and change the types of minor stops from 0x2f08 to 0x2f17. I can understand hesitation to change the POI type, but I would really like to see the name/ref/operator/shelter logic committed to the tree.
I've been trying out the changes from your patch. Is the one you submitted with this e-mail different from the one you sent around a few months ago? - I noticed that with the original patch the shelter (+/-) character would be truncated if the operator name was too long. You appear to have moved the shelter character to before the operator text now. Is this correct? I at least have been using the new POI types, and they work OK for me. - What I have also been experimenting with is a public transportation overlay map. This is a transparent map which I can place on top of the regular map. In it, bus, tram, and subway routes, stops and stations are emphasized using a special TYP file. As such, I can turn on and off the public transit map when I need it. This may be an interesting area of pursuit for you. In the long run it may be a better option than trying to add a lot of information into the standard map where Garmin has just not provided space for it (alas, Garmin seems to be rather uninterested in public transportation). Cheers.

On Wed, Oct 14, 2009 at 08:56:03AM -0400, Clinton Gladstone wrote:
On Oct 13, 2009, at 16:24, Marko Mäkelä wrote:
Some months ago, I submitted a patch to the mkgmap default style that would do two things: include ref/operator/shelter in bus/rail/tram stop names and change the types of minor stops from 0x2f08 to 0x2f17. I can understand hesitation to change the POI type, but I would really like to see the name/ref/operator/shelter logic committed to the tree.
I've been trying out the changes from your patch. Is the one you submitted with this e-mail different from the one you sent around a few months ago?
If I remember correctly, I have submitted three different revisions of the patch. The second revision set the name to ' ' when none of the attributes were set.
- I noticed that with the original patch the shelter (+/-) character would be truncated if the operator name was too long. You appear to have moved the shelter character to before the operator text now. Is this correct?
Yes. We do not have operator=* for bus stops around here, so it did not make any difference for me. But I thought that the +/- could double as a separator. No need to waste characters for parenthesis.
- What I have also been experimenting with is a public transportation overlay map. This is a transparent map which I can place on top of the regular map. In it, bus, tram, and subway routes, stops and stations are emphasized using a special TYP file. As such, I can turn on and off the public transit map when I need it. This may be an interesting area of pursuit for you. In the long run it may be a better option than trying to add a lot of information into the standard map where Garmin has just not provided space for it (alas, Garmin seems to be rather uninterested in public transportation).
The overlay is a great idea. I may explore it, once there are more route relations defined in Finland. Although I do not have any motor vehicle, I mostly use the bicycle and local train for my transportation needs. The bus network is too sparse near this suburb for my taste. Marko
participants (2)
-
Clinton Gladstone
-
Marko Mäkelä