Epression and real with length variable

Jacolin Yves yjacolin at FREE.FR
Fri Sep 7 04:54:36 EDT 2007


Hi,

I am looking for a way to filter a feature using a field. At this time I used     
EXPRESSION ('[CODE11]' eq '1.00000000000'), CODE11 is a real field. So I 
manage this field as a character's one.

I received an update of this file and the lenght of the real change and I have 
to write : EXPRESSION ('[CODE11]' eq '1.00000000') (3 '0' shorter).

I would like to find a way to write something like EXPRESSION ('[CODE11]' 
eq '1') or so in order to update my shapefile easily without take care the 
number of the '0' after the comma.

Is there any way to realize this?

Regards,

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the mapserver-users mailing list