|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Style
A style converts an OSM element into a garmin element. You start with an OSM element which is just a bunch of name/value tags and you need to convert this to the information required by the .img format which is basically just a name and an integer type. You also need to know at what zoom levels to show the element at. The Style interface holds the rules for doing this.
Method Summary | |
---|---|
void |
applyOptionOverride(java.util.Properties config)
After the style is loaded we override any options that might have been set in the style itself with the command line options. |
StyleInfo |
getInfo()
|
Rule |
getLineRules()
Get the rules that apply to lines. |
java.lang.String[] |
getNameTagList()
|
Rule |
getNodeRules()
Get the rules that apply to nodes. |
java.lang.String |
getOption(java.lang.String name)
|
LineAdder |
getOverlays(LineAdder lineAdder)
Get the overlay definitions. |
Rule |
getPolygonRules()
Get the rules that apply to polygons. |
Rule |
getRelationRules()
Get the relation rules. |
java.util.Set<java.lang.String> |
getUsedTags()
Get the tags that are used by this style. |
Rule |
getWayRules()
Get the rules that apply to ways. |
Method Detail |
---|
java.lang.String[] getNameTagList()
java.lang.String getOption(java.lang.String name)
StyleInfo getInfo()
void applyOptionOverride(java.util.Properties config)
config
- The command line options.Rule getWayRules()
Rule getNodeRules()
Rule getLineRules()
Rule getPolygonRules()
Rule getRelationRules()
LineAdder getOverlays(LineAdder lineAdder)
java.util.Set<java.lang.String> getUsedTags()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |