<gml:null>missing</gml:null>

Christian Biggins cbiggins at NOGGIN.COM.AU
Mon Apr 16 20:21:20 PDT 2007


Hi Guys,

I was determined to get this running without asking for assistance, but as I
fall deeper into a realm of despair I find myself requiring the help of
people who know what they are doing.

I have setup MapServer on a CentOS box and I need it to only act as a WFS
server only. I have a spatial table in a MySQL db that has the information
required.

When I run ogrinfo -al on the test.ovf file with my db connection in it, it
returns the data (successfully?) Here is an example;

OGRFeature(blah):462
  ASTEXT(geometry) (String) = POINT(151.20387911797 -33.874637911661)

But, when I try to access it through the GetFeature service, I get bugger all. 

<gml:boundedBy>
<gml:null>missing</gml:null>
</gml:boundedBy>

This is the content of my map file;
NAME WFS_server
STATUS ON
SIZE 400 300
UNITS METERS
IMAGECOLOR 255 255 255
EXTENT -2000000000 -200000000 200000000 20000000000

WEB
        IMAGEPATH "/home/mapserver/fgs/tmp"
        IMAGEURL "/home/mapserver/fgs/tmp"
        METADATA
                "wfs_title"             "Cims WFS Test Server"
                "wfs_srs"               "EPSG:4283"
                "wfs_onlineresource"    "http://node1.ans/cgi-bin/mapserv?"
        END
END

PROJECTION

        "init=epsg:4283"

END

LAYER
        NAME cims
        METADATA
                "wfs_title"             "Cims"
                "wfs_typename"          "Cims"
                "gml_include_items"     "all"
                "wfs_service"           "wfs"
        END
        TYPE POLYGON
        EXTENT -2000000000 -200000000 200000000 20000000000
        STATUS DEFAULT
        CONNECTIONTYPE OGR
        CONNECTION "/home/mapserver/test.ovf"
        DATA cims
        DUMP TRUE
        PROJECTION
                "init=epsg:4283"
        END
        CLASS
                NAME "cims"
                        STYLE
                                SIZE 15
                                COLOR 0 255 0
                        END
        END
END
END

The EXTENT is only for testing. The epsg used is for Australia.

I'd love any assistance as its starting to send me nuts.

Christian



More information about the MapServer-users mailing list