public class PortlandCustomNamer extends Object implements CustomNamer
CustomNamer.CustomNamerFactory
Modifier and Type | Field and Description |
---|---|
static String[] |
PATH_WORDS |
static String[] |
STREET_SUFFIXES |
Constructor and Description |
---|
PortlandCustomNamer() |
Modifier and Type | Method and Description |
---|---|
void |
configure(com.fasterxml.jackson.databind.JsonNode config) |
String |
name(OSMWithTags way,
String defaultName) |
void |
nameWithEdge(OSMWithTags way,
StreetEdge edge) |
void |
postprocess(Graph graph) |
public static String[] STREET_SUFFIXES
public static String[] PATH_WORDS
public String name(OSMWithTags way, String defaultName)
name
in interface CustomNamer
public void nameWithEdge(OSMWithTags way, StreetEdge edge)
nameWithEdge
in interface CustomNamer
public void postprocess(Graph graph)
postprocess
in interface CustomNamer
public void configure(com.fasterxml.jackson.databind.JsonNode config)
configure
in interface CustomNamer
Copyright © 2018. All rights reserved.