|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.build.MapBuilder
public class MapBuilder
This is the core of the code to translate from the general representation into the garmin representation. We need to go through the data several times, once for each level, filter out features that are not required at the level and simplify paths for lower resolutions if required.
Constructor Summary | |
---|---|
MapBuilder()
|
Method Summary | |
---|---|
void |
config(EnhancedProperties props)
Used to mark that a reader needs to be configured by command line properties. |
void |
makeMap(Map map,
LoadableMapDataSource src)
Main method to create the map, just calls out to several routines that do the work. |
protected void |
processInfo(Map map,
LoadableMapDataSource src)
Set all the information that appears in the header. |
protected void |
processOverviews(Map map,
MapDataSource src)
Create the overview sections. |
void |
setDoRoads(boolean doRoads)
|
void |
setEnableLineCleanFilters(boolean enable)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapBuilder()
Method Detail |
---|
public void config(EnhancedProperties props)
Configurable
config
in interface Configurable
props
- The input properties.public void makeMap(Map map, LoadableMapDataSource src)
map
- The map.src
- The map data.protected void processOverviews(Map map, MapDataSource src)
map
- The map details.src
- The map data source.protected void processInfo(Map map, LoadableMapDataSource src)
map
- The map to write to.src
- The source of map information.public void setDoRoads(boolean doRoads)
public void setEnableLineCleanFilters(boolean enable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |