Commit 86f8bb7e8faddc43a1cc11a5936233510ee7c2a0
1 parent
fb4e3d21
Exists in
master
Opção em ogc.php para usar json
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ogc.php
... | ... | @@ -88,6 +88,9 @@ if(isset($_GET["outputFormat"]) && $_GET["outputFormat"] != ""){ |
88 | 88 | } |
89 | 89 | if(isset($_GET["outputformat"]) && $_GET["outputformat"] != ""){ |
90 | 90 | $_GET["OUTPUTFORMAT"] = $_GET["outputformat"]; |
91 | +} | |
92 | +if(strtolower($OUTPUTFORMAT) == "geojson"){ | |
93 | + $OUTPUTFORMAT = "json"; | |
91 | 94 | } |
92 | 95 | $cache = true; |
93 | 96 | require_once(dirname(__FILE__)."/classesphp/carrega_ext.php"); | ... | ... |