WFS Problems
Bart van den Eijnden
bartvde at XS4ALL.NL
Mon Nov 29 09:21:18 PST 2004
Hi,
could you try using a connection string without parameters. The typename
you set through metadata differs from the typename you specify in the
connection. The preferred way to do this now is to set all the variables
through the METADATA and not in the connection string.
CONNECTION "http://babyz.uni-muenster.de/wfs/WFS?"
Also, does your WFS server support HTTP POST requests?
Are there any error messages in your error logs? Is the gml actually being
downloaded to the tmp directory?
Best regards,
Bart
On Mon, 29 Nov 2004 16:56:13 +0100, K. Lessing <umn at KARSTEN-LESSING.DE>
wrote:
> Dear List member,
>
> I am new with the work on mapserver as wfs-client.
> I am running Mapserver 4.2.5. with the support of all necessary
> libraries on
> Suse 9.1.
> I read the How2 instruction page for setting up an WFS-Layer.
> Unfortunatelly it does not work.
> Does anybody maybe have a clue what could be wrong?
> Please have a look on the following map file.
>
> thanx beforehand
> K. Lessing
>
>
> MAP
> NAME "wfs_client"
> SIZE 500 700
> IMAGECOLOR 50 50 50
> EXTENT 9000 5500000 1000000 5600000
> STATUS ON
> PROJECTION
> "init=epsg:32632"
> END
>
> WEB
> TEMPLATE "template5.html"
> IMAGEPATH "/srv/www/htdocs/tmp/"
> IMAGEURL "/tmp/"
> END
>
> OUTPUTFORMAT
> NAME "Farbenfroh"
> DRIVER "GDAL/JPEG"
> MIMETYPE "image/jpeg"
> IMAGEMODE RGB
> EXTENSION "jpeg"
> END
>
> LAYER
> NAME "WaterLevel"
> TYPE LINE
> STATUS DEFAULT
> CONNECTION
> "http://babyz.uni-muenster.de/wfs/WFS?SERVICE=WFS&VERSION=1.0.0&Typename=WLIS_UTM32&"
> CONNECTIONTYPE WFS
> PROJECTION
> "init=epsg:32632"
> END
> METADATA
> "wfs_version" "1.0.0"
> "wfs_typename" "bafg2"
> "wfs_service" "WFS"
> "wfs_connectiontimeout" "60"
> "wfs_latlonboundingbox" "9000 5500000 1000000 5600000"
> "wfs_latlonboundingbox" "4.608 46.879 9.725 52.077"
> END
> CLASSITEM "lineId"
> CLASS
> EXPRESSION '124.0'
> Color 200 200 200
> END
> END
> END
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the MapServer-users
mailing list