3dcitydb / web-feature-service

OGC Web Feature Service 2.0 interface for the 3D City Database
Apache License 2.0
30 stars 13 forks source link

Retrieving ADE elements using JSON output format #15

Closed RushiMUFC closed 1 month ago

RushiMUFC commented 1 month ago

Hi,

I am successfully able to retrieve ADE elements with WFS with output format as XML. Is this also possible with JSON? I tried but failed.

Thanks

clausnagel commented 1 month ago

Which ADE extension are you using?

RushiMUFC commented 1 month ago

Many thanks for your reply Claus ! I am using Energy ADE from https://github.com/3dcitydb/energy-ade-citydb.

XML endpoint: https://w2-8080.iaf-ex.hft-stuttgart.de/citydb-wfs/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=bldg:Building

JSON endpoint: https://w2-8080.iaf-ex.hft-stuttgart.de/citydb-wfs/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=bldg:Building&OUTPUTFORMAT=application/json

clausnagel commented 1 month ago

Thanks. ADE content is only exported in CityJSON format if CityJSON support has been implemented for the corresponding ADE extension.

Unfortunately, this is not the case for the Energy ADE extension that you are using.

RushiMUFC commented 1 month ago

I got it; thank you so much for your feedback!