133 |
LOGGER.debug("Query contains the following attributes: " |
LOGGER.debug("Query contains the following attributes: " |
134 |
+ visibleAttrNames); |
+ visibleAttrNames); |
135 |
|
|
136 |
query = new DefaultQuery(schema.getTypeName(), filter, |
|
137 |
properties); |
/** |
138 |
|
* I got NPEs when properties contained only [the_geom] ?!??!!?? |
139 |
|
*/ |
140 |
|
if (properties.length > 1) { |
141 |
|
query = new DefaultQuery(schema.getTypeName(), filter, |
142 |
|
properties); |
143 |
|
} else { |
144 |
|
query = new DefaultQuery(schema.getTypeName(), filter); |
145 |
|
} |
146 |
} |
} |
147 |
fc = fs.getFeatures(query); |
fc = fs.getFeatures(query); |
148 |
} |
} |