Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-22 Thread martijnvdp
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. ___

[mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread martijnvdp
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

Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread Jeff McKenna
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, I

Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread Rahkonen Jukka
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 return a

Re: [mapserver-users] 2 layers shown when 1 requested

2013-10-17 Thread Basques, Bob (CI-StPaul)
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, they return a image with both the layers