Commit 8b6b7fee958106396079255a6b451bef7d56c34e
1 parent
b5ba5f0c
Exists in
master
and in
7 other branches
Correção na definição do tipo de imagem na geração de WMS (fixado em PNG)
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
admin/php/editormapfile.php
... | ... | @@ -601,7 +601,7 @@ function pegaGeral() |
601 | 601 | function alterarGeral() |
602 | 602 | { |
603 | 603 | global $dir_tmp,$testar,$codigoMap,$codigoLayer,$locaplic,$name,$projection,$sizeunits,$status,$toleranceunits,$tolerance,$symbolscale,$opacity,$offsite,$minscale,$maxscale,$labelsizeitem,$labelminscale,$labelmaxscale,$labelitem,$group,$filteritem,$type,$filter; |
604 | - error_reporting(E_ALL); | |
604 | + error_reporting(0); | |
605 | 605 | $v = versao(); |
606 | 606 | $dados = array(); |
607 | 607 | ... | ... |
admin/php/parsemapfile.php
... | ... | @@ -298,7 +298,7 @@ function mapfile() |
298 | 298 | {$s = "default";} |
299 | 299 | $xml .= "<version>$v</version>"; |
300 | 300 | $xml .= "<srs>$e</srs>"; |
301 | - $xml .= "<format>$i</format>"; | |
301 | + $xml .= "<format>image/png</format>"; | |
302 | 302 | $xml .= "<style>$s</style>"; |
303 | 303 | $tagLegenda = ""; |
304 | 304 | } | ... | ... |