4

I am using Web Map Services (WMS) in Cesium Apps

.WebMapTileServiceImageryProvider

.WebMapServiceImageryProvider

However I cannot find any Cesium official reference to WFS or WFS-T services which I now need to start using.

I have visited this site regarding OpenLayers and Cesium integration:

ol-cesium

but no explicit reference to WFS services as such, only to 'vectors' examples (i.e. JSON).

Is there any implementation of the WFS standard for Cesium?

4
  • Just curious if you ever got anywhere with this? I have a GeoServer instance serving up some WFS stuff, and I'm shopping web globes. I like a lot about Cesium so far, but not being able to use WFS could be a problem. Thanks much!
    – Hildy
    Commented Dec 30, 2019 at 4:26
  • The only progress so far is to force the geoserver geometry output as 'json' in the WFS call, and you could use that within the Geojson class in Cesium. The problem is that the json output in Geoserver in this way it returns a file and it could be very, very large. This problem has been addressed by the Cesium developers by using a 'promise' -javascript language- approach which can deal with unresolved URLs and/or broken download links. But, still this is not by any means a proper WFS service. Commented Jan 3, 2020 at 16:52
  • @Web-GISentrepreneur your comment should probably be the answer
    – nmtoken
    Commented Feb 16, 2020 at 15:21
  • i don't think there is any WFS standar in Cesium so far. But you can resolve this by creating xmlHttp request with output format jsonp and parsing it using parse.JSON Commented Feb 18, 2020 at 23:36

1 Answer 1

0

If you use 'outputFormat=application/json' in the WFS call to Geoserver, the outfile could be used as source for the 'Geojson' class in Cesium. The problem is that the json file could be very, very large. Besides you can use CQL filters to make your geometry smaller. This problem has been addressed by the Cesium developers by using what is called a 'promise' -javascript language- which can deal with unresolved URLs and/or broken download links. But, still this is not by any means a proper WFS service.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.