Changeset 448 for trunk/zoo-project


Ignore:
Timestamp:
Nov 25, 2013, 3:27:59 PM (11 years ago)
Author:
djay
Message:

Add support for srcWin in gdal translate service.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/gdal/translate/service.c

    r373 r448  
    145145      fprintf(stderr,"DEBUG pszDest : %s\n",pszDest);
    146146    }
     147
     148    tmpMap=NULL;
     149    tmpMap=getMapFromMaps(inputs,"SrcWin","value");
     150    if(tmpMap!=NULL){
     151      char *tmp=tmpMap->value;
     152      char *t=strtok(tmp,",");
     153      int cnt=0;
     154      while(t!=NULL){
     155        anSrcWin[cnt] = atoi(t);
     156        t=strtok(NULL,",");
     157        cnt++;
     158      }
     159    }   
     160
    147161    tmpMap=NULL;
    148162    tmpMap=getMapFromMaps(inputs,"ProjWin","value");
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