﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2806	[PATCH] highway=unclassified not showing warning when unnamed	delta_foxtrot2	team	"There is a lot of roads I'd consider highway=unclassified in Australia and most of these are named, even if the data isn't in OSM's database yet.

It's be nice to show these, except if access=private

To achieve this one solution I came up with was in tests/UntaggedWay.java at line 48 I added the following line:
{{{
NAMED_WAYS.add( ""unclassified"" );
}}}
Then at line 74 I changed this:
{{{
                    boolean hasName = false;
                    for( String key : w.keySet())
                    {
                        hasName = key.startsWith(""name:"") || key.endsWith(""_name"") || key.endsWith(""_ref"");
                        if( hasName )
                            break;
                    }

                    if( !hasName )
}}}
to be:
{{{
                    boolean isPrivate = false;
                    boolean hasName = false;
                    for( String key : w.keySet())
                    {
                        hasName = key.startsWith(""name:"") || key.endsWith(""_name"") || key.endsWith(""_ref"");
                        if( hasName )
                            break;
                        if(key.equals(""access""))
                        {
                            isPrivate = w.get(""access"").equals(""private"");
                            break;
                        }
                    }

                    if( !hasName && !isPrivate)
}}}"	enhancement	closed	major		Core validator		fixed		delta_foxtrot@…
