Issue Type: Sub-task Sub-task
Assignee: Unassigned
Created: 09/Nov/12 5:52 AM
Description:

Layer queryable is defined in Table 6 Layer Attributes as:

  • attribute: queryable
  • allowed values: 0, false, 1, true
    & meaning: 0, false: layer is not queryable. 1, true: layer is queryable.

Reference OGC 06-042 WMS 1.3.0 page 30

However our code was only checking for "0" and "1".

Fixed with the following:

if (queryable != null) {
   if ("1".equals(queryable) || "true".equalsIgnoreCase(queryable)) {
      layer.setQueryable(true);
   } else if ("0".equals(queryable) || "false".equalsIgnoreCase(queryable)) {
      layer.setQueryable( false );
   }
}
Project: GeoTools
Priority: Major Major
Reporter: Jody Garnett
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to