| | |
| | | _convertFile = dataMap.getString(CONVERTFILE); |
| | | _elementLogging = dataMap.getString(ELEMLOG); |
| | | |
| | | Log logger = getLogger(); |
| | | logger.info("SHPDATA_DIR=" + _dataPath); |
| | | logger.info("CONFSHPFILTER=" + _filterPath); |
| | | logger.info("ORAHOST=" + _oracleHost); |
| | | logger.info("ORAINST=" + _oracleInstance); |
| | | logger.info("ORAPORT=" + _oraclePort); |
| | | logger.info("ORAUSER=" + _username); |
| | | logger.info("ORAPASS=" + _password); |
| | | logger.info("CONVERTDB=" + _convertDB); |
| | | logger.info("CONVERTFILE=" + _convertFile); |
| | | logger.info("ELEMLOG=" + _elementLogging); |
| | | |
| | | String strSchema = dataMap.getString(SPATAILSCHEMA); |
| | | StringTokenizer st = new StringTokenizer(strSchema, ","); |
| | | while (st.hasMoreTokens()) |
| | |
| | | // Validate the required input |
| | | if (_dataPath == null) |
| | | { |
| | | Log logger = getLogger(); |
| | | if (logger != null) |
| | | { |
| | | logger.warn("Cannot found data directory in configarion."); |
| | |
| | | File dir = new File(_dataPath); |
| | | if (!dir.exists()) |
| | | { |
| | | Log logger = getLogger(); |
| | | logger = getLogger(); |
| | | if (logger != null) |
| | | { |
| | | logger.warn("Cannot found data directory in file system.[" + _dataPath + "]"); |