Skip to main content
Question

WFS in feature reader - Ignore GetFeature Error

  • October 15, 2019
  • 5 replies
  • 102 views

oliver.morris
Contributor
Forum|alt.badge.img+12

Hi, I have a feature reader pulling data back from a WFS

 

The Ignore get feature error is ticked.

 

Yet when I run the task I get the following error:

 

2019-10-15 10:21:38| 9.8| 0.0|ERROR |XML Parser error: 'Error in input dataset:'https://geoserver.xxx.com:443/geoserver-cluster/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=workspace%3Abasin_provinces&NAMESPACE=xmlns%28workspace%3Dworkspace%29&FILTER=%20%20%20%20%20%20%20%20%3Cogc%3AFilter%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cogc%3APropertyIsGreaterThan%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cogc%3APropertyName%3Echangedetect_date%3C%2Fogc%3APropertyName%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cogc%3ALiteral%3E20180101%3C%2Fogc%3ALiteral%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fogc%3APropertyIsGreaterThan%3E%0A%20%20%20%20%20%20%20%20%3C%2Fogc%3AFilter%3E' line:6 column:5763521 message:input ended before all started tags were ended; last tag started is 'gml:posList''

2019-10-15 10:21:38| 9.8| 0.0|ERROR |The XML Module halted on error, see the logfile for details

2019-10-15 10:21:38| 9.8| 0.0|ERROR |<WFS> An error occurred while reading a GetFeature response, to ignore the error and avoid losing the previously read features, set the WFS "Ignore GetFeature Error" parameter. Total features downloaded: '0'

2019-10-15 10:21:38| 9.8| 0.0|ERROR |A fatal error has occurred. Check the logfile above for details.

 

So even though it pulls back data it still fails and then doesn't pass any content to writer. The WFS works fine in QGIS and ArcMap so I don't think that is the issue.

 

If FME just ignoring the box that I ticked? Anyone else had this issue?

 

Many Thanks

Oliver

 

5 replies

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • October 15, 2019

From the documentation :

If checked, directs the reader to stop reading, rather than abort the translation, when encountering a WFS GetFeature error. When paging, this setting is helpful because features that are already fetched are not lost in a failed translation. 

 

Have you tried to increase the timeouts to see? if it helps? By doubling them for instance.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 15, 2019

Thanks but increading the timeouts dont appear to help. Will test with the regular reader to see if that helps.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • October 15, 2019

identical request made using reader versus feature reader. clearly a bug, reported to FME.

 

 


cjd111
Contributor
Forum|alt.badge.img+2
  • Contributor
  • February 24, 2021
oliver.morris wrote:

identical request made using reader versus feature reader. clearly a bug, reported to FME.

 

 

Hi @oliver.morris​, have you seen any update on this?

I just did the same test as you above using FME 2020.1 and got the same result; works with the reader errors with the feature reader.


oliver.morris
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • February 25, 2021
cjd111 wrote:

Hi @oliver.morris​, have you seen any update on this?

I just did the same test as you above using FME 2020.1 and got the same result; works with the reader errors with the feature reader.

@cjd111​ I havent head any more on this. It would be helpful to have the featurereader with the same functionality as the native reader.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings