class InputDataFormatting extends groovy.lang.Script
| Constructor and description |
|---|
InputDataFormatting() |
InputDataFormatting(groovy.lang.Binding context) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
formatBuildingLayer(JdbcDataSource datasource, java.lang.String building, java.lang.String zone, java.lang.String urban_areas, float h_lev_min)This process is used to format the BDTopo buildings table into a table that matches the constraints of the geoClimate Input Model |
|
java.lang.String |
formatHydroLayer(JdbcDataSource datasource, java.lang.String water, java.lang.String zone)This process is used to transform the raw hydro table into a table that matches the constraints of the geoClimate Input Model |
|
java.lang.String |
formatImperviousLayer(H2GIS datasource, java.lang.String impervious)This process is used to transform the BDTopo impervious table into a table that matches the constraints of the geoClimate Input Model |
|
java.lang.String |
formatRailsLayer(JdbcDataSource datasource, java.lang.String rail, java.lang.String zone)This process is used to transform the raw rails table into a table that matches the constraints of the geoClimate Input Model |
|
java.lang.String |
formatRoadLayer(JdbcDataSource datasource, java.lang.String road, java.lang.String zone)This process is used to transform the BDTopo roads table into a table that matches the constraints of the geoClimate Input Model |
|
java.lang.String |
formatVegetationLayer(JdbcDataSource datasource, java.lang.String vegetation, java.lang.String zone)This process is used to transform the raw vegetation table into a table that matches the constraints of the geoClimate Input Model |
|
static java.lang.String[] |
getTypeAndUse(java.lang.Object main_type, java.lang.Object main_use, java.lang.Object types_and_uses)Return the type and the use by looking in a dictionary of values |
|
static void |
main(java.lang.String[] args) |
|
java.lang.Object |
run() |
|
java.lang.String |
setAliasOnColumns(java.lang.String tableName)@return |
| 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 format the BDTopo buildings table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the raw buildings tablebuilding - The name of the raw buildings table in the DBhLevMin - Minimum building level heightThis process is used to transform the raw hydro table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the raw hydro tablewater - The name of the raw hydro table in the DBThis process is used to transform the BDTopo impervious table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the impervious tableimpervious - The name of the impervious table in the DBThis process is used to transform the raw rails table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the raw rails tablerail - The name of the raw rails table in the DBThis process is used to transform the BDTopo roads table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the raw roads tableroad - The name of the raw roads table in the DBThis process is used to transform the raw vegetation table into a table that matches the constraints of the geoClimate Input Model
datasource - A connexion to a DB containing the raw vegetation tablevegetation - The name of the raw vegetation table in the DBReturn the type and the use by looking in a dictionary of values
main_type - the original typemain_use - the original main usetypes_and_uses - the dictionnary of values@return