diff --git a/ogc.php b/ogc.php index 8546b8a..a6b58f4 100644 --- a/ogc.php +++ b/ogc.php @@ -88,6 +88,9 @@ if(isset($_GET["outputFormat"]) && $_GET["outputFormat"] != ""){ } if(isset($_GET["outputformat"]) && $_GET["outputformat"] != ""){ $_GET["OUTPUTFORMAT"] = $_GET["outputformat"]; +} +if(strtolower($OUTPUTFORMAT) == "geojson"){ + $OUTPUTFORMAT = "json"; } $cache = true; require_once(dirname(__FILE__)."/classesphp/carrega_ext.php"); -- libgit2 0.21.2