@Override public void performWork( String work ,AttachmentDescriptor attDescription ) throws Exception { logger.debug("GeoJSON start perform work: "+work); if( work == FileConversionPlugin.WORK_ANALYZE ) { analyzeFile(attDescription); } else if( work == FileConversionPlugin.WORK_APPROVE ) { approveFile(attDescription); } else { throw new Exception("Plugin can not perform work: "+work); } logger.debug("GeoJSON end perform work: "+work); }
logger.debug("Creating geojson feature: "+count); uploadFeature(feature, approvedContext);
uploadWorker.addConversionPlugin( new GeoJsonFileConverter() );