Hi All, Mapserver is 5.4.1 under Ubuntu 8.10, compiled after ./configure --with-oci --with-oraclespatial=/usr/local/instantclient_11_1 --with-proj --with-threads --with-gdal --with-ogr --with-jpeg --with-png=/usr/lib --with-php=/usr/include/php5 --with-wmsclient --with-wfsclient --with-fastcgi=/usr --with-wfs
I try to use Mapserver WFS to query features by = operator. The problem is altough the feature is found and returned, the attributes are missing. The DescribeFeature request http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=blokk2009&OUTPUTFORMAT=XMLSCHEMA returns <schema targetNamespace="http://mapserver.gis.umn.edu/mapserver" elementFormDefault="qualified" version="0.1"> <import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/2.1.2/feature.xsd"/> <element name="blokk2009" type="ms:blokk2009Type" substitutionGroup="gml:_Feature"/> <complexType name="blokk2009Type"> <complexContent> <extension base="gml:AbstractFeatureType"> <sequence> <element name="msGeometry" type="gml:GeometryPropertyType" minOccurs="0" maxOccurs="1"/> </sequence> </extension> </complexContent> </complexType> </schema> as far as I know, attributes should be described in the <sequence> tag. My mapfile is (without other layers) MAP NAME BLOKKNEZ STATUS ON SIZE 650 500 # xmin ymin xmax ymax? EXTENT 420000 40000 950000 370000 UNITS METERS PROJECTION "init=epsg:23700" END SHAPEPATH "." IMAGECOLOR 200 200 200 IMAGETYPE png32 FONTSET fonts.txt DEBUG 5 CONFIG "MS_ERRORFILE" "/var/log/mapserver-5.4.1/error.txt" CONFIG "ON_MISSING_DATA" "LOG" WEB MINSCALEDENOM 10000 MAXSCALEDENOM 1000000 IMAGEPATH "/tmp" IMAGEURL "/tmp" LOG "/var/log/mapserver-5.4.1/ms_error.txt" METADATA "wms_title" "Blokkhatar nezegeto" "wfs_title" "Blokkhatar nezegeto" "wms_onlineresource" "http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?" "wfs_onlineresource" "http://att-it.homelinux.net:22080/cgi-bin/ms-5.4.1/blokknez.fcgi?" "wms_srs" "EPSG:23700" "wfs_srs" "EPSG:23700" END END LEGEND IMAGECOLOR 255 255 255 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END SIZE 150 5 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 UNITS meters INTERVALS 5 STATUS ON END QUERYMAP STYLE HILITE COLOR 255 0 0 END OUTPUTFORMAT NAME png32 DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END LAYER PROCESSING "CLOSE_CONNECTION=DEFER" NAME blokk2009 METADATA "DESCRIPTION" "blokk 2009" "wms_title" "blokk 2009" "wfs_title" "blokk 2008" "ows_include_items" "all" "ows_extent" '426400 43800 937400 362900' "wfs_featureid" "tfotvbaz" END PROJECTION "init=epsg:23700" END TYPE POLYGON MINSCALEDENOM 999 MAXSCALEDENOM 200001 STATUS ON CONNECTIONTYPE oraclespatial CONNECTION "gis/gis@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=200.1.1.25)(PORT=1521)))(CONNECT_DATA=(SID=db2)))" DATA "bgeom from (SELECT bgeom,bloaz,bpter/10000.0 as bpterha,tfotvbaz FROM tfotvb where tolda = to_Date('20090303','YYYYMMDD')) using unique tfotvbaz SRID 23700" CLASS NAME "blokk2009" STYLE OUTLINECOLOR 55 55 255 END END DUMP TRUE TEMPLATE "template.html" DEBUG 5 END # layer blokk2009 END # Map File What is missing? Thank you in advance. Best regards: Balázs _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users