Ignore:
Timestamp:
Jul 24, 2012, 12:46:26 PM (7 years ago)
Author:
djay
Message:

Add real_extent and create a new maps if not existing in setMapInMaps

Location:
trunk/zoo-project/zoo-kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.h

    r360 r361  
    701701        addToMap(_tmpm->content,subkey,value);
    702702      }
     703    }else{
     704      maps *tmp=(maps*)malloc(MAPS_SIZE);
     705      tmp->name=strdup(key);
     706      tmp->content=createMap(subkey,value);
     707      tmp->next=NULL;
     708      addMapsToMaps(&m,tmp);
     709      freeMaps(&tmp);
     710      free(tmp);
    703711    }
    704712  }
  • trunk/zoo-project/zoo-kernel/service_internal_ms.c

    r360 r361  
    223223      if(output!=NULL){
    224224        addToMap(output->content,"crs","EPSG:4326");
     225        addToMap(output->content,"real_extent","true");
    225226      }
    226227      msInsertHashTable(&(m->web.metadata),"ows_srs", "EPSG:4326 EPSG:900913");
    227228      msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913");
    228229
    229       addToMap(output->content,"real_extent","true");
    230230
    231231    }
  • trunk/zoo-project/zoo-kernel/ulinet.c

    r348 r361  
    261261#ifdef ULINET_DEBUG
    262262    fprintf(stderr,"** (%s) %d **\n",lpszHeaders,dwHeadersLength);
     263    curl_easy_setopt(hInternet.handle,CURLOPT_VERBOSE,1);
    263264#endif
    264265    curl_easy_setopt(hInternet.handle,CURLOPT_POSTFIELDS,lpszHeaders);
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