[OSM-talk-ie] Web page map of Dublin Streets but with name:ga shown.

Andy Townsend ajt1047 at gmail.com
Wed Aug 11 11:55:58 UTC 2021


On 11/08/2021 12:31, Brian Hollinshead wrote:
> Just wondering, on a scale of 1 to 10 how hard that might be to do? Perhaps
> with only streets shown.
>
If you want "the same map style as the standard map at osm.org", but 
with "name:ga" used in place of "name" where it exists in the OSM data, 
then you'd need to:

1) Follow one of the "serving tiles" options at 
https://switch2osm.org/serving-tiles/

2) Change the default lua tag transformation script to include something 
like:

    if ( keyvalues["name:ga"] ~= nil ) then
       keyvalues["name"] = keyvalues["name:ga"]
       keyvalues["name:ga"] = nil
    end

3) Load data based on Dublin (or Ireland - it's not that big)

This will work both with the initial data load and "minutely updates" - 
so you'll be able to see more "name:ga" as people add them.

Separately to this I did write a diary entry 
https://www.openstreetmap.org/user/SomeoneElse/diary/42069 for how I 
handle name:cy and name:gd at map.atownsend.org.uk/ , but that's _way_ 
more complicated than what you want for this.

Another example is https://openstreetmap.cymru/ - that's a map that only 
shows Welsh names, but it's fairly empty where welsh names are rare 
(which might be exactly what you want of course).

At a rough guess you'd be looking at paying from about €11 a month for a 
server for it.

Best Regards,

Andy





More information about the Talk-ie mailing list