eblondel / ows4R

R Interface for OGC Web-Services (OWS)
https://eblondel.github.io/ows4R/
Other
37 stars 8 forks source link

Error calling WFSClient$new #107

Closed bwcompton closed 1 year ago

bwcompton commented 1 year ago

I'm using the following call on a GeoServer:

library(ows4R)
request <- 'https://umassdsl.webgis1.com/geoserver/wfs?service=wfs&request=GetCapabilities'
info <- WFSClient$new(request, serviceVersion = '2.0.0', logger = 'DEBUG')

And I get this error:

Error in names(namespaces) <- rep("", length(namespaces)) : 
  attempt to set an attribute on NULL

Everything works fine when I use a different server. Pasting the request into the browser gives a whole lot of XML, so there's access. The server is on AcuGIS, running GeoServer WFS v. 1.0.0, 1.1.0, and 2.0.0. I get the error with all three versions.