[Fdo-trac] [fdo-trac] #998: WFS DescribeSchema fails on landvic service

FDO trac_fdo at osgeo.org
Fri Aug 26 06:32:53 PDT 2022


#998: WFS DescribeSchema fails on landvic service
--------------------------+------------------------
 Reporter:  jng           |        Owner:  jng
     Type:  defect        |       Status:  assigned
 Priority:  major         |    Milestone:  4.1.0
Component:  WFS Provider  |      Version:  4.1.0
 Severity:  3             |   Resolution:
 Keywords:                |  External ID:
--------------------------+------------------------
Comment (by jng):

 Found the problem.

 The cause is that the initial DescribeFeatureType response on the WFS
 service is *huge*.

 There are 652 (!!!) WFS layers and the provider is doing a subsequent
 request stitching together all 652 layer names to a GET request, clearly
 exceeding whatever natural limits for a URL.

 In such a case, the `FdoWfsDescribeFeatureType` http handler should be
 smarter and pivot to using a POST request if it is clear that stitching
 the GET request would produce a URL that exceeds 2000 characters.

 Similar logic should apply for the WMS equivalent operation as well.
-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/998#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list