AW: [mapserver-users] problem with scientific notation in WFS field output

mapgeek dmail at digitalics.com
Thu Jan 29 04:50:16 EST 2009


Is this something you've had success with in the past? This was actually the
first thing I tried. It didn't work, and I believe the outcome was a 500
error. I guess I could give it another shot. 

I was using the Oracle to_char function, but maybe it got converted back
into a number somewhere downstream. I could add dashes (e.g.: 2008-01-15) to
make sure it is forcing the field type to string. The WFS docs for MapServer
say string comparison is not supported (
http://mapserver.org/ogc/filter_encoding.html
http://mapserver.org/ogc/filter_encoding.html  - see #3 at the bottom of the
page), so I didn't want to spend a bunch of time on this.

Interestingly, the default display for dates starts with the hour, followed
by the date. I was able to use comparison filters, even though the docs say
it won't work. It would select records that occurred earlier or later in the
day, ignoring the date. There was a method to the madness, but definitely
not what I was after!!!


-- 
View this message in context: http://n2.nabble.com/problem-with-scientific-notation-in-WFS-field-output-tp2236793p2237958.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list