Code Monkey home page Code Monkey logo

Comments (12)

clausnagel avatar clausnagel commented on June 21, 2024

We do not provide support for VCS products like the VC Database here. Please contact the VCS support.

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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:

  1. What version of the 3DCityDB are you using?
  2. What version of the WFS are you using?
  3. What is the exact query that you have sent to the WFS?
  4. Please provide the config.xml of your WFS
  5. Please provide an excerpt of the dataset that you loaded into the 3DCityDB

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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.

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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.

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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

from importer-exporter.

BWibo avatar BWibo commented on June 21, 2024

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/

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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).

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

https://3dcitydb-docs.readthedocs.io/en/latest/wfs/functionality/get-feature.html#wfs-getfeature-operation-chapter

https://3dcitydb-docs.readthedocs.io/en/latest/wfs/wfs-web-client.html

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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.

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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....

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

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>

from importer-exporter.

clausnagel avatar clausnagel commented on June 21, 2024

Please send this request to the WFS "http://localhost:8080/citydb-wfs/service/version" by copying this URL into your web browser.

from importer-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.