public class SpatialDataDownloader extends Object
Constructor and Description |
---|
SpatialDataDownloader(org.wikibrain.conf.Configuration config) |
SpatialDataDownloader(Env env) |
SpatialDataDownloader(SpatialDataFolder dir) |
Modifier and Type | Method and Description |
---|---|
WikiBrainShapeFile |
download(String refSysName,
String layerGroup,
String datasetName) |
WikiBrainShapeFile |
download(String refSysName,
String layerGroup,
String datasetName,
boolean mappingRequired) |
WikiBrainShapeFile |
download(URL url,
String zipShp,
String refSystem,
String layerGroup,
String name,
String encoding) |
void |
downloadMapping(URL mappingUrl,
WikiBrainShapeFile shapeFile) |
public SpatialDataDownloader(SpatialDataFolder dir)
public SpatialDataDownloader(org.wikibrain.conf.Configuration config)
public SpatialDataDownloader(Env env)
public WikiBrainShapeFile download(URL url, String zipShp, String refSystem, String layerGroup, String name, String encoding) throws InterruptedException, IOException
InterruptedException
IOException
public WikiBrainShapeFile download(String refSysName, String layerGroup, String datasetName, boolean mappingRequired) throws InterruptedException, IOException
InterruptedException
IOException
public WikiBrainShapeFile download(String refSysName, String layerGroup, String datasetName) throws InterruptedException, IOException
InterruptedException
IOException
public void downloadMapping(URL mappingUrl, WikiBrainShapeFile shapeFile) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2015. All rights reserved.