thanks! This 'STATUS' parameter was the solution.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/2-layers-shown-when-1-requested-tp5083367p5084959.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapser
Behalf Of martijnvdp
> Sent: Monday, October 14, 2013 3:45 AM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] 2 layers shown when 1 requested
>
> Hello,
> I have a mapfile with several layers that use ogr resources. When
> I request
> 1 of these layers,
Hi,
"STATUS DEFAULT" means that the layer is forced to be on and Mapserver will
send it even you do not ask for it. Use STATUS ON instead.
-Jukka Rahkonen-
martijnvdp wrote:
> Hello,
> I have a mapfile with several layers that use ogr resources. When I request
> 1 of these layers, they retur
A nice quick way to test requesting a single layer is to use the shp2img
commandline utility and pass it the layer name with the "-l" switch.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2013-10-14 5:44 AM, martijnvdp wrote:
> Hello,
>
Hello,
I have a mapfile with several layers that use ogr resources. When I request
1 of these layers, they return a image with both the layers presented. Is
this a bug or am I doing something wrong in the mapfile?
This is the part of that mapfile:
..
..
#---
#
# layera
#-