null values in GML
Mateusz Loskot
mateusz at LOSKOT.NET
Wed Dec 6 07:44:29 PST 2006
Bart van den Eijnden (OSGIS) wrote:
> Hi list,
>
> I have a strange phenomenon.
>
> A shape attribute table has some null values in it (column type
> Real), for instance:
>
> OGRFeature(nap_speciaal):856 pnt_pntid (String) = 000A2510 ..
> hgt_hgtwd (Real) = (null) .. POINT (122880 487860)
>
> Using Mapserver WFS I get the following GML output:
>
> <ms:pnt_pntid>000A2510</ms:pnt_pntid> ..
> <ms:hgt_hgtwd>************************</ms:hgt_hgtwd> ..
>
> Does anybody have an idea what is causing the sequence of asterisks?
Asterix is used to indicate NULL value in Shapefile attribute.
I'm completely not sure, but I suppose MS WFS driver does not handle
asterix as null but accepts it as a string value and puts into output GML.
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the MapServer-users
mailing list