diff --git a/ogc.htm b/ogc.htm index 9a2a113..0a96af3 100644 --- a/ogc.htm +++ b/ogc.htm @@ -92,9 +92,10 @@ function ogc_endereco(botao) ins += "
"+servico; ins += "
Bookmark: "; ins += "
"; + ins += "
visualizar com openLayers"; - ins += "
download sahpefile via WFS"; + ins += "
download shapefile via WFS"; ins += "
download CSV via WFS"; if(!$i("panellistaarquivos")){ diff --git a/ogc.php b/ogc.php index 6e6af06..7b6d807 100644 --- a/ogc.php +++ b/ogc.php @@ -801,6 +801,10 @@ if(isset($OUTPUTFORMAT)){ } } ms_ioinstallstdouttobuffer(); +//verifica parametro outputformat +if(strtolower($req->getValueByName("REQUEST")) == "getmap" && $req->getValueByName("format") == ""){ + $req->setParameter("format","image/png"); +} $oMap->owsdispatch($req); $contenttype = ms_iostripstdoutbuffercontenttype(); if(strtolower($request) == "getcapabilities"){ -- libgit2 0.21.2