Changeset 984 for trunk/thirds/otb2zcfg


Ignore:
Timestamp:
Mar 3, 2021, 3:41:55 PM (4 years ago)
Author:
djay
Message:

Take into account building ZOO-Project on ubuntu focal (cf. https://trac.osgeo.org/osgeolive/ticket/2282). Add the OTB and SAGA support to the Dockerfile to make the corresponding demos using docker WPS server. Add OGC API - Processes demo to the demos list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/thirds/otb2zcfg/otb2zcfg.cxx

    r917 r984  
    222222          if(type == ParameterType_StringList || type == ParameterType_String || type == ParameterType_Float
    223223             || type == ParameterType_Int || type == ParameterType_Choice || type == ParameterType_ListView
    224              || type == ParameterType_RAM || type == ParameterType_Empty || type == ParameterType_Directory){
     224             || type == ParameterType_RAM || type == ParameterType_Directory){
    225225            std::cout << "   <LiteralData>" << std::endl;
    226226            std::string lt;
     
    233233               || type == ParameterType_ListView)
    234234              lt="string";
    235             if(type == ParameterType_Empty)
    236               lt="boolean";
    237235            std::cout << "    dataType = " << lt << std::endl;
    238236            if(type == ParameterType_Choice || type == ParameterType_ListView){
     
    281279            }
    282280            else{
    283               if(type == ParameterType_ComplexOutputImage){
    284                 printOutputComplexImage(m_Application->GetParameterComplexOutputImagePixelType(paramKey));
    285               }else{
     281              {
    286282                std::cout << "   <ComplexData>" << std::endl;
    287                 if(type == ParameterType_InputImage || type == ParameterType_InputImageList || type == ParameterType_ComplexInputImage){
     283                if(type == ParameterType_InputImage || type == ParameterType_InputImageList){
    288284                  printImages();
    289285                }
     
    338334        if(paramKey!="inxml" && paramKey!="outxml" &&
    339335           ((type == ParameterType_OutputVectorData || type == ParameterType_OutputImage
    340              || type == ParameterType_OutputImage || type == ParameterType_ComplexOutputImage
     336             || type == ParameterType_OutputImage
    341337             || type == ParameterType_OutputFilename) || role==1) && type != ParameterType_Group){
    342338          hasOutput=1;
     
    356352          }
    357353
    358           if(type == ParameterType_OutputImage || type == ParameterType_ComplexOutputImage){
     354          if(type == ParameterType_OutputImage){
    359355            std::cout << "   <ComplexData>" << std::endl;
    360356            printImages();
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png