Ignore:
Timestamp:
Nov 21, 2017, 10:24:14 AM (6 years ago)
Author:
djay
Message:

HPC support update. Add inputs for create options in Gdal_Dem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/service.c

    r850 r854  
    11721172    tmp->name=zStrdup(cursor->name);
    11731173    tmp->content=NULL;
    1174     addMapToMap(&tmp->content,e->content);
     1174    addMapToMap(&tmp->content,cursor->content);
    11751175    tmp->metadata=NULL;
    1176     addMapToMap(&tmp->metadata,e->metadata);
     1176    addMapToMap(&tmp->metadata,cursor->metadata);
    11771177    tmp->additional_parameters=NULL;
    1178     addMapToMap(&tmp->additional_parameters,e->additional_parameters);
    1179     if(e->format!=NULL)
    1180       tmp->format=zStrdup(e->format);
     1178    addMapToMap(&tmp->additional_parameters,cursor->additional_parameters);
     1179    if(cursor->format!=NULL)
     1180      tmp->format=zStrdup(cursor->format);
    11811181    else
    11821182      tmp->format=NULL;
    1183     if(e->defaults!=NULL){
     1183    if(cursor->defaults!=NULL){
    11841184      tmp->defaults=(iotype*)malloc(IOTYPE_SIZE);
    11851185      tmp->defaults->content=NULL;
    1186       addMapToMap(&tmp->defaults->content,e->defaults->content);
     1186      addMapToMap(&tmp->defaults->content,cursor->defaults->content);
    11871187      tmp->defaults->next=NULL;
    11881188#ifdef DEBUG
     
    11921192    }else
    11931193      tmp->defaults=NULL;
    1194     if(e->supported!=NULL){
     1194    if(cursor->supported!=NULL && cursor->supported->content!=NULL){
    11951195      tmp->supported=(iotype*)malloc(IOTYPE_SIZE);
    11961196      tmp->supported->content=NULL;
    1197       addMapToMap(&tmp->supported->content,e->supported->content);
     1197      addMapToMap(&tmp->supported->content,cursor->supported->content);
    11981198      tmp->supported->next=NULL;
    1199       iotype *tmp2=e->supported->next;
     1199      iotype *tmp2=cursor->supported->next;
    12001200      while(tmp2!=NULL){
    12011201        addMapToIoType(&tmp->supported,tmp2->content);
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