-
I'm using the following call on a GeoServer:
And I get this error:
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @bwcompton the url should only be the base URL for the service, ie: Check this, it works: library(ows4R)
request <- 'https://umassdsl.webgis1.com/geoserver/wfs'
info <- WFSClient$new(request, serviceVersion = '2.0.0', logger = 'DEBUG')
#list feature types
fts = info$capabilities$getFeatureTypes(pretty = T)
#get features example
sf_test = info$getFeatures("ne:disputed_areas") BTW, note that although it would be recommended to use WFS version library(magrittr)
sf_test2 = sf::st_cast(sf_test, "GEOMETRYCOLLECTION") %>% sf::st_collection_extract("POLYGON") |
Beta Was this translation helpful? Give feedback.
Hello @bwcompton the url should only be the base URL for the service, ie:
https://umassdsl.webgis1.com/geoserver/wfs
or eventuallyhttps://umassdsl.webgis1.com/geoserver/ows?service=WFS
(using the global OWS - OGC Web Service -endpoint)Check this, it works:
BTW, note that although it would be recommended to use WFS version
2.0.0
, GML types MultiSurface (handled through WFS 2.0) are then not well support…