Giter VIP home page Giter VIP logo

Comments (12)

SPlanzer avatar SPlanzer commented on September 20, 2024

This seems to just affect the latest versions of QGIS 2.

a user provided the below.

2018-12-13T10:36:18    1    GetCapabilities failed for url https://data.linz.govt.nz/services;key=<KEY>/wfs?SERVICE=wfs&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=data.linz.govt.nz:layer-50221: unexpected end of file

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

Python console tests

QGIS 2.18.17

uri = 'https://data.linz.govt.nz/services;key=<API_KRY>/wfs?SERVICE=wfs&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=data.linz.govt.nz:layer-50221'

layer=QgsVectorLayer(uri, 'test', 'WFS')
layer.isValid()
True

QGIS 2.18.26

uri = 'https://data.linz.govt.nz/services;key=<API_KEY>/wfs?SERVICE=wfs&VERSION=2.0.0&REQUEST=GetFeature&TYPENAME=data.linz.govt.nz:layer-50221'

layer=QgsVectorLayer(uri, 'test', 'WFS')
layer.isValid()
QGIS HANGINGS!!!

😕

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

Potentially an issue with the change >>> https://github.com/qgis/QGIS/compare/final-2_18_20..final-2_18_21#diff-7f83d21b1d3b1afc39d33a7c9560cb59R439

from linz-data-importer.

palmerj avatar palmerj commented on September 20, 2024

I'd raise a bug on issues.qgis.org with test case and then raise a QGIS-Developer mail message as well

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

Thanks for chiming in.

Thats the plan, I will do that right now. I did really want to test it with other WFS2 services that are not koordinates implemented. I have not found the ideal services to do this. Any recommendations?

Most I have come across do not implement typeNames as per the spec. i,e they still use typeName`

For example:
should be WFS2 http://giswebservices.massgis.state.ma.us/geoserver/wfs?request=getcapabilities

But they use 'typename'
http://giswebservices.massgis.state.ma.us/geoserver/wfs?service=WFS&version=2.0.0&request=GetFeature&typename=massgis:GISDATA.PATHWAYS_ARC_M219

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

issue opened against qgis project https://issues.qgis.org/issues/20808

from linz-data-importer.

stale avatar stale commented on September 20, 2024

This issue has been automatically marked as stale as there has not been any activity for sometime. The issue will be closed in 5 days if no further activity.

from linz-data-importer.

stale avatar stale commented on September 20, 2024

Closed by Stale Bot due to no activity on issue.

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

still an issue

from linz-data-importer.

stale avatar stale commented on September 20, 2024

This issue has been automatically marked as stale as there has not been any activity for sometime. The issue will be closed in 5 days if no further activity.

from linz-data-importer.

SPlanzer avatar SPlanzer commented on September 20, 2024

QGIS devs do not plan to fix this. see - https://issues.qgis.org/issues/20808

from linz-data-importer.

palmerj avatar palmerj commented on September 20, 2024

Pushes us closer to having to make the jump with 2.18 now EOL

from linz-data-importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.