Hi 

I'm building an openlayers map to be served up by GeoServer my layers
consist of a Postgis Base layer and one or many other postgis vector layers
created using SQL viewparams from the same PostGis table and a on the fly
vector layer.

If i have one viewparams layer when i click on the map i can display the
attribution of that layer.

How ever if i add more than one  viewparams layers an error similar to 3
layers selected but 2 veiwparams occurs when you click on the map.

Is it possible to do this? 

My openlayers code is generated from a perl script the code below is the
result of right click View Page Source. 

<html xmlns="http://www.w3.org/1999/xhtml";>
  <head>
        <link rel="stylesheet"
type="text/css"href="http://localhost:8080/geoserver/openlayers/theme/default/style.css"/>
        <link rel="stylesheet" type="text/css"
href="http://localhost:8080/geoserver/www/scale/scalebar-fat.css"/>
        
        

        </style>
    

    
    
  </head>

  <body onload="init()">
    
OpenLayers PostGis Layers

    <DIV id=layerswitcher class=olControlLayerSwitcher></DIV>
    <div id="map"></div>

        <div id="wrapper">
        <div id="location">location</div>
        <div id="scale">        </div>
        <div id=scalebar></div>
    </div>
    <div id="nodelist">
    </div>
  </body>

</html>



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/OpenLayers-GetFeatureInfo-Error-in-Geoserver-tp4917494p4917494.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to