class InputDataLoading extends groovy.lang.Script
| Constructor and description |
|---|
InputDataLoading() |
InputDataLoading(groovy.lang.Binding context) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.util.Map |
createGISLayers(JdbcDataSource datasource, java.lang.String osmFilePath, int epsg)This process is used to create the GIS layers from an OSM xml file |
|
java.util.Map |
createGISLayers(JdbcDataSource datasource, java.lang.String osmFilePath, Geometry geometry, int epsg)This process is used to create the GIS layers from an OSM xml file |
|
java.util.Map |
extractAndCreateGISLayers(JdbcDataSource datasource, java.lang.Object zoneToExtract, float distance, boolean downloadAllOSMData)This process is used to create the GIS layers using the Overpass API |
|
static void |
main(java.lang.String[] args) |
|
static java.lang.Object |
readJSONParameters(java.lang.Object jsonFile)Parse a json file to a Map |
|
java.lang.Object |
run() |
| Methods inherited from class | Name |
|---|---|
class groovy.lang.Script |
groovy.lang.Script#println(java.lang.Object), groovy.lang.Script#println(), groovy.lang.Script#run(java.io.File, [Ljava.lang.String;), groovy.lang.Script#run(), groovy.lang.Script#getProperty(java.lang.String), groovy.lang.Script#printf(java.lang.String, java.lang.Object), groovy.lang.Script#printf(java.lang.String, [Ljava.lang.Object;), groovy.lang.Script#setProperty(java.lang.String, java.lang.Object), groovy.lang.Script#print(java.lang.Object), groovy.lang.Script#evaluate(java.lang.String), groovy.lang.Script#evaluate(java.io.File), groovy.lang.Script#getBinding(), groovy.lang.Script#setBinding(groovy.lang.Binding), groovy.lang.Script#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.Script#getMetaClass(), groovy.lang.Script#setMetaClass(groovy.lang.MetaClass), groovy.lang.Script#wait(long, int), groovy.lang.Script#wait(), groovy.lang.Script#wait(long), groovy.lang.Script#equals(java.lang.Object), groovy.lang.Script#toString(), groovy.lang.Script#hashCode(), groovy.lang.Script#getClass(), groovy.lang.Script#notify(), groovy.lang.Script#notifyAll() |
This process is used to create the GIS layers from an OSM xml file
datasource - A connexion to a DB to load the OSM fileosmFilePath - a path to the OSM xml fileepsg - code to reproject the GIS layers, default is -1This process is used to create the GIS layers from an OSM xml file
datasource - A connexion to a DB to load the OSM fileosmFilePath - a path to the OSM xml fileepsg - code to reproject the GIS layers, default is -1This process is used to create the GIS layers using the Overpass API
datasource - A connexion to a DB to load the OSM filezoneToExtract - A zone to extract.
Can be, a name of the place (neighborhood, city, etc. - cf https://wiki.openstreetmap.org/wiki/Key:level)
or a bounding box specified as a JTS envelopedistance - in meters to expand the envelope of the query box. Default is 0Parse a json file to a Map @return