Closed cbsemre closed 1 year ago
We do not provide support for VCS products like the VC Database here. Please contact the VCS support.
WFS-related issues should be posted in the WFS repository issue tracker: https://github.com/3dcitydb/web-feature-service/issues
In order to be able to help you, please open a new issue there and add more information:
WFS versions < 5.0.0 do not support ad-hoc query expressions but only stored query expressions (see v5.0.0. release notes). That's why you get the error message. Update to the latest version of the WFS.
Well, based on my previous answer, all WFS releases >= 5.0.0 support ad-hoc queries. As written above, I recommend using the latest release.
Hard to say what is going wrong at your side. I recommend following the installation guide: https://3dcitydb-docs.readthedocs.io/en/latest/wfs/index.html
As written in the error message, your request is missing the mandatory REQUEST parameter. The WFS standard is documented here: https://www.ogc.org/standard/wfs/
This does not make sense. The error message in your screenshot will only be sent if the database connection has been successfully established. Otherwise, the service will already fail with a message saying that the database connection could not be established.
Changes to the config.xml require to reload the WFS service (e.g. through the Tomcat Manager application when using Tomcat).
Please make sure to read the documentation. The WFS only supports querying top-level feature types: https://3dcitydb-docs.readthedocs.io/en/latest/wfs/functionality/basic.html#citygml-feature-types
Either your gml:id does not belong to a top-level feature type or there is no corresponding gml:id in your database.
It is stated that my building data will be queried in this section.
Great, then use a gml:id in your WFS query that exists in your database and that is associated with a building. And then you will get the building as response....
Why don't you simply ask the service to return the first building in the database for testing purposes?
<wfs:GetFeature service="WFS" version="2.0.0"
xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:bldg="http://www.opengis.net/citygml/building/2.0" count="1">
<wfs:Query typeNames="bldg:Building"/>
</wfs:GetFeature>
Please send this request to the WFS "http://localhost:8080/citydb-wfs/service/version" by copying this URL into your web browser.
/**