Changeset 776 for trunk/zoo-project


Ignore:
Timestamp:
Jun 14, 2016, 3:03:20 PM (3 years ago)
Author:
djay
Message:

Add the default EPSG:3857 to supported srs in ms export.

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

Legend:

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

    r771 r776  
    7979      sprintf(classpath,"%s/",ntmp);
    8080    }
    81 
    8281  }
    8382  sprintf(oclasspath,"-Djava.class.path=%s",classpath);
  • trunk/zoo-project/zoo-kernel/service_internal_ms.c

    r760 r776  
    262262       
    263263        char tmpSrss[256];
    264         sprintf(tmpSrss,"EPSG:4326 EPSG:900913 %s",tmpSrs);
     264        sprintf(tmpSrss,"EPSG:4326 EPSG:900913 EPSG:3857 %s",tmpSrs);
    265265       
    266266        msInsertHashTable(&(m->web.metadata), "ows_srs", tmpSrss);
     
    305305          addToMap(output->content,"real_extent","true");
    306306        }
    307         msInsertHashTable(&(m->web.metadata),"ows_srs", "EPSG:4326 EPSG:900913");
    308         msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913");
     307        msInsertHashTable(&(m->web.metadata),"ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
     308        msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
    309309      }
    310310    }
     
    318318      msLoadProjectionStringEPSG(&myLayer->projection,msSrs->value);
    319319      char tmpSrs[128];
    320       sprintf(tmpSrs,"%s EPSG:4326 EPSG:900913",msSrs->value);
     320      sprintf(tmpSrs,"%s EPSG:4326 EPSG:900913 EPSG:3857",msSrs->value);
    321321      msInsertHashTable(&(m->web.metadata),"ows_srs",tmpSrs);
    322322      msInsertHashTable(&(myLayer->metadata),"ows_srs",tmpSrs);
     
    324324      msLoadProjectionStringEPSG(&m->projection,"EPSG:4326");
    325325      msLoadProjectionStringEPSG(&myLayer->projection,"EPSG:4326");
    326       msInsertHashTable(&(m->web.metadata),"ows_srs","EPSG:4326 EPSG:900913");
    327       msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913");
     326      msInsertHashTable(&(m->web.metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
     327      msInsertHashTable(&(myLayer->metadata),"ows_srs","EPSG:4326 EPSG:900913 EPSG:3857");
    328328    }
    329329    if(output!=NULL){
     
    634634      addToMap(output->content,"crs_isGeographic","true");
    635635      msLoadProjectionStringEPSG(&m->projection,"EPSG:4326");
    636       msInsertHashTable(&(m->web.metadata), "ows_srs", "EPSG:4326 EPSG:900913");
    637       msInsertHashTable(&(myLayer->metadata), "ows_srs", "EPSG:4326 EPSG:900913");
     636      msInsertHashTable(&(m->web.metadata), "ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
     637      msInsertHashTable(&(myLayer->metadata), "ows_srs", "EPSG:4326 EPSG:900913 EPSG:3857");
    638638    }
    639639
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