uk.me.parabola.mkgmap.osmstyle
Class MapFeatureReader
java.lang.Object
uk.me.parabola.mkgmap.osmstyle.MapFeatureReader
public class MapFeatureReader
- extends java.lang.Object
Read in a map-features file. This is the 'old' way of specifying styles.
It is also supported in the new styles and can be used as a base.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapFeatureReader
public MapFeatureReader()
readFeatures
public void readFeatures(java.io.BufferedReader in)
throws java.io.IOException
- Read the features from the file.
- Parameters:
in
- The open file.
- Throws:
java.io.IOException
- On any problems reading.
getPointFeatures
public java.util.Map<java.lang.String,GType> getPointFeatures()
getLineFeatures
public java.util.Map<java.lang.String,GType> getLineFeatures()
getShapeFeatures
public java.util.Map<java.lang.String,GType> getShapeFeatures()
setLevels
public void setLevels(LevelInfo[] levels)