Ignore:
Timestamp:
Feb 6, 2015, 5:14:27 PM (6 years ago)
Author:
djay
Message:

Fixes for OTB support. Add --with-itk and --with-itk-version options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_otb.c

    r550 r555  
    2424
    2525#include "service_internal_otb.h"
    26 #include "otbWrapperInputImageListParameter.h"
    2726#include <vector>
    2827#include <string>
     
    4039
    4140int zoo_otb_support(maps** main_conf,map* request,service* s,maps **real_inputs,maps **real_outputs){
    42   char *pythonpath;
    43   char *python_path;
    4441  maps* m=*main_conf;
    4542  maps* inputs=*real_inputs;
    4643  maps* outputs=*real_outputs;
    47   map* tmp0=getMapFromMaps(*main_conf,"lenv","cwd");
    48   char *ntmp=tmp0->value;
    4944  map* tmp=NULL;
    5045  int res=-1;
     
    182177                    int len=atoi(tmpPath->value);
    183178                    for(int k=1;k<len;k++){
    184                       char tmp[10];
     179                      char tmp[15];
    185180                      sprintf(tmp,"cache_file_%d",k);
    186181                      map* tmpVal=getMapFromMaps(inputs,paramKey.c_str(),tmp);
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