Hi,

We are using geoserver v2.13. We have a database layer named RAWDWG_T with two 
associated styles named RAWDWG_SAJAT_OSZLOPSOR and RAWDWG_SAJAT_ALEPITMENY. 
The styles are not defining rule for all the features of the layer, so the 
styles also filter the content of the layers. 

The issue is that we request GetFeatureInfo to Geoserver with parameters:

LAYERS=RAWDWG_T,RAWDWG_T
QUERY_LAYERS=RAWDWG_T,RAWDWG_T
STYLES=RAWDWG_SAJAT_OSZLOPSOR,RAWDWG_SAJAT_ALEPITMENY

we only get the features filtered by RAWDWG_SAJAT_OSZLOPSOR but we get them 
twice. If we exchange the layers order we get only RAWDWG_SAJAT_ALEPITMENY 
twice as well. 
Is this a feature or a bug?

Thank you,
Laszlo


Combinations and results (result in text/html):
1.
LAYERS=RAWDWG_T,RAWDWG_T
QUERY_LAYERS=RAWDWG_T,RAWDWG_T
STYLES=RAWDWG_SAJAT_OSZLOPSOR,RAWDWG_SAJAT_ALEPITMENY

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1088286        1088286 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      
RAWDWG_T.1086761        1086761 OSZLOP  #FFFF00 1       332.966534225687        
4/7.0   LABEL           SO_RAWDWG_8559.dwg      
RAWDWG_T.1088161        1088161 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1088286        1088286 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      
RAWDWG_T.1086761        1086761 OSZLOP  #FFFF00 1       332.966534225687        
4/7.0   LABEL           SO_RAWDWG_8559.dwg      
RAWDWG_T.1088161        1088161 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      

2.
LAYERS=RAWDWG_T
QUERY_LAYERS=RAWDWG_T
STYLES=RAWDWG_SAJAT_OSZLOPSOR

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1088286        1088286 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      
RAWDWG_T.1086761        1086761 OSZLOP  #FFFF00 1       332.966534225687        
4/7.0   LABEL           SO_RAWDWG_8559.dwg      
RAWDWG_T.1088161        1088161 KABEL_LEG       #007F00 1                       
LINE            SO_RAWDWG_8559.dwg      

3.
LAYERS=RAWDWG_T
QUERY_LAYERS=RAWDWG_T
STYLES=RAWDWG_SAJAT_ALEPITMENY

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1027259        1027259 ALEP_CSO        #00FF00 1                       
LINE            SA_RAWDWG_8547.dwg      

4.
LAYERS=RAWDWG_T,RAWDWG_T
QUERY_LAYERS=RAWDWG_T,RAWDWG_T
STYLES=RAWDWG_SAJAT_ALEPITMENY,RAWDWG_SAJAT_OSZLOPSOR

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1027259        1027259 ALEP_CSO        #00FF00 1                       
LINE            SA_RAWDWG_8547.dwg      

RAWDWG_T
fid     RAWDWG_ID       LAYER   COLOR   SCALE   ROTATION        LABEL_TEXT      
TYPE    BLOCK   FILENAME        FILLCOLOR
RAWDWG_T.1027259        1027259 ALEP_CSO        #00FF00 1                       
LINE            SA_RAWDWG_8547.dwg      


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to