|
Issue Type:
|
Bug
|
Affects Versions:
|
2.3.3
|
Assignee:
|
Andrea Aime
|
Created:
|
23/Jul/13 4:58 AM
|
Description:
|
It’s possible this is me just mis-understanding stuff badly.
This page: http://docs.geoserver.org/stable/en/user/filter/function_reference.html
Defines the “in2” to “in10” function.
I used it, but the problem is, it doesn’t work as I’d expect.
If I enter “in10” I expect it to require 10 arguements. However this actually fails with a TRACE level event:
2013-07-23 09:50:22,480 TRACE [org.geotools.filter] - Unable to create function in10Function
java.lang.IllegalArgumentException: Function in10 expected 11 arguments, got 10
So I ended up using “in9” for 10 arguments. This doesn’t make much sense. So I have the following which works but shouldn’t.
<ogc:Filter>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>OSMMSTYLE_NAME</ogc:PropertyName>
<ogc:Function name=“in9”>
<ogc:Literal>scatteredRocksPattern</ogc:Literal>
<ogc:Literal>heathPattern</ogc:Literal>
<ogc:Literal>screePattern</ogc:Literal>
<ogc:Literal>roughGrassAndScatteredBouldersPattern</ogc:Literal>
<ogc:Literal>roughGrassAndBouldersPattern</ogc:Literal>
<ogc:Literal>nonconiferousTreesAndScatteredRocksPattern</ogc:Literal>
<ogc:Literal>roughGrassAndRocksPattern</ogc:Literal>
<ogc:Literal>rocksRoughGrassAndBouldersPattern</ogc:Literal>
<ogc:Literal>coniferousTreesAndScatteredRocksPattern</ogc:Literal>
<ogc:Literal>roughGrassScatteredRocksAndHeathPattern</ogc:Literal>
</ogc:Function>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
|
Project:
|
GeoServer
|
Priority:
|
Major
|
Reporter:
|
Jonathan Moules
|
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](http://www.atlassian.com/software/jira)