[Qgis-user] WFS rendering issues

Richard Duivenvoorde rdmailings at duif.net
Fri Nov 19 00:48:01 PST 2021


Hi Paul,

Is this WFS by any chance (to make) public?

Because what you describe is funny, as Geoserver should return the same data (GML probably) as a WFS response, not depending on the (geoserver) datasource.

Another option to share: if you take the WFS-requests from the network logger, paste them in a browser, get the (gml) response and then share (with me or here) the GML that is returned by geoserver (would be nice to have all three versions).
Note that saving that gml to your disk QGIS(GDAL) should also be able to open it as GML vector data.

FYI: on one of my workplaces I have the Oracle/Geoserver/QGIS working for ages :-)

Silly maybe, but can it be a crs issue? Can you try to zoom to the oracle/mssql layers and see if they are on other parts of the world?

Regards,

Richard Duivenvoorde


On 11/18/21 5:56 PM, Paul Wittle wrote:
> Hi,
> 
>  
> 
> I wanted to load a WFS layer into QGIS and I’ve found that when using QGIS at work it will not work if the layer source is MSSQL or Oracle but is fine if the database source is PostGIS. Has anyone else had any experience of getting it to work for MSSQL?
> 
>  
> 
> I’m using GeoServer to serve up the WFS feed so to replicate you need to create a table with at least one multipolygon in MSSQL and connect it up as a layer in GeoServer; you then try to load it into the QGIS.
> 
>  
> 
> When I do this I find that QGIS loads it without error and the network logger shows everything working but nothing draws on the map and when I open the attribute table the correct number of records is show in the total but zero are actually in the table even when selecting all records.
> 
>  
> 
> If you have a working example I’d be grateful if you can point me in the right direction as perhaps I’m missing a step when setting up a table in MSSQL or perhaps creating the layer in GeoServer. I’m aware that this request may sound like a MSSQL or GeoServer issue but I think it is more about understanding what QGIS is expecting. It may be that I need to change something in the other applications but the key here is that as far as I can tell I’m getting valid WFS from GeoServer in all cases but QGIS is only drawing it if it comes from PostGIS.
> 
>  
> 
> This is using QGIS 3.16.x long term release.
> 
>  
> 
> Any hints would be gratefully received.
> 
> Thanks,
> 
> Paul
> 
> This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or
> otherwise supplied are free from computer viruses, Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/data-protection
> 
> _______________________________________________
> 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
> 



More information about the Qgis-user mailing list