Commit 0ed2a2d8aeb0b5f98cb98806e5de5f634b10374a
1 parent
7313143f
Exists in
master
and in
7 other branches
Corrigido o item onlineresource no caso da função getcapabilities
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
ogc.php
| ... | ... | @@ -122,6 +122,8 @@ $oMap = ms_newMapobj("aplicmap/ogcws.map"); |
| 122 | 122 | $proto = "http" . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s" : "") . "://"; |
| 123 | 123 | $server = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME']; |
| 124 | 124 | $or = $proto.$server.$_SERVER['PHP_SELF']; |
| 125 | +if((isset($tema)) && ($tema != "") && ($tipo=="metadados")) | |
| 126 | +{$or = $or."tema=".$tema."&";} | |
| 125 | 127 | $oMap->setmetadata("ows_onlineresource",$or); |
| 126 | 128 | if (!isset($intervalo)) |
| 127 | 129 | {$intervalo = "0,50";} | ... | ... |