[QGIS-Developer] WFS DescribeFeatureType Compliance question

Marco Bernasocchi marco at opengis.ch
Thu Feb 28 02:08:29 PST 2019


Hi Andreas,
On 27.02.19 13:50, Andreas Neumann wrote:
>
> Hi Even,
>
> We tried to add the qgs namespace as a prefix:
>
> qgs:alias
>
> in the DescribeFeatureType response.
>
> Unfortunately it didn't make Geomedia happy. But as you said - that
> depends how it is coded.
>
I just realized that we didn't try removing the attribute to see if that
would make geomedia happy. Just made a quick push:

https://github.com/mbernasocchi/QGIS/tree/wfs_no_aliases

> I also asked them what we should do with the alias attribute. Let's
> see what they respond.
>
> Thanks,
>
> Andreas
>
Cheers

Marco

>
> On 2019-02-27 10:59, Even Rouault wrote:
>
>> On mercredi 27 février 2019 10:39:02 CET Andreas Neumann wrote:
>>> Hi,
>>>
>>> We are trying to connect Geomedia Desktop 2018 to our QGIS 3.6 WFS
>>> Server - but fail.
>>>
>>> Geomedia complains about the extra "alias" attributes in the
>>> DescribeFeatureType response:
>>>
>>> See also our temporary URL:
>>>
>>> http://linnode3.geo.zg.ch:8080/ows/Gewaessernetz?SERVICE=WFS&REQUEST=Describ
>>> eFeatureType
>>>
>>>
>>> Questions:
>>>
>>>      * Is the "alias" element valid or invalid according to the WFS
>>> spec?
>>
>> It is invalid. The schema returned by the above requst doesn't validate
>> against the XML schema of XML schema :-) from
>> https://www.w3.org/2009/XMLSchema/XMLSchema.xsd
>>
>>>      * If yes, could we move the alias attribute to our own qgs
>>> namespace?
>>
>> Yes, using qgsextension:alias would validate XMLSchema.xsd as it has a
>> provision for extra attributes in another namespaces.
>> That doesn't mean that Geomedia would be ready for it though. Depends
>> on how
>> it is coded...
>>
>> Even
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-- 
Marco Bernasocchi
QGIS.org Co-chair
marco at opengis.ch <mailto:marco at opengis.ch>
+41 (0)79 467 24 70 <tel:+41794672470>

OPENGIS.ch Logo <https://www.opengis.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190228/bc8a2b2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6671 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190228/bc8a2b2c/attachment.png>


More information about the QGIS-Developer mailing list