It seems to be a bug isn't?
Do you want me to open an issue?


"Smith, Michael ERDC-RDE-CRREL-NH" <[email protected]> 
2015-05-19 12:24

A
"[email protected]" <[email protected]>
cc
"Rahkonen Jukka (MML)" <[email protected]>, 
MapserverList OSGEO <[email protected]>
Objet
Re: [mapserver-users] [EXTERNAL] Re: Mapserver 7+oracle - wfs getFeature 
with filter on numeric field






It looks like whats happening is that?s being converted into 3 Tokens and 
the oracle driver converts it into a number + comma + number. 

The tokenizer is not treating that value as a single value. 

Mike

From: "[email protected]" <[email protected]>
Date: Tuesday, May 19, 2015 at 11:44 AM
To: Michael Smith <[email protected]>
Cc: "Rahkonen Jukka (MML)" <[email protected]>, 
MapserverList OSGEO <[email protected]>
Subject: Re: [mapserver-users] [EXTERNAL] Re: Mapserver 7+oracle - wfs 
getFeature with filter on numeric field

here is the mapserver log with <ogc:PropertyIsEqualTo 
matchCase="true"><ogc:PropertyName>LONG_STAT</ogc:PropertyName><ogc:Literal>-61,8031</ogc:Literal></ogc:PropertyIsEqualTo>


msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: 
SELECT ID, NO_STAT_CLIM, NO_STAT_FADQ, NOM_STAT, LATI_STAT, LONG_STAT, 
ALTI_STAT, D_DEB, D_FIN, TIMB_MAJ, USAG_MAJ, rownum, GEOM_POIN FROM 
(select * FROM SMDVDP_STAT_METE WHERE EXTRACT(YEAR FROM D_DEB) = 2014) 
WHERE  ( LONG_STAT = -61.000000,8031.000000 )  AND SDO_FILTER( GEOM_POIN, 
MDSYS.SDO_GEOMETRY(2003, :srid, 
NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') 
= 'TRUE'


The problem is 
WHERE  ( LONG_STAT = -61.000000,8031.000000 )
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to