|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.dataAccess.mapTile.TileGrabber.Builder
public static class TileGrabber.Builder
Field Summary | |
---|---|
protected boolean |
extraVerbose
|
protected boolean |
fill
|
protected int |
fromZoom
|
protected double |
maxlat
|
protected double |
maxlon
|
protected int |
maxx
|
protected int |
maxy
|
protected double |
minlat
|
protected double |
minlon
|
protected int |
minx
|
protected int |
miny
|
protected java.lang.String |
source
|
protected java.lang.String |
target
|
protected boolean |
tileBoundsSet
|
protected int |
toZoom
|
protected boolean |
verbose
|
Constructor Summary | |
---|---|
TileGrabber.Builder(java.lang.String source)
|
Method Summary | |
---|---|
protected boolean |
checkZoomLevel(int zoomLevel)
|
protected void |
fetchTilesForEsriGraphic(EsriGraphic eg)
|
protected void |
fetchTilesForEsriGraphicList(EsriGraphicList egl)
|
TileGrabber.Builder |
fromZoom(int zoomLevel)
|
protected int[] |
getTileBoundsForProjection(LatLonPoint ul,
LatLonPoint lr,
int z)
|
void |
go()
source: "http://192.168.99.100:32771/mapbox-studio-osm-bright/{z}/{x}/{y}.png" target: "/Users/dietrick/Downloads/st_osm_tiles" |
void |
go(java.lang.String shapefile)
|
boolean |
isFill()
Check whether the build process will only fetch tiles that don't exist. |
void |
maxlat(double parsed)
set upper latitude of fetching |
void |
maxlon(double parsed)
set upper longitude of fetching |
void |
maxx(int parseInt)
Set the ending y number of the subjar file to create. |
void |
maxy(int parseInt)
Set the ending y number of the subjar file to create. |
void |
minlat(double parsed)
set lower latitude of fetching |
void |
minlon(double parsed)
set lower longitude of fetching |
void |
minx(int parseInt)
Set the starting x number of the subjar file to create. |
void |
miny(int parseInt)
Set the starting y number of the subjar file to create. |
void |
setFill(boolean fill)
Set whether the build process will only fetch tiles that don't exist. |
TileGrabber.Builder |
targetFile(java.lang.String targetFile)
|
java.lang.String |
toString()
|
TileGrabber.Builder |
toZoom(int zoomLevel)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String source
protected java.lang.String target
protected int fromZoom
protected int toZoom
protected int minx
protected int miny
protected int maxx
protected int maxy
protected double minlon
protected double minlat
protected double maxlon
protected double maxlat
protected boolean fill
protected boolean verbose
protected boolean extraVerbose
protected boolean tileBoundsSet
Constructor Detail |
---|
public TileGrabber.Builder(java.lang.String source) throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public TileGrabber.Builder targetFile(java.lang.String targetFile)
public TileGrabber.Builder fromZoom(int zoomLevel) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public TileGrabber.Builder toZoom(int zoomLevel) throws java.lang.NumberFormatException
java.lang.NumberFormatException
protected boolean checkZoomLevel(int zoomLevel)
public java.lang.String toString()
toString
in class java.lang.Object
protected int[] getTileBoundsForProjection(LatLonPoint ul, LatLonPoint lr, int z)
public void go() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void go(java.lang.String shapefile) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
protected void fetchTilesForEsriGraphicList(EsriGraphicList egl) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
protected void fetchTilesForEsriGraphic(EsriGraphic eg) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public void minx(int parseInt)
parseInt
- public void miny(int parseInt)
parseInt
- public void maxx(int parseInt)
parseInt
- public void maxy(int parseInt)
parseInt
- public void minlon(double parsed)
parsed
- public void minlat(double parsed)
parsed
- public void maxlon(double parsed)
parsed
- public void maxlat(double parsed)
parsed
- public boolean isFill()
public void setFill(boolean fill)
fill
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |