|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadableMapDataSource
A source of map information in a standard format. The OSM reader presents
this interface to the main map making program. OSM concepts are converted
into Garmin map based structures such as MapLine
.
Note that it does not reference anything from the imgfmt package that
relies on subdivisions. In other words it does not directly reference
Point or Polyline as they depend on the subdivision they are in. It
can refer to Coord and Overview however as they have global meaning.
Method Summary | |
---|---|
java.lang.String[] |
copyrightMessages()
Get a suitable copyright message for this map source. |
boolean |
isFileSupported(java.lang.String name)
Determines if the file (or other resource) is supported by this map data source. |
void |
load(java.lang.String name)
Load map by name. |
LevelInfo[] |
mapLevels()
Get the map levels for this map. |
Methods inherited from interface uk.me.parabola.mkgmap.general.MapDataSource |
---|
getBounds, getLines, getOverviews, getPoints, getRoadNetwork, getShapes |
Methods inherited from interface uk.me.parabola.util.Configurable |
---|
config |
Method Detail |
---|
boolean isFileSupported(java.lang.String name)
name
- The file (or other resource) to check.
void load(java.lang.String name) throws java.io.FileNotFoundException, FormatException
name
- The name of the resource to be loaded.
java.io.FileNotFoundException
- When the file or resource is not found.
FormatException
- For any kind of malformed input.LevelInfo[] mapLevels()
Note that it does not include the top empty level as we will always generate that in the main program automatically.
java.lang.String[] copyrightMessages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |