Ignore:
Timestamp:
May 7, 2019, 2:17:08 PM (6 years ago)
Author:
djay
Message:

Merge prototype-v0 branch in trunk

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/zoo-project/zoo-services/gdal/dem/cgi-env/Gdal_Dem.zcfg

    r412 r917  
    4444    <Default />
    4545   </LiteralData>
     46  [co]
     47   Title = Creation Option
     48   Abstract = string representing options (NAME=VALUE)
     49   minOccurs = 0
     50   maxOccurs = 1
     51   <LiteralData>
     52    DataType = string
     53    <Default />
     54   </LiteralData>
    4655 </DataInputs>
    4756 <DataOutputs>
  • trunk/zoo-project/zoo-services/gdal/dem/service.c

    r444 r917  
    24862486      setMapInMaps(outputs,"Result","value",tmpMap->value);
    24872487    }
     2488   
     2489    tmpMap=getMapFromMaps(inputs,"co","value");
     2490    if(tmpMap!=NULL){
     2491      papszCreateOptions = CSLAddString( papszCreateOptions, tmpMap->value ); 
     2492      map* tmpMap1;
     2493      maps* tmpMaps=getMaps(inputs,"co");
     2494      if((tmpMap1=getMapFromMaps(inputs,"co","length"))!=NULL){
     2495        int i=1;
     2496        int length=atoi(tmpMap1->value);
     2497        for(;i<length;i++){
     2498          tmpMap=getMapArray(tmpMaps->content,"value",i);
     2499          papszCreateOptions = CSLAddString( papszCreateOptions, tmpMap->value );
     2500        }
     2501      }
     2502    }   
    24882503
    24892504    tmpMap=NULL;
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