ThinkGeo.com    |     Documentation    |     Premium Support

Hanling misbehaving WFS servers

USDA has a WFS service to get soil type polygons for an area.    However, when using your wfsFeatureLayer to get the available columns, the ObjectID column is listed twice.   Using the native http request, one can see that this column is indeed returned twice by the service.    I assume this is an error on their part, and we have notified them of this issue.   However, as expected... no response.


When we call the GetFeaturesInBoundingBox function on your wfsFeatureLayer, you throw an internal exception because of the duplicate column name... even when we ask to have no columns returned.


Could you consider an enhancement to the wfsFeatureLayer to be more forgiving of misbehaving WFS sources?   Trap for duplicate columns, etc?


The service is:   sdmdataaccess.nrcs.usda.gov/Spatial/SDMWGS84Geographic.wfs


Thanks!



Ted, 
  
 I have recreated your problem and fixed it, our daily build will generate new dll the next day, you can contact support@thinkgeo.com to request it, and the version would be 3.1.364. 
  
 The USDA server is not reliable, we encounter some trouble on it, it’s hard to test, fortunately we made it eventually. 
  
 Please let me know if you have more comments. 
  
 Thanks 
  
 James 


Wow!   Thank you, and thank you for your report on the server stability. 
  
 Sorry… I know you have to respond to my response in order to close the thread, but it needed to be said!

Ted, 
  
 You’re always welcome.  
  
 And don’t need to say sorry, it’s just very minor thing. I am happy that your response so quickly. 
  
 Please let me know if you find another problem. 
  
 James