Re: [Qgis-user] wfs problems
Hi Jonathan Thanks a lot for your answer. It was really something wrong in the configuartion of the server. Now it works fine. Cheers, Juerg Message: 5 Date: Sun, 2 Sep 2018 11:47:57 +0100 From: Jonathan Moules To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] wfs problems Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed Hi Juerg, I've looked into this and suspect the problem is actually with the configuration of the server. This URL gets the GetCapabilities document and works: https://map.geo.sz.ch/main/wsgi/mapserv_proxy?REQUEST=GetCapabilities=wfs If you look in the document you'll see that it's declaring the following URL as being for GetCapabilities: https://map.geo.sz.ch/main/mapserv?"/> https://map.geo.sz.ch/main/mapserv?"/> Note the lack of "_proxy". In fact, if you search the document the string "_proxy" doesn't appear anywhere. But if you try that declared URL, you get a 403 - Forbidden: https://map.geo.sz.ch/main/mapserv?REQUEST=GetCapabilities=wfs So I suspect (this is a guess) that QGIS 3 is trying to ("correctly") use the declared URLs for the services, whereas QGIS 2 was ignoring them and extrapolating them based on the base URL path. Which of these options is desirable is a tricky one - there are situations whether either work or don't. Unfortunately the service doesn't declare any contact information to tell the server operator to fix it. But maybe you can find an email on their web-page. Cheers, Jonathan On 29/08/2018 07:34, Juerg Lindauer wrote: > Hi > > I want to connect to a wfs with QGIS 3.2.2 on Win10. > > http://map.geo.sz.ch/main/wsgi/mapserv_proxy?REQUEST=GetCapabilities > > When i connect to the wfs, i get the layer list. But when i want to > put any layer to QGIS, i get the following error message: > > 2018-08-24T14:32:03 WARNING DescribeFeatureType Netzwerkanfrage schlug > für URL IgnoreAxisOrientation='1' srsname='EPSG:3857' > typename='ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck' > url='https://map.geo.sz.ch/main/wsgi/mapserv_proxy' > url='https://map.geo.sz.ch/main/wsgi/mapserv_proxy?REQUEST=GetCapabilities' > version='auto' table="" sql= fehl: Herunterladen des Objekttyps > gescheitert: Error transferring > https://map.geo.sz.ch/main/mapserv?SERVICE=WFS=DescribeFeatureType=2.0.0=ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck > - server replied: Forbidden > > 2018-08-24T14:32:03 WARNING Herunterladen des Objekttyps gescheitert: > Error transferring > https://map.geo.sz.ch/main/mapserv?SERVICE=WFS=DescribeFeatureType=2.0.0=ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck > - server replied: Forbidden > > I see that the URL in 'Error transferring' is different to the > connection URL. After /mapserv the string _proxy is missing. > In the earlier 2.18 Version the wfs connection is ok without troubles. > Is there a bug in 3.2.2 with connections they have an _ in the last part > of the URL? > Has anbody a hint? Other connections wfs works fine. I have the > problems only with the URL above. > > Regards, > Juerg > > > Amt für Landwirtschaft > Abt. Agrarmassnahmen und Bodenrecht > Hirschistrasse 15 > Postfach 5182 > 6431 Schwyz > Telefon: 041 819 15 17 > Telefax: 041 819 15 19 > E-Mail: juerg.linda...@sz.ch > Internet: www.sz.ch/landwirtschaft > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] wfs problems
Hi I want to connect to a wfs with QGIS 3.2.2 on Win10. http://map.geo.sz.ch/main/wsgi/mapserv_proxy?REQUEST=GetCapabilities When i connect to the wfs, i get the layer list. But when i want to put any layer to QGIS, i get the following error message: 2018-08-24T14:32:03 WARNING DescribeFeatureType Netzwerkanfrage schlug für URL IgnoreAxisOrientation='1' srsname='EPSG:3857' typename='ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck' url='https://map.geo.sz.ch/main/wsgi/mapserv_proxy' url='https://map.geo.sz.ch/main/wsgi/mapserv_proxy?REQUEST=GetCapabilities' version='auto' table="" sql= fehl: Herunterladen des Objekttyps gescheitert: Error transferring https://map.geo.sz.ch/main/mapserv?SERVICE=WFS=DescribeFeatureType=2.0.0=ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck - server replied: Forbidden 2018-08-24T14:32:03 WARNING Herunterladen des Objekttyps gescheitert: Error transferring https://map.geo.sz.ch/main/mapserv?SERVICE=WFS=DescribeFeatureType=2.0.0=ms:ch.sz.a018.amtliche_vermessung.liegenschaften.grundstueck - server replied: Forbidden I see that the URL in 'Error transferring' is different to the connection URL. After /mapserv the string _proxy is missing. In the earlier 2.18 Version the wfs connection is ok without troubles. Is there a bug in 3.2.2 with connections they have an _ in the last part of the URL? Has anbody a hint? Other connections wfs works fine. I have the problems only with the URL above. Regards, Juerg Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] qgis,bat starts with 2.18 instead 3.0
Hi I have two versions of qgis in my system (Win 10) installed. QGIS 2.18.15 and 3.0.1. To open a project file i use right-click and choose the specific batch file. After installing 3.0.1 the batch file 'C:\Program Files\QGIS 3.0\bin\qgis.bat' open the project file with QGIS 2.18.15. The content of qgis.bat ist: @echo off call "%~dp0\o4w_env.bat" call qt5_env.bat call py3_env.bat path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH% set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis set GDAL_FILENAME_IS_UTF8=YES rem Set VSI cache to be used as buffer, see #6448 set VSI_CACHE=TRUE set VSI_CACHE_SIZE=100 set QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\Qt5\plugins start "QGIS" /B "%OSGEO4W_ROOT%"\bin\qgis-bin-g7.4.0.exe %* How can i open the project file directly with the specific qgis Version? Thanks, Juerg Lindauer Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] print only two atlas features
Hi I've created an atlas with about 360 features. After printing them, i've found two maps with collided labling. When i change the properties of the labeling, is there a way to create only these two maps from the atlas? Without to print the whole atlas? Regards, Jürg Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] set layer not editable
Thanks Mathias. Because we had a plugin for 2.8 , we could not change to QGIS 2.16 or higher. Is there any possibility to set a layer not editable for a qgis (2.8.9) Project? Regards, Jürg Message: 4 Date: Wed, 2 Nov 2016 11:25:03 +0100 From: Matthias Kuhn <matth...@opengis.ch> To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] set layer not editable Message-ID: <824f80e6-2b43-b8f2-121b-e7bb11873...@opengis.ch> Content-Type: text/plain; charset=utf-8 Hi Jürg, Yes, this is available since QGIS 2.16 https://www.qgis.org/en/site/forusers/visualchangelog216/index.html#feature-make-readonly-mode-of-vector-layers-configurable-in-project Best regards Matthias On 11/02/2016 10:49 AM, Juerg Lindauer wrote: > Hi > > Is there a way to set a layer not editable for a qgis project? > > Thanks for any hint. > > Jürg Lindauer > > > Amt für Landwirtschaft > Abt. Agrarmassnahmen und Bodenrecht > Hirschistrasse 15 > Postfach 5182 > 6431 Schwyz > Telefon: 041 819 15 17 > Telefax: 041 819 15 19 > E-Mail: juerg.linda...@sz.ch > Internet: www.sz.ch/landwirtschaft > > > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] set layer not editable
Hi Is there a way to set a layer not editable for a qgis project? Thanks for any hint. Jürg Lindauer Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Map view is blank
Hi I have a problem with the map view. After a while i opend a qgis project, the map view was blinking and then the map view was blank. The message in the log was: 2016-09-06T08:57:48 1 Wald_Alpthal2016090608570869732445 :: Speicher reicht für Bild 1572x942 nicht aus The workaround is now to make the map view smaller. Then it work for while. But the behavior comes back, then i have to make again the map view smaller or to close the project file. I use Windows 7 32-bit with 4 GB RAM and QGIS 2.8.9. Has anybody a hint for me? To change my computer is not easy, because we have very strong internal restrictions. Jürg Lindauer Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Digitizing Tools Symbols lost
Hi After updating QGIS from 2.8.4 to 2.8.9 the symbols of Digitizing Tools are lost in the tool bar. You can use the functions, but the symbols are not showing. To reinstall the Digitizing Tools have not solved the problem. Has anybody an idea? Thanks, Jürg Lindauer ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Print composer,
Hi I'm trying to relabel the legend entries in the print composer. Normaly it works fine, but when the legend entry is categorized i'm not able to relabel some entries. I select the legend entry, push the button to edit the labelling. The window will be opened and i make the change. Closing the window with ok but nothing appears. Somtimes not the selected entry is changed but the entry above. Does anbody has a hint? Or is it bug? Thanks... Jürg QGIS 2.8.3 on Windows 7 Amt für Landwirtschaft Abt. Agrarmassnahmen und Bodenrecht Hirschistrasse 15 Postfach 5182 6431 Schwyz Telefon: 041 819 15 17 Telefax: 041 819 15 19 E-Mail: juerg.linda...@sz.ch Internet: www.sz.ch/landwirtschaft ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user