Ticket #6143: place-name.patch

File place-name.patch, 872 bytes (added by Zverikk, 15 years ago)

Add place_name to the list of naming tags

  • openstreetmap/josm/gui/DefaultNameFormatter.java

     
    4949    }
    5050
    5151    /** the default list of tags which are used as naming tags in relations */
    52     static public final String[] DEFAULT_NAMING_TAGS_FOR_RELATIONS = {"name", "ref", "restriction", "landuse", "natural",
    53     "public_transport", ":LocationCode", "note"};
     52    static public final String[] DEFAULT_NAMING_TAGS_FOR_RELATIONS = {"name", "place_name", "ref", "restriction",
     53    "landuse", "natural", "public_transport", ":LocationCode", "note"};
    5454
    5555    /** the current list of tags used as naming tags in relations */
    5656    static private List<String> namingTagsForRelations =  null;