Let's say I have two WFS layers from different sources. Both layers have the same data structure and application schema.

Is there an open source software package like Geoserver that I can use to "merge" them into one WFS layer which other services can then consume?

I've looked at cascading WFS but it doesn't seem to be what I need.

  • Did you try setting up both WFS as Vector data sources (GeoServer), creating layers for them and then grouping the layers, not sure if it''l work, but probably worth a try. – nmtoken Jun 24 '15 at 12:39
  • @nmtoken Not yet. Isn't layer grouping just for WMS? – R.K. Jun 24 '15 at 14:32
  • Layers in general is a WMS thing, strictly WFS don't have any layers, just FeatureTypes, but in GeoServer and other software the configuration/gui just deals with layers. So it was just a thought that you might be able to approach your problem this way. However I did just try with a MapServer WMS/WFS service that has grouped WMS layers and see the WFS doesn't expose the grouped layer as a collective FeatureType :( – nmtoken Jun 24 '15 at 15:24
  • Just thinking about this a bit more, I can see a potential problem with merging on the fly, which would be the potential clash of gml:ids. The id's must be unique in a service response, but there would be no way of ensuring that two services didn't have the same ids. Compare min4eu.geologie.ac.at/m4eu/… with… for example. – nmtoken Jun 24 '15 at 15:42
  • @nmtoken Thanks for the info! I'm actually thinking of using a mediator but I don't know how to implement it. All I see are papers. – R.K. Jun 25 '15 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.