Hi,

 

   I'd like to use Openlayers to make a new WMS layer using a CQL_FILTER.
This is what I have so far.  Could someone help me with the syntax?

 

   var us_states = new OpenLayers.Layer.WMS(

       "US States",

       "/geoserver/wms?",

       {

          layers: 'SUA:schedule',

          srs: 'EPSG:4326',

          format: 'image/png8',

          cql_filter: 'airspace_type="A"',

          tiled: 'true',

          transparent: true

       },

       {

             'isBaseLayer': false, 'wrapDateLine': true

       }

    );

 

Thanks,
Jim

 

Jim Meyer

Java Programmer

ConceptSolutions, LLC

    We Make Business Intelligent

703.889.8434 [desk]

703.391.9041[fax]

www.Concept-Solutions.com

 

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to