When I try to load a WfsFeatureTable from a WFS-Layer hosted on GeoServer, I didn't get Any error,but it Can't load wfs service correctly!
SDK Version: 100.15.2
Here is my wfs service url and tableName
http://47.114.126.208:5431/geoserver/tamp/ows?service=WFS&version=2.0.0&request=GetCapabilities
tableName = "tamp:pt_tamp_stake"
You would need to provide a call "populateFromServiceAsync" on the feature table to query the feature service and place the resulting features in the feature layer:
// create a query based on the current visible extent val wfsQuery = QueryParameters() wfsQuery.setGeometry(extent) // choose the spatial relationship used for the query wfsQuery.setSpatialRelationship(QueryParameters.SpatialRelationship.INTERSECTS) // populate the WFS feature table based on the given extent wfsFeatureTable.populateFromServiceAsync(wfsQuery, false, null)
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.