Changeset 372 for trunk/zoo-project/zoo-services
- Timestamp:
- Oct 15, 2012, 4:40:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/gdal/translate/service.c
r369 r372 171 171 } 172 172 173 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 173 174 tmpMap=NULL; 174 175 tmpMap=getMapFromMaps(inputs,"GCP","value"); 175 if(tmpMap!=NULL ){176 if(tmpMap!=NULL && strncasecmp(tmpMap->value,"NULL",4)!=0){ 176 177 map* length=getMapFromMaps(inputs,"GCP","length"); 177 178 int len=0; … … 256 257 } 257 258 259 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 258 260 tmpMap=NULL; 259 261 tmpMap=getMapFromMaps(inputs,"SRS","value"); … … 298 300 } 299 301 302 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 300 303 if( pszDest == NULL ){ 301 304 fprintf(stderr,"exit line 416"); … … 307 310 } 308 311 312 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 309 313 if ( strcmp(pszSource, pszDest) == 0) 310 314 { … … 317 321 } 318 322 323 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 319 324 /* ----------------------------------------------------------------- */ 320 325 /* Attempt to open source file. */ … … 322 327 323 328 hDataset = GDALOpenShared( pszSource, GA_ReadOnly ); 329 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 324 330 325 331 if( hDataset == NULL ){ … … 332 338 } 333 339 340 fprintf(stderr,"DEBUG pszDest : %s %d\n",pszDest,__LINE__); 334 341 /* ----------------------------------------------------------------- */ 335 342 /* Handle subdatasets. */
Note: See TracChangeset
for help on using the changeset viewer.