Changeset 434 for trunk/zoo-project
- Timestamp:
- Jul 6, 2013, 10:43:07 AM (11 years ago)
- Location:
- trunk/zoo-project
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/HISTORY.txt
r433 r434 2 2 * Fix POST Request issue (ticket #34) 3 3 * Fix COOKIE gesture (ticket #79) 4 * Remove verbose messages when using MapServer W*S (ticket #80) 5 * Add COMMITTERS and LICENSE files 4 6 5 7 Version 1.3.0-rc1 -
trunk/zoo-project/LICENSE
r428 r434 10 10 11 11 Copyright (c) 2009-2013 GeoLabs SARL 12 Copyright 2010-2011 Fondazione Edmund Mach. All rights reserved. 12 13 13 14 Permission is hereby granted, free of charge, to any person obtaining a copy -
trunk/zoo-project/zoo-kernel/service_internal_ms.c
r402 r434 118 118 char options[3][5][25]={ 119 119 {"WMS","1.3.0","GetMap","layers=%s","wms_extent"}, 120 {"WFS","1.1.0","GetFeature","typename=%s","w ms_extent"},120 {"WFS","1.1.0","GetFeature","typename=%s","wcs_extent"}, 121 121 {"WCS","1.1.0","GetCoverage","coverage=%s","wcs_extent"} 122 122 }; … … 328 328 sprintf(tmpExtent,"%.3f,%.3f,%.3f,%.3f",min.y,min.x,max.y,max.x); 329 329 map* isGeo=getMap(output->content,"crs_isGeographic"); 330 #ifdef DEBUGMS 330 331 fprintf(stderr,"isGeo = %s\n",isGeo->value); 332 #endif 331 333 if(isGeo!=NULL && strcasecmp("true",isGeo->value)==0) 332 334 sprintf(tmpExtent,"%f,%f,%f,%f", minY,minX, maxY, maxX); … … 338 340 map* isGeo=getMap(output->content,"crs_isGeographic"); 339 341 if(isGeo!=NULL){ 342 #ifdef DEBUGMS 340 343 fprintf(stderr,"isGeo = %s\n",isGeo->value); 344 #endif 341 345 if(isGeo!=NULL && strcasecmp("true",isGeo->value)==0) 342 346 sprintf(tmpExtent,"%f,%f,%f,%f", minY,minX, maxY, maxX); … … 396 400 fclose(fileZ); 397 401 free(buffer); 402 #ifdef DEBUGMS 398 403 fprintf(stderr,"Try loading %s",dsName); 404 #endif 399 405 poDS1 = OGROpen( dsName, FALSE, poDriver1 ); 400 406 if( poDS1 == NULL ){ … … 403 409 OGR_DS_Destroy(poDS1); 404 410 }else{ 411 #ifdef DEBUGMS 405 412 fprintf(stderr,"The DataSource is a ZIP File\n"); 413 #endif 406 414 char** demo=VSIReadDir(dsName); 407 415 int i=0; … … 412 420 ); 413 421 while(demo[i]!=NULL){ 422 #ifdef DEBUGMS 414 423 fprintf(stderr,"ZIP File content : %s\n",demo[i]); 424 #endif 415 425 char *tmpDs=(char*)malloc((strlen(dsName)+strlen(demo[i])+2)*sizeof(char)); 416 426 sprintf(tmpDs,"%s/%s",dsName,demo[i]); … … 418 428 419 429 VSILFILE* vsif=VSIFOpenL(tmpDs,"rb"); 430 #ifdef DEBUGMS 420 431 fprintf(stderr,"open : %s\n",tmpDs); 432 #endif 421 433 VSIFSeekL(vsif,0,SEEK_END); 422 434 int size=VSIFTellL(vsif); 435 #ifdef DEBUGMS 423 436 fprintf(stderr,"size : %d\n",size); 437 #endif 424 438 VSIFSeekL(vsif,0,SEEK_SET); 425 439 char *vsifcontent=(char*) malloc((size+1)*sizeof(char)); … … 435 449 tmpP=strstr(fpath,".SHP"); 436 450 if(tmpP!=NULL){ 451 #ifdef DEBUGMS 437 452 fprintf(stderr,"*** DEBUG %s\n",strstr(tmpP,".")); 453 #endif 438 454 if( strcmp(tmpP,".shp")==0 || strcmp(tmpP,".SHP")==0 ){ 439 455 tmpMap=getMap(output->content,"storage"); … … 442 458 sprintf(tmpMap->value,"%s",fpath); 443 459 pszDataSource=tmpMap->value; 460 #ifdef DEBUGMS 444 461 fprintf(stderr,"*** DEBUG %s\n",pszDataSource); 462 #endif 445 463 } 446 464 } … … 490 508 491 509 layerObj* myLayer=m->layers[m->numlayers]; 510 #ifdef DEBUGMS 492 511 dumpMaps(output); 512 #endif 493 513 myLayer->name = strdup(output->name); 494 514 myLayer->tileitem=NULL;
Note: See TracChangeset
for help on using the changeset viewer.