Commit 70d02e03a446f971cabeb97e5dd0f9bd8fce7639

Authored by Edmar Moretti
1 parent 5e816289
Exists in master

V50 - alteração em ogc.php para informar um formato default quando a requisição for vazia

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
ogc.php
... ... @@ -801,6 +801,10 @@ if(isset($OUTPUTFORMAT)){
801 801 }
802 802 }
803 803 ms_ioinstallstdouttobuffer();
  804 +//verifica parametro outputformat
  805 +if(strtolower($req->getValueByName("REQUEST")) == "getmap" && $req->getValueByName("format") == ""){
  806 + $req->setParameter("format","image/png");
  807 +}
804 808 $oMap->owsdispatch($req);
805 809 $contenttype = ms_iostripstdoutbuffercontenttype();
806 810 if(strtolower($request) == "getcapabilities"){
... ...