Commit 3199bfe34285c03934048324c913bde15689cf45

Authored by Edmar Moretti
1 parent 7725f5a6

Seta o LAYER com STATUS ms_default em ogc.php

Showing 2 changed files with 4 additions and 1 deletions   Show diff stats
@@ -496,6 +496,9 @@ else{ @@ -496,6 +496,9 @@ else{
496 if($temai3geo == false){ 496 if($temai3geo == false){
497 $l->set("status",MS_OFF); 497 $l->set("status",MS_OFF);
498 } 498 }
  499 + else{
  500 + $l->set("status",MS_DEFAULT);
  501 + }
499 $l->setmetadata("ows_title",pegaNome($l)); 502 $l->setmetadata("ows_title",pegaNome($l));
500 $l->setmetadata("ows_srs",$listaepsg); 503 $l->setmetadata("ows_srs",$listaepsg);
501 $l->set("group",""); 504 $l->set("group","");
temas/testewms.map
@@ -24,7 +24,7 @@ LAYER @@ -24,7 +24,7 @@ LAYER
24 END # METADATA 24 END # METADATA
25 NAME "testewms" 25 NAME "testewms"
26 OFFSITE 255 255 255 26 OFFSITE 255 255 255
27 - STATUS DEFAULT 27 + STATUS OFF
28 TILEITEM "location" 28 TILEITEM "location"
29 TYPE RASTER 29 TYPE RASTER
30 UNITS METERS 30 UNITS METERS