[mapserver-users] Accessing WFS- Service: unexpected output (junk?)

Feinen, Jörg Dr.J.Feinen at Kreis-Offenbach.de
Wed Apr 3 22:43:09 PDT 2019


Hi all,

i´m quite a noob to WFS and now trying to access a wfs-service (see Mapfile). In QGIS it works well, so service seems ok.
As you can see in this mapfile, we tried a lot - but it didnt succeed.

Any help ?

jörg

(i searched the archive for this error - nothing found)
-------------error
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 7.2.2 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=SVGCAIRO SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msDrawMap(): Image handling error. Failed to draw layer named 'BIOTOPE'.
msWFSLayerWhichShapes(): WFS connection error. WFS request produced unexpected output (junk?) for layer BIOTOPE.
</BODY></HTML>
-----------mapfile
UNITS Meters
CONFIG 'PROJ_LIB' '/proj/nad/'

SYMBOLSET '/nkat/symbols/symbols.sym'
FONTSET '/nkat/fonts/fonts.txt'
CONFIG 'MS_ERRORFILE' '/websys/ms_error.txt'
CONFIG 'CURL_CA_BUNDLE' '/ca-bundle.crt'
DEBUG OFF

IMAGETYPE png
IMAGECOLOR 255 255 255

  WEB
  IMAGEPATH "d:/cache/wfs/"
   IMAGEURL "d:/cache/wfs/"
    TEMPPATH "d:/cache/wfs/"
  END

OUTPUTFORMAT
  NAME 'png'
  DRIVER AGG/PNG
  MIMETYPE 'image/png'
  IMAGEMODE RGBA
  EXTENSION 'png'
  FORMATOPTION 'GAMMA=0.75'
  TRANSPARENT on
END
LAYER
  NAME BIOTOPE
  TYPE POLYGON
  STATUS default
  #CONNECTION "http://geodienste-umwelt.hessen.de/arcgis/services/inspire/bewirtschaftungsgebiete/MapServer/WFSServer?"
  CONNECTION "http://geodienste-umwelt.hessen.de/arcgis/services/inspire/lebensraeume_biotope/MapServer/WFSServer?"
  CONNECTIONTYPE WFS
  METADATA
                              #"wfs_typename"          'inspire_bewirtschaftungsgebiete:TWS_HQS_TK25'
                              "wfs_typename"  "inspire_lebensraeume_biotope:BIOTOPE"
                              "wfs_request_method" "POST"
        "wfs_service" "WFS"
                              "wfs_version"           "1.0.0"
                              "wfs_connectiontimeout" "60"
                              "wfs_maxfeatures"       "10"
                              #"wfs_onlineresource"  "http://geodienste-umwelt.hessen.de/arcgis/services/inspire/bewirtschaftungsgebiete/MapServer/WFSServer?"
                   "wfs_onlineresource"  "http://geodienste-umwelt.hessen.de/arcgis/services/inspire/lebensraeume_biotope/MapServer/WFSServer?"
                              "wfs_enable_request"   "*"
                              "wfs_title"            "TARPO Local Priority Projects"  ## REQUIRED
                              "wfs_srs"              "EPSG:25832"  ##
  END

  PROJECTION
    "init=epsg:25832"
  END
  CLASS
  #  NAME  "inspire_bewirtschaftungsgebiete:TWS_HQS_TK25"
  NAME  "BIOTOPE"
    STYLE
      COLOR 255 128 128
      OUTLINECOLOR 96 96 96
    END
  END
END # Layer











-----------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190404/9c0587a2/attachment.html>


More information about the mapserver-users mailing list