[Qgis-user] [QGIS-Server] WFS-T
Jonathan Moules
jonathan-lists at lightpear.com
Mon Feb 4 09:36:11 PST 2019
Hi,
Well, taking the error at face value, it seems to be complaining that
you have:
/REQUEST=Transaction/
in the URL. Which is odd because that's exactly what it should be
(looking at the 1.0.0 spec).
But at the bottom of your error, it says:
10:15:17 WARNING [9148]: Service WFS 1.0.0 not found, returning default
So I'd suggest that QGIS Server doesn't support transactions for WFS
1.0.0 (Transactions support is Optional). Except the QGIS docs say they
do support Transaction:
https://docs.qgis.org/2.8/en/docs/user_manual/working_with_ogc/ogc_server_support.html
- and WFS 1.0.0 seems to be the only version supported by QGIS so... are
the errors misleading? (I can't seem to readily find that page for QGIS
3.4).
The GetCapabilities of the server will tell you if it supports Transaction.
Maybe someone who knows QGIS Server (I'm just basing this reply off the
spec and your error) can comment.
Cheers,
Jonathan
On 2019-02-01 09:57, Bernhard Ströbl wrote:
> Hi all,
>
> I try to make an INSERT to QGIS-Server using WFS-T. But every insert
> fails with the server returning "Please check the value of the REQUEST
> parameter"
>
> This is the QGIS-server log output (anonymised):
>
> 10:15:17 INFO Server[9148]: ******************** New request
> ***************
> 10:15:17 INFO Server[9148]: SERVER_NAME***
> 10:15:17 INFO Server[9148]: REQUEST_URI/wms/pmt?SERVICE=WFS
> 10:15:17 INFO Server[9148]: REMOTE_ADDR10.***.***.**
> 10:15:17 INFO Server[9148]: CONTENT_TYPEtext/xml
> 10:15:17 INFO Server[9148]: HTTP_USER_AGENTMozilla/5.0 QGIS/3.4.3-Madeira
> 10:15:17 INFO Server[9148]: MAP:/var/www/wms/karten/pmt.qgs
> 10:15:17 INFO Server[9148]: REQUEST:Transaction
> 10:15:17 INFO Server[9148]: REQUEST_BODY:<Transaction
> xmlns="http://www.opengis.net/wfs" version="1.0.0" service="WFS"
> xsi:schemaLocation="http://www.qgis.org/gml
> https://pmt-map.jena.de:443/wms/pmt?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=1.0.0&TYPENAME=projekt_pt"
> xmlns:gml="http://www.opengis.net/gml"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Insert
> xmlns="http://www.opengis.net/wfs"><projekt_pt
> xmlns="http://www.qgis.org/gml"><geometry
> xmlns="http://www.qgis.org/gml"><gml:Point
> srsName="EPSG:25832"><gml:coordinates ts=" "
> cs=",">681077.95823665894567966,5643649.18793503474444151</gml:coordinates></gml:Point></geometry></projekt_pt></Insert></Transaction>
> 10:15:17 INFO Server[9148]: SCHEMALOCATION:http://www.qgis.org/gml
> https://pmt-map.jena.de:443/wms/pmt?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=1.0.0&TYPENAME=projekt_pt
>
> 10:15:17 INFO Server[9148]: SERVICE:WFS
> 10:15:17 INFO Server[9148]: VERSION:1.0.0
> 10:15:17 WARNING [9148]: Service WFS 1.0.0 not found, returning default
> 10:15:17 INFO Server[9148]: Request finished in 1 ms
>
> the apache error log says:
> QNetworkDiskCache::prepare() unable to open temporary file
>
> any help appreciated
>
> System: QGIS-Server 3.4.4 on Ubuntu/Apache, WFS-Client QGIS Desktop 3.4.3
>
> Bernhard
>
>
> __________ Information from ESET Mail Security, version of virus
> signature database 18802 (20190201) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190204/722f4fe9/attachment.html>
More information about the Qgis-user
mailing list